
Npm Package
This is a complete, opinionated setup for building npm packages with Bun as the runtime and Bunup as the bundler. It scaffolds the entire project structure, locks in strict TypeScript with `module: nodenext`, wires up Biome for fast linting plus ESLint for type-aware rules, configures Vitest for isolated testing, and sets up Changesets for versioning. The 18 non-negotiable rules are the real value here: they're drawn from the sharp edges that actually break published packages, like putting `types` first in the exports map, never using path aliases, and always running `npm pack --dry-run` before publishing. Use this when you're shipping a library to npm and want the tooling decisions made for you with clear reasoning attached.
- skills.sh installs
- 334
- GitHub stars
- 182
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jwynia/agent-skills --skill npm-package --agent claude-codeInstalls into .claude/skills of the current project.
Files
npm Package Development (Bun-First)
Build and publish npm packages using Bun as the primary runtime and toolchain, producing output that works everywhere npm packages are consumed.
When to Use This Skill
Use when:
- Creating a new npm library package from scratch
- Setting up build/test/lint tooling for an existing package
- Fixing CJS/ESM interop, exports map, or TypeScript declaration issues
- Publishing a package to npm
- Reviewing or improving package configuration
Do NOT use when:
- Building an npx-executable CLI tool (use the
npx-cliskill) - 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, Code Review & Quality, AI & Agent Building, Release Management, Debugging
- First seen
- Jun 3, 2026
More from jwynia/agent-skills
All 118- Non Fiction Revision331
- Blind Spot Detective330
- Devcontainer327
- Gitea Coordinator320
- Github Agile314
- Web Search Brave314
- Npx Cli307
- 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