Skip to main content
skill CX Codex

npm-package-dev — Claude Code skill for npm packages

The npm-package-dev Claude Code skill guides npm package creation and publishing. It activates for requests about package.json, the npm registry, or package release.

LicenseRef-Proprietary ★ 326 updated 2026-11-01

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add mrhlaingbwardev/agentic-hacking-skills --skill npm-package-dev -a claude-code
Open on GitHub

What npm-package-dev does

The skill walks through setting up an npm package, from its package.json and source files to tests and documentation. It covers package metadata, dependencies, versioning, and which files to include in a release. Publishing requires an npm account and a CLI session started with npm login.

It also outlines pre-release checks, a dry run with npm publish --dry-run, and publishing with npm publish. Lifecycle scripts such as preinstall and postinstall can run code on a user's machine, creating a supply-chain security concern. Security research is limited to authorized work.

What it helps with

  • scaffold an npm package and configure its package.json
  • prepare tests and documentation for a library
  • inspect package contents before release
  • choose version and publishing commands

Example prompts for the agent

  • Create an npm package for this library and set up its package.json.
  • Check which files will go into the npm release.
  • Prepare this package for npm publishing and list the release commands.

How to install npm-package-dev

1Skills CLI (Vercel)

npx skills add mrhlaingbwardev/agentic-hacking-skills --skill npm-package-dev -a claude-code

2Manually: put the files in place

~/.claude/skills/npm-package-dev/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/npm-package-dev/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about npm-package-dev

How do I install npm-package-dev in Claude Code?

Run npx skills add mrhlaingbwardev/agentic-hacking-skills --skill npm-package-dev -a claude-code. The skill file is at ~/.claude/skills/npm-package-dev/SKILL.md.

What does npm-package-dev do?

It guides package creation and release, including package.json settings, tests, documentation, and publishing commands.

What is needed to use npm-package-dev?

Publishing requires an npm account and a CLI login with npm login. The skill also covers a publication dry run using npm publish --dry-run.

Similar skills

SKILL.md skills catalog →

From the same set28

The whole set →
opsec The opsec Claude Code skill runs preliminary checks before other skills. It activates around security-testing and scanning commands. CX Codex +1 ★ 326repo stars cve-threat-intel The cve-threat-intel Claude Code skill finds recent CVEs and searches for public PoCs. It activates on requests about new vulnerabilities, exploits, or threats affecting a specific product. CX Codex +1 ★ 326repo stars web-security The web-security Claude Code skill checks web code for common security flaws and adds relevant safeguards. It activates as login, API, upload, and other web features are built. CX Codex +1 ★ 326repo stars supply-chain This Claude Code skill covers software supply-chain attack risks. It activates for requests about dependencies, package registries, or CI/CD compromise. CX Codex +1 ★ 326repo stars red-team-web-methodology red-team-web-methodology — a Claude Code skill for assessing web application security. It guides comprehensive tests that combine manual checks with business logic analysis. CX Codex +1 ★ 326repo stars bounty-deep-hunt The bounty-deep-hunt Claude Code skill pushes bug bounty work past routine checks and into less obvious vulnerability paths. It tracks tests until a finding is verified or the evidence-backed ledger is complete. CX Codex +1 ★ 326repo stars zero-day-hunting The zero-day-hunting Claude Code skill guides manual searches for unknown flaws in a specific application. It activates on requests for zero-day research or new vulnerability discovery. CX Codex +1 ★ 326repo stars web-pentest web-pentest — a subagent for Claude Code examines web app logic and looks for weaknesses across connected components. It activates for pentest, vulnerability research, and red-team requests. CX Codex ★ 326repo stars

Project sponsors

Companies that keep this analytics open