[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-ncc":3,"mdc-monhc-key":36,"related-repo-openai-ncc":1501,"related-org-openai-ncc":1619},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"ncc","bundle Node.js modules with ncc","Expert guidance for @vercel\u002Fncc — a simple CLI for compiling Node.js modules into a single file with all dependencies included. Use when bundling serverless functions, CLI tools, or any Node.js project into a self-contained file.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"Vercel","vercel",{"name":20,"slug":21,"type":15},"Node.js","node-js",{"name":23,"slug":24,"type":15},"Serverless","serverless",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-04-06T18:40:45.653823",null,465,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fvercel\u002Fskills\u002Fncc","---\nname: ncc\ndescription: 'Expert guidance for @vercel\u002Fncc — a simple CLI for compiling Node.js modules into a single file with all dependencies included. Use when bundling serverless functions, CLI tools, or any Node.js project into a self-contained file.'\nmetadata:\n  priority: 4\n  docs:\n    - \"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fncc\"\n  pathPatterns: []\n  importPatterns:\n    - '@vercel\u002Fncc'\n  bashPatterns:\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fncc\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fncc\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fncc\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*@vercel\u002Fncc\\b'\n    - '\\bncc\\s+build\\b'\n---\n\n# @vercel\u002Fncc — Node.js Compiler Collection\n\nYou are an expert in `@vercel\u002Fncc`, Vercel's simple CLI for compiling a Node.js module into a single file, together with all its dependencies.\n\n## Overview\n\nncc bundles a Node.js application and all of its `node_modules` into a single output file. This is ideal for:\n- **Serverless functions** — deploy a single file instead of `node_modules`\n- **CLI tools** — distribute a self-contained executable\n- **Docker images** — reduce image size by eliminating `node_modules`\n\n## Installation\n\n```bash\nnpm install -g @vercel\u002Fncc\n\n# Or as a dev dependency\nnpm install --save-dev @vercel\u002Fncc\n```\n\n## Basic Usage\n\n```bash\n# Compile index.js into dist\u002Findex.js\nncc build input.js -o dist\u002F\n\n# Watch mode for development\nncc build input.js -o dist\u002F -w\n\n# Run directly without writing to disk\nncc run input.js\n```\n\n## CLI Options\n\n| Flag | Description |\n|---|---|\n| `-o, --out [dir]` | Output directory (default: `dist`) |\n| `-m, --minify` | Minify the output |\n| `-s, --source-map` | Generate source maps |\n| `-a, --asset-builds` | Build nested JS assets recursively |\n| `-e, --external [mod]` | Keep module as external (don't bundle) |\n| `-w, --watch` | Watch mode — rebuild on changes |\n| `-t, --transpile-only` | Skip TypeScript type checking |\n| `--license [file]` | Output licenses to a file |\n| `-q, --quiet` | Suppress non-error output |\n| `--no-cache` | Skip the build cache |\n| `--no-asset-builds` | Skip nested JS asset builds |\n\n## package.json Integration\n\n```json\n{\n  \"scripts\": {\n    \"build\": \"ncc build src\u002Findex.ts -o dist\u002F -m\",\n    \"build:watch\": \"ncc build src\u002Findex.ts -o dist\u002F -w\",\n    \"start\": \"node dist\u002Findex.js\"\n  },\n  \"devDependencies\": {\n    \"@vercel\u002Fncc\": \"^0.38.0\"\n  }\n}\n```\n\n## TypeScript Support\n\nncc natively supports TypeScript — no separate `tsc` step needed:\n\n```bash\n# Compiles TypeScript directly\nncc build src\u002Findex.ts -o dist\u002F\n\n# Skip type checking for faster builds\nncc build src\u002Findex.ts -o dist\u002F -t\n```\n\nncc uses the project's `tsconfig.json` automatically.\n\n## Externals\n\nKeep specific modules out of the bundle (useful for native modules or optional dependencies):\n\n```bash\n# Single external\nncc build input.js -e aws-sdk\n\n# Multiple externals\nncc build input.js -e aws-sdk -e sharp\n```\n\nFor serverless environments where the runtime provides certain modules (like AWS Lambda's `aws-sdk`), mark them as external.\n\n## Static Assets\n\nncc handles non-JS assets (`.json`, `.node`, binary files) by copying them to the output directory alongside the compiled JS file. They are referenced correctly at runtime.\n\n## Common Patterns\n\n### Serverless Function Bundling\n\n```bash\n# Build a minimal serverless handler\nncc build api\u002Fhandler.ts -o .output\u002F -m --no-cache\n```\n\n### CLI Tool Distribution\n\n```json\n{\n  \"bin\": \"dist\u002Findex.js\",\n  \"scripts\": {\n    \"prepublishOnly\": \"ncc build src\u002Findex.ts -o dist\u002F -m\"\n  }\n}\n```\n\n### GitHub Actions\n\n```bash\n# Bundle a GitHub Action into a single file\nncc build src\u002Findex.ts -o dist\u002F -m --license licenses.txt\n```\n\nGitHub Actions require all dependencies bundled — ncc is the recommended bundler for custom JS\u002FTS actions.\n\n## Key Points\n\n1. **Single-file output** — all dependencies inlined, no `node_modules` needed at runtime\n2. **TypeScript native** — compiles `.ts` files directly using the project's `tsconfig.json`\n3. **No config file** — entirely driven by CLI flags\n4. **Asset handling** — non-JS files are automatically copied to the output directory\n5. **Use externals for native modules** — binary `.node` modules often need to be external\n6. **Source maps for debugging** — use `-s` flag to generate `.js.map` files\n7. **Watch mode for dev** — use `-w` for fast iteration during development\n\n## Official Resources\n\n- [ncc GitHub](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fncc)\n- [Vercel Blog — ncc Introduction](https:\u002F\u002Fgithub.com\u002Fvercel\u002Fncc)\n",{"data":37,"body":51},{"name":4,"description":6,"metadata":38},{"priority":39,"docs":40,"pathPatterns":42,"importPatterns":43,"bashPatterns":45},4,[41],"https:\u002F\u002Fgithub.com\u002Fvercel\u002Fncc",[],[44],"@vercel\u002Fncc",[46,47,48,49,50],"\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fncc\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fncc\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*@vercel\u002Fncc\\b","\\byarn\\s+add\\s+[^\\n]*@vercel\u002Fncc\\b","\\bncc\\s+build\\b",{"type":52,"children":53},"root",[54,63,77,84,97,143,149,228,234,356,362,585,591,831,837,850,932,945,951,956,1044,1057,1063,1084,1090,1097,1147,1153,1273,1279,1331,1336,1342,1466,1472,1495],{"type":55,"tag":56,"props":57,"children":59},"element","h1",{"id":58},"vercelncc-nodejs-compiler-collection",[60],{"type":61,"value":62},"text","@vercel\u002Fncc — Node.js Compiler Collection",{"type":55,"tag":64,"props":65,"children":66},"p",{},[67,69,75],{"type":61,"value":68},"You are an expert in ",{"type":55,"tag":70,"props":71,"children":73},"code",{"className":72},[],[74],{"type":61,"value":44},{"type":61,"value":76},", Vercel's simple CLI for compiling a Node.js module into a single file, together with all its dependencies.",{"type":55,"tag":78,"props":79,"children":81},"h2",{"id":80},"overview",[82],{"type":61,"value":83},"Overview",{"type":55,"tag":64,"props":85,"children":86},{},[87,89,95],{"type":61,"value":88},"ncc bundles a Node.js application and all of its ",{"type":55,"tag":70,"props":90,"children":92},{"className":91},[],[93],{"type":61,"value":94},"node_modules",{"type":61,"value":96}," into a single output file. This is ideal for:",{"type":55,"tag":98,"props":99,"children":100},"ul",{},[101,118,128],{"type":55,"tag":102,"props":103,"children":104},"li",{},[105,111,113],{"type":55,"tag":106,"props":107,"children":108},"strong",{},[109],{"type":61,"value":110},"Serverless functions",{"type":61,"value":112}," — deploy a single file instead of ",{"type":55,"tag":70,"props":114,"children":116},{"className":115},[],[117],{"type":61,"value":94},{"type":55,"tag":102,"props":119,"children":120},{},[121,126],{"type":55,"tag":106,"props":122,"children":123},{},[124],{"type":61,"value":125},"CLI tools",{"type":61,"value":127}," — distribute a self-contained executable",{"type":55,"tag":102,"props":129,"children":130},{},[131,136,138],{"type":55,"tag":106,"props":132,"children":133},{},[134],{"type":61,"value":135},"Docker images",{"type":61,"value":137}," — reduce image size by eliminating ",{"type":55,"tag":70,"props":139,"children":141},{"className":140},[],[142],{"type":61,"value":94},{"type":55,"tag":78,"props":144,"children":146},{"id":145},"installation",[147],{"type":61,"value":148},"Installation",{"type":55,"tag":150,"props":151,"children":156},"pre",{"className":152,"code":153,"language":154,"meta":155,"style":155},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npm install -g @vercel\u002Fncc\n\n# Or as a dev dependency\nnpm install --save-dev @vercel\u002Fncc\n","bash","",[157],{"type":55,"tag":70,"props":158,"children":159},{"__ignoreMap":155},[160,188,198,208],{"type":55,"tag":161,"props":162,"children":165},"span",{"class":163,"line":164},"line",1,[166,172,178,183],{"type":55,"tag":161,"props":167,"children":169},{"style":168},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[170],{"type":61,"value":171},"npm",{"type":55,"tag":161,"props":173,"children":175},{"style":174},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[176],{"type":61,"value":177}," install",{"type":55,"tag":161,"props":179,"children":180},{"style":174},[181],{"type":61,"value":182}," -g",{"type":55,"tag":161,"props":184,"children":185},{"style":174},[186],{"type":61,"value":187}," @vercel\u002Fncc\n",{"type":55,"tag":161,"props":189,"children":191},{"class":163,"line":190},2,[192],{"type":55,"tag":161,"props":193,"children":195},{"emptyLinePlaceholder":194},true,[196],{"type":61,"value":197},"\n",{"type":55,"tag":161,"props":199,"children":201},{"class":163,"line":200},3,[202],{"type":55,"tag":161,"props":203,"children":205},{"style":204},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[206],{"type":61,"value":207},"# Or as a dev dependency\n",{"type":55,"tag":161,"props":209,"children":210},{"class":163,"line":39},[211,215,219,224],{"type":55,"tag":161,"props":212,"children":213},{"style":168},[214],{"type":61,"value":171},{"type":55,"tag":161,"props":216,"children":217},{"style":174},[218],{"type":61,"value":177},{"type":55,"tag":161,"props":220,"children":221},{"style":174},[222],{"type":61,"value":223}," --save-dev",{"type":55,"tag":161,"props":225,"children":226},{"style":174},[227],{"type":61,"value":187},{"type":55,"tag":78,"props":229,"children":231},{"id":230},"basic-usage",[232],{"type":61,"value":233},"Basic Usage",{"type":55,"tag":150,"props":235,"children":237},{"className":152,"code":236,"language":154,"meta":155,"style":155},"# Compile index.js into dist\u002Findex.js\nncc build input.js -o dist\u002F\n\n# Watch mode for development\nncc build input.js -o dist\u002F -w\n\n# Run directly without writing to disk\nncc run input.js\n",[238],{"type":55,"tag":70,"props":239,"children":240},{"__ignoreMap":155},[241,249,276,283,291,321,329,338],{"type":55,"tag":161,"props":242,"children":243},{"class":163,"line":164},[244],{"type":55,"tag":161,"props":245,"children":246},{"style":204},[247],{"type":61,"value":248},"# Compile index.js into dist\u002Findex.js\n",{"type":55,"tag":161,"props":250,"children":251},{"class":163,"line":190},[252,256,261,266,271],{"type":55,"tag":161,"props":253,"children":254},{"style":168},[255],{"type":61,"value":4},{"type":55,"tag":161,"props":257,"children":258},{"style":174},[259],{"type":61,"value":260}," build",{"type":55,"tag":161,"props":262,"children":263},{"style":174},[264],{"type":61,"value":265}," input.js",{"type":55,"tag":161,"props":267,"children":268},{"style":174},[269],{"type":61,"value":270}," -o",{"type":55,"tag":161,"props":272,"children":273},{"style":174},[274],{"type":61,"value":275}," dist\u002F\n",{"type":55,"tag":161,"props":277,"children":278},{"class":163,"line":200},[279],{"type":55,"tag":161,"props":280,"children":281},{"emptyLinePlaceholder":194},[282],{"type":61,"value":197},{"type":55,"tag":161,"props":284,"children":285},{"class":163,"line":39},[286],{"type":55,"tag":161,"props":287,"children":288},{"style":204},[289],{"type":61,"value":290},"# Watch mode for development\n",{"type":55,"tag":161,"props":292,"children":294},{"class":163,"line":293},5,[295,299,303,307,311,316],{"type":55,"tag":161,"props":296,"children":297},{"style":168},[298],{"type":61,"value":4},{"type":55,"tag":161,"props":300,"children":301},{"style":174},[302],{"type":61,"value":260},{"type":55,"tag":161,"props":304,"children":305},{"style":174},[306],{"type":61,"value":265},{"type":55,"tag":161,"props":308,"children":309},{"style":174},[310],{"type":61,"value":270},{"type":55,"tag":161,"props":312,"children":313},{"style":174},[314],{"type":61,"value":315}," dist\u002F",{"type":55,"tag":161,"props":317,"children":318},{"style":174},[319],{"type":61,"value":320}," -w\n",{"type":55,"tag":161,"props":322,"children":324},{"class":163,"line":323},6,[325],{"type":55,"tag":161,"props":326,"children":327},{"emptyLinePlaceholder":194},[328],{"type":61,"value":197},{"type":55,"tag":161,"props":330,"children":332},{"class":163,"line":331},7,[333],{"type":55,"tag":161,"props":334,"children":335},{"style":204},[336],{"type":61,"value":337},"# Run directly without writing to disk\n",{"type":55,"tag":161,"props":339,"children":341},{"class":163,"line":340},8,[342,346,351],{"type":55,"tag":161,"props":343,"children":344},{"style":168},[345],{"type":61,"value":4},{"type":55,"tag":161,"props":347,"children":348},{"style":174},[349],{"type":61,"value":350}," run",{"type":55,"tag":161,"props":352,"children":353},{"style":174},[354],{"type":61,"value":355}," input.js\n",{"type":55,"tag":78,"props":357,"children":359},{"id":358},"cli-options",[360],{"type":61,"value":361},"CLI Options",{"type":55,"tag":363,"props":364,"children":365},"table",{},[366,385],{"type":55,"tag":367,"props":368,"children":369},"thead",{},[370],{"type":55,"tag":371,"props":372,"children":373},"tr",{},[374,380],{"type":55,"tag":375,"props":376,"children":377},"th",{},[378],{"type":61,"value":379},"Flag",{"type":55,"tag":375,"props":381,"children":382},{},[383],{"type":61,"value":384},"Description",{"type":55,"tag":386,"props":387,"children":388},"tbody",{},[389,415,432,449,466,483,500,517,534,551,568],{"type":55,"tag":371,"props":390,"children":391},{},[392,402],{"type":55,"tag":393,"props":394,"children":395},"td",{},[396],{"type":55,"tag":70,"props":397,"children":399},{"className":398},[],[400],{"type":61,"value":401},"-o, --out [dir]",{"type":55,"tag":393,"props":403,"children":404},{},[405,407,413],{"type":61,"value":406},"Output directory (default: ",{"type":55,"tag":70,"props":408,"children":410},{"className":409},[],[411],{"type":61,"value":412},"dist",{"type":61,"value":414},")",{"type":55,"tag":371,"props":416,"children":417},{},[418,427],{"type":55,"tag":393,"props":419,"children":420},{},[421],{"type":55,"tag":70,"props":422,"children":424},{"className":423},[],[425],{"type":61,"value":426},"-m, --minify",{"type":55,"tag":393,"props":428,"children":429},{},[430],{"type":61,"value":431},"Minify the output",{"type":55,"tag":371,"props":433,"children":434},{},[435,444],{"type":55,"tag":393,"props":436,"children":437},{},[438],{"type":55,"tag":70,"props":439,"children":441},{"className":440},[],[442],{"type":61,"value":443},"-s, --source-map",{"type":55,"tag":393,"props":445,"children":446},{},[447],{"type":61,"value":448},"Generate source maps",{"type":55,"tag":371,"props":450,"children":451},{},[452,461],{"type":55,"tag":393,"props":453,"children":454},{},[455],{"type":55,"tag":70,"props":456,"children":458},{"className":457},[],[459],{"type":61,"value":460},"-a, --asset-builds",{"type":55,"tag":393,"props":462,"children":463},{},[464],{"type":61,"value":465},"Build nested JS assets recursively",{"type":55,"tag":371,"props":467,"children":468},{},[469,478],{"type":55,"tag":393,"props":470,"children":471},{},[472],{"type":55,"tag":70,"props":473,"children":475},{"className":474},[],[476],{"type":61,"value":477},"-e, --external [mod]",{"type":55,"tag":393,"props":479,"children":480},{},[481],{"type":61,"value":482},"Keep module as external (don't bundle)",{"type":55,"tag":371,"props":484,"children":485},{},[486,495],{"type":55,"tag":393,"props":487,"children":488},{},[489],{"type":55,"tag":70,"props":490,"children":492},{"className":491},[],[493],{"type":61,"value":494},"-w, --watch",{"type":55,"tag":393,"props":496,"children":497},{},[498],{"type":61,"value":499},"Watch mode — rebuild on changes",{"type":55,"tag":371,"props":501,"children":502},{},[503,512],{"type":55,"tag":393,"props":504,"children":505},{},[506],{"type":55,"tag":70,"props":507,"children":509},{"className":508},[],[510],{"type":61,"value":511},"-t, --transpile-only",{"type":55,"tag":393,"props":513,"children":514},{},[515],{"type":61,"value":516},"Skip TypeScript type checking",{"type":55,"tag":371,"props":518,"children":519},{},[520,529],{"type":55,"tag":393,"props":521,"children":522},{},[523],{"type":55,"tag":70,"props":524,"children":526},{"className":525},[],[527],{"type":61,"value":528},"--license [file]",{"type":55,"tag":393,"props":530,"children":531},{},[532],{"type":61,"value":533},"Output licenses to a file",{"type":55,"tag":371,"props":535,"children":536},{},[537,546],{"type":55,"tag":393,"props":538,"children":539},{},[540],{"type":55,"tag":70,"props":541,"children":543},{"className":542},[],[544],{"type":61,"value":545},"-q, --quiet",{"type":55,"tag":393,"props":547,"children":548},{},[549],{"type":61,"value":550},"Suppress non-error output",{"type":55,"tag":371,"props":552,"children":553},{},[554,563],{"type":55,"tag":393,"props":555,"children":556},{},[557],{"type":55,"tag":70,"props":558,"children":560},{"className":559},[],[561],{"type":61,"value":562},"--no-cache",{"type":55,"tag":393,"props":564,"children":565},{},[566],{"type":61,"value":567},"Skip the build cache",{"type":55,"tag":371,"props":569,"children":570},{},[571,580],{"type":55,"tag":393,"props":572,"children":573},{},[574],{"type":55,"tag":70,"props":575,"children":577},{"className":576},[],[578],{"type":61,"value":579},"--no-asset-builds",{"type":55,"tag":393,"props":581,"children":582},{},[583],{"type":61,"value":584},"Skip nested JS asset builds",{"type":55,"tag":78,"props":586,"children":588},{"id":587},"packagejson-integration",[589],{"type":61,"value":590},"package.json Integration",{"type":55,"tag":150,"props":592,"children":596},{"className":593,"code":594,"language":595,"meta":155,"style":155},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"scripts\": {\n    \"build\": \"ncc build src\u002Findex.ts -o dist\u002F -m\",\n    \"build:watch\": \"ncc build src\u002Findex.ts -o dist\u002F -w\",\n    \"start\": \"node dist\u002Findex.js\"\n  },\n  \"devDependencies\": {\n    \"@vercel\u002Fncc\": \"^0.38.0\"\n  }\n}\n","json",[597],{"type":55,"tag":70,"props":598,"children":599},{"__ignoreMap":155},[600,609,638,678,715,749,757,781,813,822],{"type":55,"tag":161,"props":601,"children":602},{"class":163,"line":164},[603],{"type":55,"tag":161,"props":604,"children":606},{"style":605},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[607],{"type":61,"value":608},"{\n",{"type":55,"tag":161,"props":610,"children":611},{"class":163,"line":190},[612,617,623,628,633],{"type":55,"tag":161,"props":613,"children":614},{"style":605},[615],{"type":61,"value":616},"  \"",{"type":55,"tag":161,"props":618,"children":620},{"style":619},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[621],{"type":61,"value":622},"scripts",{"type":55,"tag":161,"props":624,"children":625},{"style":605},[626],{"type":61,"value":627},"\"",{"type":55,"tag":161,"props":629,"children":630},{"style":605},[631],{"type":61,"value":632},":",{"type":55,"tag":161,"props":634,"children":635},{"style":605},[636],{"type":61,"value":637}," {\n",{"type":55,"tag":161,"props":639,"children":640},{"class":163,"line":200},[641,646,651,655,659,664,669,673],{"type":55,"tag":161,"props":642,"children":643},{"style":605},[644],{"type":61,"value":645},"    \"",{"type":55,"tag":161,"props":647,"children":648},{"style":168},[649],{"type":61,"value":650},"build",{"type":55,"tag":161,"props":652,"children":653},{"style":605},[654],{"type":61,"value":627},{"type":55,"tag":161,"props":656,"children":657},{"style":605},[658],{"type":61,"value":632},{"type":55,"tag":161,"props":660,"children":661},{"style":605},[662],{"type":61,"value":663}," \"",{"type":55,"tag":161,"props":665,"children":666},{"style":174},[667],{"type":61,"value":668},"ncc build src\u002Findex.ts -o dist\u002F -m",{"type":55,"tag":161,"props":670,"children":671},{"style":605},[672],{"type":61,"value":627},{"type":55,"tag":161,"props":674,"children":675},{"style":605},[676],{"type":61,"value":677},",\n",{"type":55,"tag":161,"props":679,"children":680},{"class":163,"line":39},[681,685,690,694,698,702,707,711],{"type":55,"tag":161,"props":682,"children":683},{"style":605},[684],{"type":61,"value":645},{"type":55,"tag":161,"props":686,"children":687},{"style":168},[688],{"type":61,"value":689},"build:watch",{"type":55,"tag":161,"props":691,"children":692},{"style":605},[693],{"type":61,"value":627},{"type":55,"tag":161,"props":695,"children":696},{"style":605},[697],{"type":61,"value":632},{"type":55,"tag":161,"props":699,"children":700},{"style":605},[701],{"type":61,"value":663},{"type":55,"tag":161,"props":703,"children":704},{"style":174},[705],{"type":61,"value":706},"ncc build src\u002Findex.ts -o dist\u002F -w",{"type":55,"tag":161,"props":708,"children":709},{"style":605},[710],{"type":61,"value":627},{"type":55,"tag":161,"props":712,"children":713},{"style":605},[714],{"type":61,"value":677},{"type":55,"tag":161,"props":716,"children":717},{"class":163,"line":293},[718,722,727,731,735,739,744],{"type":55,"tag":161,"props":719,"children":720},{"style":605},[721],{"type":61,"value":645},{"type":55,"tag":161,"props":723,"children":724},{"style":168},[725],{"type":61,"value":726},"start",{"type":55,"tag":161,"props":728,"children":729},{"style":605},[730],{"type":61,"value":627},{"type":55,"tag":161,"props":732,"children":733},{"style":605},[734],{"type":61,"value":632},{"type":55,"tag":161,"props":736,"children":737},{"style":605},[738],{"type":61,"value":663},{"type":55,"tag":161,"props":740,"children":741},{"style":174},[742],{"type":61,"value":743},"node dist\u002Findex.js",{"type":55,"tag":161,"props":745,"children":746},{"style":605},[747],{"type":61,"value":748},"\"\n",{"type":55,"tag":161,"props":750,"children":751},{"class":163,"line":323},[752],{"type":55,"tag":161,"props":753,"children":754},{"style":605},[755],{"type":61,"value":756},"  },\n",{"type":55,"tag":161,"props":758,"children":759},{"class":163,"line":331},[760,764,769,773,777],{"type":55,"tag":161,"props":761,"children":762},{"style":605},[763],{"type":61,"value":616},{"type":55,"tag":161,"props":765,"children":766},{"style":619},[767],{"type":61,"value":768},"devDependencies",{"type":55,"tag":161,"props":770,"children":771},{"style":605},[772],{"type":61,"value":627},{"type":55,"tag":161,"props":774,"children":775},{"style":605},[776],{"type":61,"value":632},{"type":55,"tag":161,"props":778,"children":779},{"style":605},[780],{"type":61,"value":637},{"type":55,"tag":161,"props":782,"children":783},{"class":163,"line":340},[784,788,792,796,800,804,809],{"type":55,"tag":161,"props":785,"children":786},{"style":605},[787],{"type":61,"value":645},{"type":55,"tag":161,"props":789,"children":790},{"style":168},[791],{"type":61,"value":44},{"type":55,"tag":161,"props":793,"children":794},{"style":605},[795],{"type":61,"value":627},{"type":55,"tag":161,"props":797,"children":798},{"style":605},[799],{"type":61,"value":632},{"type":55,"tag":161,"props":801,"children":802},{"style":605},[803],{"type":61,"value":663},{"type":55,"tag":161,"props":805,"children":806},{"style":174},[807],{"type":61,"value":808},"^0.38.0",{"type":55,"tag":161,"props":810,"children":811},{"style":605},[812],{"type":61,"value":748},{"type":55,"tag":161,"props":814,"children":816},{"class":163,"line":815},9,[817],{"type":55,"tag":161,"props":818,"children":819},{"style":605},[820],{"type":61,"value":821},"  }\n",{"type":55,"tag":161,"props":823,"children":825},{"class":163,"line":824},10,[826],{"type":55,"tag":161,"props":827,"children":828},{"style":605},[829],{"type":61,"value":830},"}\n",{"type":55,"tag":78,"props":832,"children":834},{"id":833},"typescript-support",[835],{"type":61,"value":836},"TypeScript Support",{"type":55,"tag":64,"props":838,"children":839},{},[840,842,848],{"type":61,"value":841},"ncc natively supports TypeScript — no separate ",{"type":55,"tag":70,"props":843,"children":845},{"className":844},[],[846],{"type":61,"value":847},"tsc",{"type":61,"value":849}," step needed:",{"type":55,"tag":150,"props":851,"children":853},{"className":152,"code":852,"language":154,"meta":155,"style":155},"# Compiles TypeScript directly\nncc build src\u002Findex.ts -o dist\u002F\n\n# Skip type checking for faster builds\nncc build src\u002Findex.ts -o dist\u002F -t\n",[854],{"type":55,"tag":70,"props":855,"children":856},{"__ignoreMap":155},[857,865,889,896,904],{"type":55,"tag":161,"props":858,"children":859},{"class":163,"line":164},[860],{"type":55,"tag":161,"props":861,"children":862},{"style":204},[863],{"type":61,"value":864},"# Compiles TypeScript directly\n",{"type":55,"tag":161,"props":866,"children":867},{"class":163,"line":190},[868,872,876,881,885],{"type":55,"tag":161,"props":869,"children":870},{"style":168},[871],{"type":61,"value":4},{"type":55,"tag":161,"props":873,"children":874},{"style":174},[875],{"type":61,"value":260},{"type":55,"tag":161,"props":877,"children":878},{"style":174},[879],{"type":61,"value":880}," src\u002Findex.ts",{"type":55,"tag":161,"props":882,"children":883},{"style":174},[884],{"type":61,"value":270},{"type":55,"tag":161,"props":886,"children":887},{"style":174},[888],{"type":61,"value":275},{"type":55,"tag":161,"props":890,"children":891},{"class":163,"line":200},[892],{"type":55,"tag":161,"props":893,"children":894},{"emptyLinePlaceholder":194},[895],{"type":61,"value":197},{"type":55,"tag":161,"props":897,"children":898},{"class":163,"line":39},[899],{"type":55,"tag":161,"props":900,"children":901},{"style":204},[902],{"type":61,"value":903},"# Skip type checking for faster builds\n",{"type":55,"tag":161,"props":905,"children":906},{"class":163,"line":293},[907,911,915,919,923,927],{"type":55,"tag":161,"props":908,"children":909},{"style":168},[910],{"type":61,"value":4},{"type":55,"tag":161,"props":912,"children":913},{"style":174},[914],{"type":61,"value":260},{"type":55,"tag":161,"props":916,"children":917},{"style":174},[918],{"type":61,"value":880},{"type":55,"tag":161,"props":920,"children":921},{"style":174},[922],{"type":61,"value":270},{"type":55,"tag":161,"props":924,"children":925},{"style":174},[926],{"type":61,"value":315},{"type":55,"tag":161,"props":928,"children":929},{"style":174},[930],{"type":61,"value":931}," -t\n",{"type":55,"tag":64,"props":933,"children":934},{},[935,937,943],{"type":61,"value":936},"ncc uses the project's ",{"type":55,"tag":70,"props":938,"children":940},{"className":939},[],[941],{"type":61,"value":942},"tsconfig.json",{"type":61,"value":944}," automatically.",{"type":55,"tag":78,"props":946,"children":948},{"id":947},"externals",[949],{"type":61,"value":950},"Externals",{"type":55,"tag":64,"props":952,"children":953},{},[954],{"type":61,"value":955},"Keep specific modules out of the bundle (useful for native modules or optional dependencies):",{"type":55,"tag":150,"props":957,"children":959},{"className":152,"code":958,"language":154,"meta":155,"style":155},"# Single external\nncc build input.js -e aws-sdk\n\n# Multiple externals\nncc build input.js -e aws-sdk -e sharp\n",[960],{"type":55,"tag":70,"props":961,"children":962},{"__ignoreMap":155},[963,971,996,1003,1011],{"type":55,"tag":161,"props":964,"children":965},{"class":163,"line":164},[966],{"type":55,"tag":161,"props":967,"children":968},{"style":204},[969],{"type":61,"value":970},"# Single external\n",{"type":55,"tag":161,"props":972,"children":973},{"class":163,"line":190},[974,978,982,986,991],{"type":55,"tag":161,"props":975,"children":976},{"style":168},[977],{"type":61,"value":4},{"type":55,"tag":161,"props":979,"children":980},{"style":174},[981],{"type":61,"value":260},{"type":55,"tag":161,"props":983,"children":984},{"style":174},[985],{"type":61,"value":265},{"type":55,"tag":161,"props":987,"children":988},{"style":174},[989],{"type":61,"value":990}," -e",{"type":55,"tag":161,"props":992,"children":993},{"style":174},[994],{"type":61,"value":995}," aws-sdk\n",{"type":55,"tag":161,"props":997,"children":998},{"class":163,"line":200},[999],{"type":55,"tag":161,"props":1000,"children":1001},{"emptyLinePlaceholder":194},[1002],{"type":61,"value":197},{"type":55,"tag":161,"props":1004,"children":1005},{"class":163,"line":39},[1006],{"type":55,"tag":161,"props":1007,"children":1008},{"style":204},[1009],{"type":61,"value":1010},"# Multiple externals\n",{"type":55,"tag":161,"props":1012,"children":1013},{"class":163,"line":293},[1014,1018,1022,1026,1030,1035,1039],{"type":55,"tag":161,"props":1015,"children":1016},{"style":168},[1017],{"type":61,"value":4},{"type":55,"tag":161,"props":1019,"children":1020},{"style":174},[1021],{"type":61,"value":260},{"type":55,"tag":161,"props":1023,"children":1024},{"style":174},[1025],{"type":61,"value":265},{"type":55,"tag":161,"props":1027,"children":1028},{"style":174},[1029],{"type":61,"value":990},{"type":55,"tag":161,"props":1031,"children":1032},{"style":174},[1033],{"type":61,"value":1034}," aws-sdk",{"type":55,"tag":161,"props":1036,"children":1037},{"style":174},[1038],{"type":61,"value":990},{"type":55,"tag":161,"props":1040,"children":1041},{"style":174},[1042],{"type":61,"value":1043}," sharp\n",{"type":55,"tag":64,"props":1045,"children":1046},{},[1047,1049,1055],{"type":61,"value":1048},"For serverless environments where the runtime provides certain modules (like AWS Lambda's ",{"type":55,"tag":70,"props":1050,"children":1052},{"className":1051},[],[1053],{"type":61,"value":1054},"aws-sdk",{"type":61,"value":1056},"), mark them as external.",{"type":55,"tag":78,"props":1058,"children":1060},{"id":1059},"static-assets",[1061],{"type":61,"value":1062},"Static Assets",{"type":55,"tag":64,"props":1064,"children":1065},{},[1066,1068,1074,1076,1082],{"type":61,"value":1067},"ncc handles non-JS assets (",{"type":55,"tag":70,"props":1069,"children":1071},{"className":1070},[],[1072],{"type":61,"value":1073},".json",{"type":61,"value":1075},", ",{"type":55,"tag":70,"props":1077,"children":1079},{"className":1078},[],[1080],{"type":61,"value":1081},".node",{"type":61,"value":1083},", binary files) by copying them to the output directory alongside the compiled JS file. They are referenced correctly at runtime.",{"type":55,"tag":78,"props":1085,"children":1087},{"id":1086},"common-patterns",[1088],{"type":61,"value":1089},"Common Patterns",{"type":55,"tag":1091,"props":1092,"children":1094},"h3",{"id":1093},"serverless-function-bundling",[1095],{"type":61,"value":1096},"Serverless Function Bundling",{"type":55,"tag":150,"props":1098,"children":1100},{"className":152,"code":1099,"language":154,"meta":155,"style":155},"# Build a minimal serverless handler\nncc build api\u002Fhandler.ts -o .output\u002F -m --no-cache\n",[1101],{"type":55,"tag":70,"props":1102,"children":1103},{"__ignoreMap":155},[1104,1112],{"type":55,"tag":161,"props":1105,"children":1106},{"class":163,"line":164},[1107],{"type":55,"tag":161,"props":1108,"children":1109},{"style":204},[1110],{"type":61,"value":1111},"# Build a minimal serverless handler\n",{"type":55,"tag":161,"props":1113,"children":1114},{"class":163,"line":190},[1115,1119,1123,1128,1132,1137,1142],{"type":55,"tag":161,"props":1116,"children":1117},{"style":168},[1118],{"type":61,"value":4},{"type":55,"tag":161,"props":1120,"children":1121},{"style":174},[1122],{"type":61,"value":260},{"type":55,"tag":161,"props":1124,"children":1125},{"style":174},[1126],{"type":61,"value":1127}," api\u002Fhandler.ts",{"type":55,"tag":161,"props":1129,"children":1130},{"style":174},[1131],{"type":61,"value":270},{"type":55,"tag":161,"props":1133,"children":1134},{"style":174},[1135],{"type":61,"value":1136}," .output\u002F",{"type":55,"tag":161,"props":1138,"children":1139},{"style":174},[1140],{"type":61,"value":1141}," -m",{"type":55,"tag":161,"props":1143,"children":1144},{"style":174},[1145],{"type":61,"value":1146}," --no-cache\n",{"type":55,"tag":1091,"props":1148,"children":1150},{"id":1149},"cli-tool-distribution",[1151],{"type":61,"value":1152},"CLI Tool Distribution",{"type":55,"tag":150,"props":1154,"children":1156},{"className":593,"code":1155,"language":595,"meta":155,"style":155},"{\n  \"bin\": \"dist\u002Findex.js\",\n  \"scripts\": {\n    \"prepublishOnly\": \"ncc build src\u002Findex.ts -o dist\u002F -m\"\n  }\n}\n",[1157],{"type":55,"tag":70,"props":1158,"children":1159},{"__ignoreMap":155},[1160,1167,1204,1227,1259,1266],{"type":55,"tag":161,"props":1161,"children":1162},{"class":163,"line":164},[1163],{"type":55,"tag":161,"props":1164,"children":1165},{"style":605},[1166],{"type":61,"value":608},{"type":55,"tag":161,"props":1168,"children":1169},{"class":163,"line":190},[1170,1174,1179,1183,1187,1191,1196,1200],{"type":55,"tag":161,"props":1171,"children":1172},{"style":605},[1173],{"type":61,"value":616},{"type":55,"tag":161,"props":1175,"children":1176},{"style":619},[1177],{"type":61,"value":1178},"bin",{"type":55,"tag":161,"props":1180,"children":1181},{"style":605},[1182],{"type":61,"value":627},{"type":55,"tag":161,"props":1184,"children":1185},{"style":605},[1186],{"type":61,"value":632},{"type":55,"tag":161,"props":1188,"children":1189},{"style":605},[1190],{"type":61,"value":663},{"type":55,"tag":161,"props":1192,"children":1193},{"style":174},[1194],{"type":61,"value":1195},"dist\u002Findex.js",{"type":55,"tag":161,"props":1197,"children":1198},{"style":605},[1199],{"type":61,"value":627},{"type":55,"tag":161,"props":1201,"children":1202},{"style":605},[1203],{"type":61,"value":677},{"type":55,"tag":161,"props":1205,"children":1206},{"class":163,"line":200},[1207,1211,1215,1219,1223],{"type":55,"tag":161,"props":1208,"children":1209},{"style":605},[1210],{"type":61,"value":616},{"type":55,"tag":161,"props":1212,"children":1213},{"style":619},[1214],{"type":61,"value":622},{"type":55,"tag":161,"props":1216,"children":1217},{"style":605},[1218],{"type":61,"value":627},{"type":55,"tag":161,"props":1220,"children":1221},{"style":605},[1222],{"type":61,"value":632},{"type":55,"tag":161,"props":1224,"children":1225},{"style":605},[1226],{"type":61,"value":637},{"type":55,"tag":161,"props":1228,"children":1229},{"class":163,"line":39},[1230,1234,1239,1243,1247,1251,1255],{"type":55,"tag":161,"props":1231,"children":1232},{"style":605},[1233],{"type":61,"value":645},{"type":55,"tag":161,"props":1235,"children":1236},{"style":168},[1237],{"type":61,"value":1238},"prepublishOnly",{"type":55,"tag":161,"props":1240,"children":1241},{"style":605},[1242],{"type":61,"value":627},{"type":55,"tag":161,"props":1244,"children":1245},{"style":605},[1246],{"type":61,"value":632},{"type":55,"tag":161,"props":1248,"children":1249},{"style":605},[1250],{"type":61,"value":663},{"type":55,"tag":161,"props":1252,"children":1253},{"style":174},[1254],{"type":61,"value":668},{"type":55,"tag":161,"props":1256,"children":1257},{"style":605},[1258],{"type":61,"value":748},{"type":55,"tag":161,"props":1260,"children":1261},{"class":163,"line":293},[1262],{"type":55,"tag":161,"props":1263,"children":1264},{"style":605},[1265],{"type":61,"value":821},{"type":55,"tag":161,"props":1267,"children":1268},{"class":163,"line":323},[1269],{"type":55,"tag":161,"props":1270,"children":1271},{"style":605},[1272],{"type":61,"value":830},{"type":55,"tag":1091,"props":1274,"children":1276},{"id":1275},"github-actions",[1277],{"type":61,"value":1278},"GitHub Actions",{"type":55,"tag":150,"props":1280,"children":1282},{"className":152,"code":1281,"language":154,"meta":155,"style":155},"# Bundle a GitHub Action into a single file\nncc build src\u002Findex.ts -o dist\u002F -m --license licenses.txt\n",[1283],{"type":55,"tag":70,"props":1284,"children":1285},{"__ignoreMap":155},[1286,1294],{"type":55,"tag":161,"props":1287,"children":1288},{"class":163,"line":164},[1289],{"type":55,"tag":161,"props":1290,"children":1291},{"style":204},[1292],{"type":61,"value":1293},"# Bundle a GitHub Action into a single file\n",{"type":55,"tag":161,"props":1295,"children":1296},{"class":163,"line":190},[1297,1301,1305,1309,1313,1317,1321,1326],{"type":55,"tag":161,"props":1298,"children":1299},{"style":168},[1300],{"type":61,"value":4},{"type":55,"tag":161,"props":1302,"children":1303},{"style":174},[1304],{"type":61,"value":260},{"type":55,"tag":161,"props":1306,"children":1307},{"style":174},[1308],{"type":61,"value":880},{"type":55,"tag":161,"props":1310,"children":1311},{"style":174},[1312],{"type":61,"value":270},{"type":55,"tag":161,"props":1314,"children":1315},{"style":174},[1316],{"type":61,"value":315},{"type":55,"tag":161,"props":1318,"children":1319},{"style":174},[1320],{"type":61,"value":1141},{"type":55,"tag":161,"props":1322,"children":1323},{"style":174},[1324],{"type":61,"value":1325}," --license",{"type":55,"tag":161,"props":1327,"children":1328},{"style":174},[1329],{"type":61,"value":1330}," licenses.txt\n",{"type":55,"tag":64,"props":1332,"children":1333},{},[1334],{"type":61,"value":1335},"GitHub Actions require all dependencies bundled — ncc is the recommended bundler for custom JS\u002FTS actions.",{"type":55,"tag":78,"props":1337,"children":1339},{"id":1338},"key-points",[1340],{"type":61,"value":1341},"Key Points",{"type":55,"tag":1343,"props":1344,"children":1345},"ol",{},[1346,1363,1386,1396,1406,1423,1449],{"type":55,"tag":102,"props":1347,"children":1348},{},[1349,1354,1356,1361],{"type":55,"tag":106,"props":1350,"children":1351},{},[1352],{"type":61,"value":1353},"Single-file output",{"type":61,"value":1355}," — all dependencies inlined, no ",{"type":55,"tag":70,"props":1357,"children":1359},{"className":1358},[],[1360],{"type":61,"value":94},{"type":61,"value":1362}," needed at runtime",{"type":55,"tag":102,"props":1364,"children":1365},{},[1366,1371,1373,1379,1381],{"type":55,"tag":106,"props":1367,"children":1368},{},[1369],{"type":61,"value":1370},"TypeScript native",{"type":61,"value":1372}," — compiles ",{"type":55,"tag":70,"props":1374,"children":1376},{"className":1375},[],[1377],{"type":61,"value":1378},".ts",{"type":61,"value":1380}," files directly using the project's ",{"type":55,"tag":70,"props":1382,"children":1384},{"className":1383},[],[1385],{"type":61,"value":942},{"type":55,"tag":102,"props":1387,"children":1388},{},[1389,1394],{"type":55,"tag":106,"props":1390,"children":1391},{},[1392],{"type":61,"value":1393},"No config file",{"type":61,"value":1395}," — entirely driven by CLI flags",{"type":55,"tag":102,"props":1397,"children":1398},{},[1399,1404],{"type":55,"tag":106,"props":1400,"children":1401},{},[1402],{"type":61,"value":1403},"Asset handling",{"type":61,"value":1405}," — non-JS files are automatically copied to the output directory",{"type":55,"tag":102,"props":1407,"children":1408},{},[1409,1414,1416,1421],{"type":55,"tag":106,"props":1410,"children":1411},{},[1412],{"type":61,"value":1413},"Use externals for native modules",{"type":61,"value":1415}," — binary ",{"type":55,"tag":70,"props":1417,"children":1419},{"className":1418},[],[1420],{"type":61,"value":1081},{"type":61,"value":1422}," modules often need to be external",{"type":55,"tag":102,"props":1424,"children":1425},{},[1426,1431,1433,1439,1441,1447],{"type":55,"tag":106,"props":1427,"children":1428},{},[1429],{"type":61,"value":1430},"Source maps for debugging",{"type":61,"value":1432}," — use ",{"type":55,"tag":70,"props":1434,"children":1436},{"className":1435},[],[1437],{"type":61,"value":1438},"-s",{"type":61,"value":1440}," flag to generate ",{"type":55,"tag":70,"props":1442,"children":1444},{"className":1443},[],[1445],{"type":61,"value":1446},".js.map",{"type":61,"value":1448}," files",{"type":55,"tag":102,"props":1450,"children":1451},{},[1452,1457,1458,1464],{"type":55,"tag":106,"props":1453,"children":1454},{},[1455],{"type":61,"value":1456},"Watch mode for dev",{"type":61,"value":1432},{"type":55,"tag":70,"props":1459,"children":1461},{"className":1460},[],[1462],{"type":61,"value":1463},"-w",{"type":61,"value":1465}," for fast iteration during development",{"type":55,"tag":78,"props":1467,"children":1469},{"id":1468},"official-resources",[1470],{"type":61,"value":1471},"Official Resources",{"type":55,"tag":98,"props":1473,"children":1474},{},[1475,1486],{"type":55,"tag":102,"props":1476,"children":1477},{},[1478],{"type":55,"tag":1479,"props":1480,"children":1483},"a",{"href":41,"rel":1481},[1482],"nofollow",[1484],{"type":61,"value":1485},"ncc GitHub",{"type":55,"tag":102,"props":1487,"children":1488},{},[1489],{"type":55,"tag":1479,"props":1490,"children":1492},{"href":41,"rel":1491},[1482],[1493],{"type":61,"value":1494},"Vercel Blog — ncc Introduction",{"type":55,"tag":1496,"props":1497,"children":1498},"style",{},[1499],{"type":61,"value":1500},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1502,"total":1618},[1503,1522,1538,1550,1568,1588,1606],{"slug":1504,"name":1504,"fn":1505,"description":1506,"org":1507,"tags":1508,"stars":25,"repoUrl":26,"updatedAt":1521},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1509,1512,1515,1518],{"name":1510,"slug":1511,"type":15},"Accessibility","accessibility",{"name":1513,"slug":1514,"type":15},"Charts","charts",{"name":1516,"slug":1517,"type":15},"Data Visualization","data-visualization",{"name":1519,"slug":1520,"type":15},"Design","design","2026-06-30T19:00:57.102",{"slug":1523,"name":1523,"fn":1524,"description":1525,"org":1526,"tags":1527,"stars":25,"repoUrl":26,"updatedAt":1537},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1528,1531,1534],{"name":1529,"slug":1530,"type":15},"Agents","agents",{"name":1532,"slug":1533,"type":15},"Browser Automation","browser-automation",{"name":1535,"slug":1536,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":1539,"name":1539,"fn":1540,"description":1541,"org":1542,"tags":1543,"stars":25,"repoUrl":26,"updatedAt":1549},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1544,1545,1548],{"name":1532,"slug":1533,"type":15},{"name":1546,"slug":1547,"type":15},"Local Development","local-development",{"name":1535,"slug":1536,"type":15},"2026-04-06T18:41:17.526867",{"slug":1551,"name":1551,"fn":1552,"description":1553,"org":1554,"tags":1555,"stars":25,"repoUrl":26,"updatedAt":1567},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1556,1557,1560,1563,1564],{"name":1529,"slug":1530,"type":15},{"name":1558,"slug":1559,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":1561,"slug":1562,"type":15},"SDK","sdk",{"name":23,"slug":24,"type":15},{"name":1565,"slug":1566,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":1569,"name":1569,"fn":1570,"description":1571,"org":1572,"tags":1573,"stars":25,"repoUrl":26,"updatedAt":1587},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1574,1577,1580,1583,1586],{"name":1575,"slug":1576,"type":15},"Frontend","frontend",{"name":1578,"slug":1579,"type":15},"React","react",{"name":1581,"slug":1582,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":1584,"slug":1585,"type":15},"UI Components","ui-components",{"name":17,"slug":18,"type":15},"2026-04-06T18:40:59.619419",{"slug":1589,"name":1589,"fn":1590,"description":1591,"org":1592,"tags":1593,"stars":25,"repoUrl":26,"updatedAt":1605},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1594,1597,1600,1603,1604],{"name":1595,"slug":1596,"type":15},"AI Infrastructure","ai-infrastructure",{"name":1598,"slug":1599,"type":15},"Cost Optimization","cost-optimization",{"name":1601,"slug":1602,"type":15},"LLM","llm",{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},"2026-04-06T18:40:44.377464",{"slug":1607,"name":1607,"fn":1608,"description":1609,"org":1610,"tags":1611,"stars":25,"repoUrl":26,"updatedAt":1617},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1612,1613,1616],{"name":1598,"slug":1599,"type":15},{"name":1614,"slug":1615,"type":15},"Database","database",{"name":1601,"slug":1602,"type":15},"2026-04-06T18:41:08.513425",600,{"items":1620,"total":1817},[1621,1642,1665,1682,1698,1715,1734,1746,1760,1774,1786,1801],{"slug":1622,"name":1622,"fn":1623,"description":1624,"org":1625,"tags":1626,"stars":1639,"repoUrl":1640,"updatedAt":1641},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1627,1630,1633,1636],{"name":1628,"slug":1629,"type":15},"Documents","documents",{"name":1631,"slug":1632,"type":15},"Healthcare","healthcare",{"name":1634,"slug":1635,"type":15},"Insurance","insurance",{"name":1637,"slug":1638,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":1643,"name":1643,"fn":1644,"description":1645,"org":1646,"tags":1647,"stars":1662,"repoUrl":1663,"updatedAt":1664},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1648,1651,1653,1656,1659],{"name":1649,"slug":1650,"type":15},".NET","dotnet",{"name":1652,"slug":1643,"type":15},"ASP.NET Core",{"name":1654,"slug":1655,"type":15},"Blazor","blazor",{"name":1657,"slug":1658,"type":15},"C#","csharp",{"name":1660,"slug":1661,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":1666,"name":1666,"fn":1667,"description":1668,"org":1669,"tags":1670,"stars":1662,"repoUrl":1663,"updatedAt":1681},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1671,1674,1677,1680],{"name":1672,"slug":1673,"type":15},"Apps SDK","apps-sdk",{"name":1675,"slug":1676,"type":15},"ChatGPT","chatgpt",{"name":1678,"slug":1679,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":1683,"name":1683,"fn":1684,"description":1685,"org":1686,"tags":1687,"stars":1662,"repoUrl":1663,"updatedAt":1697},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1688,1691,1694],{"name":1689,"slug":1690,"type":15},"API Development","api-development",{"name":1692,"slug":1693,"type":15},"CLI","cli",{"name":1695,"slug":1696,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":1699,"name":1699,"fn":1700,"description":1701,"org":1702,"tags":1703,"stars":1662,"repoUrl":1663,"updatedAt":1714},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1704,1707,1710,1711],{"name":1705,"slug":1706,"type":15},"Cloudflare","cloudflare",{"name":1708,"slug":1709,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":1558,"slug":1559,"type":15},{"name":1712,"slug":1713,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":1716,"name":1716,"fn":1717,"description":1718,"org":1719,"tags":1720,"stars":1662,"repoUrl":1663,"updatedAt":1733},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1721,1724,1727,1730],{"name":1722,"slug":1723,"type":15},"Productivity","productivity",{"name":1725,"slug":1726,"type":15},"Project Management","project-management",{"name":1728,"slug":1729,"type":15},"Strategy","strategy",{"name":1731,"slug":1732,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":1735,"name":1735,"fn":1736,"description":1737,"org":1738,"tags":1739,"stars":1662,"repoUrl":1663,"updatedAt":1745},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1740,1741,1743,1744],{"name":1519,"slug":1520,"type":15},{"name":1742,"slug":1735,"type":15},"Figma",{"name":1575,"slug":1576,"type":15},{"name":1678,"slug":1679,"type":15},"2026-04-12T05:06:47.939943",{"slug":1747,"name":1747,"fn":1748,"description":1749,"org":1750,"tags":1751,"stars":1662,"repoUrl":1663,"updatedAt":1759},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1752,1753,1756,1757,1758],{"name":1519,"slug":1520,"type":15},{"name":1754,"slug":1755,"type":15},"Design System","design-system",{"name":1742,"slug":1735,"type":15},{"name":1575,"slug":1576,"type":15},{"name":1584,"slug":1585,"type":15},"2026-05-10T05:59:52.971881",{"slug":1761,"name":1761,"fn":1762,"description":1763,"org":1764,"tags":1765,"stars":1662,"repoUrl":1663,"updatedAt":1773},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1766,1767,1768,1771,1772],{"name":1519,"slug":1520,"type":15},{"name":1754,"slug":1755,"type":15},{"name":1769,"slug":1770,"type":15},"Documentation","documentation",{"name":1742,"slug":1735,"type":15},{"name":1575,"slug":1576,"type":15},"2026-05-16T06:07:47.821474",{"slug":1775,"name":1775,"fn":1776,"description":1777,"org":1778,"tags":1779,"stars":1662,"repoUrl":1663,"updatedAt":1785},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1780,1781,1782,1783,1784],{"name":1519,"slug":1520,"type":15},{"name":1742,"slug":1735,"type":15},{"name":1575,"slug":1576,"type":15},{"name":1584,"slug":1585,"type":15},{"name":1660,"slug":1661,"type":15},"2026-05-16T06:07:40.583615",{"slug":1787,"name":1787,"fn":1788,"description":1789,"org":1790,"tags":1791,"stars":1662,"repoUrl":1663,"updatedAt":1800},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1792,1795,1796,1799],{"name":1793,"slug":1794,"type":15},"Animation","animation",{"name":1695,"slug":1696,"type":15},{"name":1797,"slug":1798,"type":15},"Creative","creative",{"name":1519,"slug":1520,"type":15},"2026-05-02T05:31:48.48485",{"slug":1802,"name":1802,"fn":1803,"description":1804,"org":1805,"tags":1806,"stars":1662,"repoUrl":1663,"updatedAt":1816},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1807,1808,1809,1812,1815],{"name":1797,"slug":1798,"type":15},{"name":1519,"slug":1520,"type":15},{"name":1810,"slug":1811,"type":15},"Image Generation","image-generation",{"name":1813,"slug":1814,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675]