Scaffold Cli
Scaffolds a TypeScript CLI and npm package with the house toolchain, dual tsdown outputs, and OIDC publishing.
- CCM score
- 73 of 100
- skills.sh installs
- 806
- GitHub stars
- 226
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers bootstrapping a new CLI or npm package from pinned templates through a green first CI run and publishable package
- Includes
package.json, tsconfig, a dual tsdown build (CLI binary plus typed library), vitest, ultracite linting, and changesets - Enforces
fixedExtension: falseso outputs stay.jsand.d.ts, and verifies everybin,exports, andtypespath exists after build - Designed for starting new TypeScript CLI tools, with Next.js web apps, existing codebase structure, and released packages handled by other skills
Install
$ npx -y skills add mblode/agent-skills --skill scaffold-cli -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/mblode/agent-skills
- Categories
- CLI & Terminal, Skill & Plugin Building
- First seen
- Jun 3, 2026
Questions
What does the scaffold-cli skill do?
The scaffold-cli skill bootstraps a production-ready TypeScript CLI and npm package with ESM, a dual tsdown build, vitest, oxlint and oxfmt via ultracite, changesets, GitHub Actions CI with OIDC npm publishing, AGENTS.md, and a bundled agent skill definition. It is meant for creating a new CLI tool or npm package from scratch.
How do I install the scaffold-cli skill?
Run npx -y skills add mblode/agent-skills --skill scaffold-cli -y in your project. Once installed, the agent can scaffold a new TypeScript CLI project for you when you ask it to scaffold a CLI or set up a new TypeScript CLI.
What does scaffold-cli need before it can run?
The skill requires a shell, Git, Node.js, pnpm, and npm registry access. Publishing to a remote registry also requires the relevant account authentication.
Where does scaffold-cli stand in the CLI and Terminal category?
It ranks in the top 100 of the CLI and Terminal category on Claude Marketplaces. Its scaffolding focus sets it apart from skills like herdr, opentui, cf-cli and pnpm, since it creates a new CLI package rather than operating a terminal tool.
When should I use scaffold-cli instead of a related skill?
Use scaffold-cli when starting a brand-new TypeScript CLI or npm package. For a Next.js web app use scaffold-nextjs, for structuring an existing codebase use codebase-architecture, and for releasing an already-built package use autoship.
More from mblode/agent-skills
All 12Similar to Scaffold Cli
More CLI & Terminalarch-tsdown-clihairyf/skills183 installsTypeScript CLI package scaffold built with tsdown, covering dual library and bin output with release tooling.
javascript-typescript-typescript-scaffoldsickn33/agentic-awesome-skills352 installsScaffolds TypeScript projects for Next.js, React with Vite, Node.js APIs, libraries, and CLIs using pnpm.
scaffold-nextjsmblode/agent-skills840 installsScaffolds a production-ready Next.js turborepo with TypeScript 7, Blode UI, and Vercel deployment.
npx-clijwynia/agent-skills312 installsBuild and publish npx-executable CLI tools with Bun, citty parsing, and strict TypeScript linting.
npm-packagejwynia/agent-skills338 installsOpinionated npm package scaffolding with Bun, strict TypeScript, Biome, Vitest, and Bunup for publishing-ready libraries.
project-bootstrappermhattingpete/claude-skills-marketplace213 installsComprehensive project setup covering structure, git, docs, testing, quality tooling, CI/CD, and workflow automation.