
Scaffold Cli
This scaffolds a complete TypeScript CLI project with all the modern tooling decisions already made: dual ESM builds (CLI binary plus library exports), tsdown for bundling, oxlint and oxfmt via ultracite, changesets for versioning, vitest for testing, and GitHub Actions for CI and npm publishing. It targets Node 22+ and includes an AGENTS.md file plus a full skill definition in the output, which is a nice touch if you're building tools meant to be used by Claude. The anti-patterns section is actually useful, it calls out the ESM-only requirement and warns against adding chalk when Node's built-in styleText does the job. Saves you an hour of yak shaving when you just want to start a new CLI tool.
- skills.sh installs
- 751
- GitHub stars
- 191
- last updated
- Aug 21, 2026
Install
$ npx -y skills add mblode/agent-skills --skill scaffold-cli --agent claude-codeInstalls into .claude/skills of the current project.
Files
Scaffold CLI
- IS: bootstrapping a brand-new TypeScript CLI or npm package (Node 24, TypeScript 7) from the pinned templates in
references/, through to a green first CI run and a package npm can publish over OIDC. - IS NOT: a Next.js web app (use
scaffold-nextjs), folder structure or module contracts for an existing codebase (usecodebase-architecture), auditing an existing CLI's ergonomics (usedx-audit), or shipping a release of an existing package (useautoship).
The templates encode the house toolchain. Substitute project values and verify template APIs against installed package versions; repair proven incompatibilities instead of blindly reproducing them. The toolchain is the opinion: tsdown not tsup, vitest not jest, oxlint and oxfmt via ultracite not eslint or prettier, node:util styleText not chalk, @clack/prompts not ora. Swapping any of them or restructuring the layout produces a repo the templates' notes no longer describe.
Reference Files
Sponsors
Details
- Repository
- github.com/mblode/agent-skills
- Categories
- Frontend Development, Testing & QA, DevOps & CI/CD, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Automation & Workflows, CLI & Terminal
- First seen
- Jun 3, 2026
More from mblode/agent-skills
All 22- Ui Audit733
- Autoship687
- Optimise Seo647
- Readme Creator604
- Copywriting483
- Define Architecture448
- Blog Post404
- Review Pr185
- Agent Native140
- Babysit Pr124
- Mermaid Mind Map124
- Audit Ui114
- Ui Animation10.8K
- Multi Tenant Architecture1.8K
- Ui Design1.5K
- Typography Audit1.1K
- Agent Skills Creator1K
- Presentation Creator960
- Docs Writing949
- Agents Md884
- Scaffold Nextjs785