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-code

Installs 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 (use codebase-architecture), auditing an existing CLI's ergonomics (use dx-audit), or shipping a release of an existing package (use autoship).

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
1mindrally avatarsveltekitmindrally/skillsExpert guidance for SvelteKit development with TypeScript, Tailwind CSS, SSR/SSG, and performance optimization best practices749skills.sh installs
2skills-il avatarhebrew-rtl-best-practicesskills-il/localizationImplement right-to-left (RTL) layouts for Hebrew web applications. Use when user asks about RTL layout, Hebrew text direction, bidirectional (bidi) text, Hebrew746skills.sh installs
3github avatarreact18-lifecycle-patternsgithub/awesome-copilotProvides exact before/after migration patterns for the three unsafe class component lifecycle methods - componentWillMount, componentWillReceiveProps, and compo745skills.sh installs
4github avatarreact18-string-refsgithub/awesome-copilotProvides exact migration patterns for React string refs (ref="name" + this.refs.name) to React.createRef() in class components. Use this skill whenever migratin743skills.sh installs
521st-dev avataragent-elements21st-dev/agent-elementsUse whenever the user wants to build or modify a chat, agent, or tool-calling UI in a React 19 + Tailwind v4 project — especially if the code imports from `@/co733skills.sh installs
6vuetifyjs avatarvuetify0vuetifyjs/0Use when building Vue 3 UI that needs headless logic — selection state (single, multi, grouped, nested, stepped), form validation, registries, context providers730skills.sh installs