
Npx Cli
This is a complete starter kit for building CLI tools that run via npx, using Bun for development but targeting Node.js for distribution. It scaffolds the full setup: citty for argument parsing, Bunup for bundling, dual package structure if you want both a library API and a binary, plus the whole TypeScript strict mode and testing rig. The opinonated part is good here: it forces the shebang to use node not bun, makes you separate CLI wiring from actual logic so tests don't spawn processes for every assertion, and includes both Biome and ESLint because one is fast and the other catches type-level mistakes. If you're publishing something people will npx, this handles the easy-to-mess-up parts like the bin field and executable permissions.
- skills.sh installs
- 307
- GitHub stars
- 182
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jwynia/agent-skills --skill npx-cli --agent claude-codeInstalls into .claude/skills of the current project.
Files
npx CLI Tool Development (Bun-First)
Build and publish npx-executable command-line tools using Bun as the primary runtime and toolchain, producing binaries that work for all npm/npx users (Node.js runtime).
When to Use This Skill
Use when:
- Creating a new CLI tool from scratch
- Building an npx-executable binary
- Setting up argument parsing, sub-commands, or terminal UX for a CLI
- Publishing a CLI tool to npm
- Adding a CLI to an existing library package
Do NOT use when:
- Building a library without a CLI (use the
npm-packageskill) - Building an application (not a published package)
- Working in a monorepo (this skill targets single-package repos)
Toolchain
Sponsors
Details
- Repository
- github.com/jwynia/agent-skills
- Categories
- Testing & QA, DevOps & CI/CD, AI & Agent Building, Release Management, CLI & Terminal
- First seen
- Jun 3, 2026
More from jwynia/agent-skills
All 118- Media Meta Analysis284
- Presentation Design2.7K
- Frontend Design2.3K
- Requirements Analysis2.3K
- Godot Best Practices2.1K
- Web Search Tavily1.1K
- Godot Asset Generator1K
- Document To Narration994
- Pdf Generator921
- Story Coach895
- Electron Best Practices863
- Web Search780
- Fact Check771
- Worldbuilding753
- Docx Generator736
- Joke Engineering727
- Summarization719
- Story Analysis699
- Dialogue692
- Novel Revision691
- Story Idea Generator679
- Story Sense659
- System Design656
- Systemic Worldbuilding640