Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
7
- `Sources/`: Core library modules (ESM) and TypeScript typings (`index.d.ts`). Tests live beside code under `Sources/**/test/`.
Sign in to like and favorite skills
Sources/: Core library modules (ESM) and TypeScript typings (index.d.ts). Tests live beside code under Sources/**/test/.Examples/: Runnable examples (index.js, optional controlPanel.html, index.md).Utilities/: Build, example runner, data converters, CI helpers.Documentation/: Doc generation config and scripts (uses kw-doc).patches/: patch-package patches applied during build:pre.npm run build:release: Lints, then builds ESM and UMD to dist/.npm run dev:umd / npm run dev:esm: Watch builds for local development.npm test: Run Karma test suite; npm run test:headless for CI.npm run lint / npm run lint-fix: Lint (Airbnb + Prettier) and auto-fix.npm run example: Serve examples; example:webgpu enables WebGPU (WEBGPU=1 NO_WEBGL=1).prettier.config.js).npm run lint before PRs.camelCase for variables/functions, PascalCase for classes. Module layout follows Sources/<Area>/<Component>/index.js (+ index.d.ts).karma-coverage and nyc (targets Sources/**/*.js).Sources/**/test/*.js. Use descriptive filenames (e.g., testImageWindowLevel.js).npm test, npm run test:firefox, npm run test:debug.npm run commit.Rendering, Filters, Core).npm run lint, npm run typecheck, npm run test:headless..d.ts and docs when changing APIs.Utilities/DataGenerator.