Package & Distribution
NPM Package Expert
Expert guide for building, maintaining, and publishing high-quality NPM packages. Activate this skill whenever you are working inside an NPM package project — i.e., the working directory contains a package.json intended for publishing to npm. This includes creating new packages, adding features, fixing bugs, cutting releases, or reviewing code quality. The skill enforces a full quality gate: lint → format → test → build → version → diff-review → publish (only on main). Use it proactively any time the user says things like "add a feature", "fix a bug", "release", "publish", "bump version", "update changelog", "write tests", "build the package", or when you notice you are editing files in a project that has a package.json with a "publishConfig" or "bin" field or a "prepublishOnly" script.