npm-prepublish-check

Automate npm pre-publish quality gates for release readiness.

4|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/cc01cc/cmtx-project --skill npm-prepublish-check
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: npm-prepublish-check
Source: https://github.com/cc01cc/cmtx-project/tree/main/.kilo/skills-repo/develop/npm-prepublish-check
Command: npx skills add https://github.com/cc01cc/cmtx-project --skill npm-prepublish-check

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps teams enforce release readiness by automating pre-publish checks for npm packages, reducing the risk of shipping faulty code.

Core Features & Use Cases

  • Gate all pre-publish gates including code health, docs, dependencies, and security.
  • Validate package metadata, run lint, typecheck, tests, and build in CI or locally.
  • Generate a release readiness report detailing remediation steps and artifacts.

Quick Start

Run the pre-publish checks for a given package directory to ensure a clean publish-ready state.

Frequently Asked Questions about npm-prepublish-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate npm pre-publish checks for code quality and security?▼

Automate npm pre-publish checks by running quality gates that validate package metadata, execute lint and typecheck scripts, and perform strict security audits to ensure release readiness.

What is an npm pre-publish gatekeeper and what does it validate?▼

An npm pre-publish gatekeeper is an automated validation process that checks code health, documentation, API surface, dependencies, and tarball integrity to prevent shipping faulty npm packages.

Can I run npm release readiness checks in both local and CI environments?▼

Yes, npm release readiness checks can run in both local and CI contexts, validating package metadata, linting, typechecking, testing, and building across monorepos and single-package workflows.

Does the npm pre-publish quality gate workflow support monorepo architectures?▼

Yes, the npm pre-publish quality gate workflow supports monorepo architectures, applying code health, documentation, API governance, and security checks across multiple package directories.

How do I generate a release readiness report for an npm package?▼

Generate a release readiness report by executing pre-publish checks that evaluate code quality, API surface, and tarball integrity, producing a detailed output of remediation steps and artifacts.

What is the best way to enforce API governance and tarball integrity before an npm publish?▼

The best way to enforce API governance and tarball integrity is to implement automated pre-publish gates that validate the API surface and check the packaged tarball before the actual npm release.