Skip to content

Opinionated npm package scaffolding with Bun, strict TypeScript, Biome, Vitest, and Bunup for publishing-ready libraries.

CCM score
56 of 100
skills.sh installs
338
GitHub stars
195
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scaffolding, strict TypeScript config, Biome and ESLint linting, Vitest testing, Bunup bundling, and npm publishing
  • Includes a scaffold.ts script with --dual for CJS/ESM output and --no-eslint to skip type-aware linting
  • Enforces ESM-only output, exports maps with types first, files: ["dist"], and npm pack --dry-run before publish
  • Designed for developers creating or fixing single-package npm libraries, not CLIs, applications, or monorepos

Install

$ npx -y skills add jwynia/agent-skills --skill npm-package -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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-cli skill)
  • Building an application (not a published package)
  • Working in a monorepo (this skill targets single-package repos)

Toolchain

Details

Repository
github.com/jwynia/agent-skills
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the npm-package skill do?

The npm-package skill builds and publishes npm packages using Bun as the primary toolchain, producing output that works wherever npm packages are consumed. It covers scaffolding a new package, strict TypeScript, Biome and ESLint linting, Vitest testing, Bunup bundling, and publishing workflows.

How do I install the npm-package skill?

Run npx -y skills add jwynia/agent-skills --skill npm-package -y in a project to install it. Once installed, the agent can create a new npm library, set up a TypeScript package for publishing, and fix CJS and ESM interop issues.

Which category does npm-package belong to, and what sets it apart?

The npm-package skill sits in the Frontend and UI Code category on Claude Marketplaces, alongside skills such as vercel-react-best-practices and web-design-guidelines. It focuses on building and publishing npm packages with Bun, not on user interface code.

When should I use the npm-package skill instead of a CLI skill?

Use it when you want to create a library, configure build, test and lint tooling for a package, or publish to npm. It is not meant for building an npx-executable CLI tool, which the npx-cli skill covers, and it does not target monorepos.

More from jwynia/agent-skills

All 118

Similar to Npm Package

More Frontend & UI Code