What problem does it solve?
CI/CD pipelines often fail when releases are published with invalid version formats, incorrect tokens, missing retry logic, or draft releases. This Skill consolidates defensive patterns to prevent outages by enforcing checks at every stage.
Core Features & Use Cases
- Semver Validation Gate: ensure only valid semantic versions are published to npm, avoiding 4-part or malformed versions.
- NPM Token Type Verification: requireAutomation tokens and reject user tokens with 2FA to ensure CI autonomy.
- Retry Logic for Registry Propagation: implement multiple verification attempts after publish to guard against eventual consistency.
- Draft Release Detection: trigger workflows only on release: published and validate via API before proceeding.
- Build Script Protection: set SKIP_BUILD_BUMP before release builds to prevent unintended version mutations.
Quick Start
Integrate these checks into your CI workflow: semver validation, token type enforcement, and retry propagation before publishing.