scaffold-cli

Installation
SKILL.md

Scaffold CLI

Scaffold a production-ready TypeScript CLI project (Node 22+) with ESM modules, a dual build (CLI binary plus typed library), automated changeset releases, and an agent skill definition.

  • IS: bootstrapping a brand-new TypeScript CLI or npm package from the pinned templates in references/.
  • IS NOT: a Next.js web app (use scaffold-nextjs), folder structure or module contracts for an existing codebase (use define-architecture), or shipping a release of an existing package (use autoship).

This is a low-freedom scaffold. Generate files exactly as templated, substituting only the {{placeholder}} variables. Do not swap tools (no eslint, prettier, tsup, jest, chalk, or ora) or restructure the layout.

Reference Files

File Read When
references/scaffold-configs.md Step 3: templates for package.json, tsconfig, tsdown, gitignore, license, changeset config, GitHub Actions
references/scaffold-source.md Steps 4-5: templates for src/cli.ts, src/index.ts, src/types.ts, AGENTS.md, README.md, skills/SKILL.md
references/post-scaffold.md Steps 6-7: post-scaffold command sequence, validation checklist, troubleshooting

Scaffold Workflow

Installs
278
GitHub Stars
49
First Seen
Feb 17, 2026
scaffold-cli — mblode/agent-skills