What problem does it solve?
This Skill reduces CI/CD release failures caused by invalid semver tags, incorrect npm token types, missing retry handling for registry propagation, and workflows that accidentally run for draft releases or unintended version bumps.
Core Features & Use Cases
- Semver Validation Gate: Validates tag versions before publish so npm never mangles unsupported formats like 4-part versions.
- NPM Token Type Verification: Ensures CI uses an npm Automation token to avoid EOTP failures from user tokens requiring OTP.
- Registry Propagation Retry Logic: Verifies the published package with multiple attempts to handle eventual consistency.
- Draft Release Detection & Build Protection: Ensures workflows trigger only on published releases and guards release builds from unintended version mutation via build bump scripts.
Use case: You run an automated release pipeline where tags may be malformed and publish verification can intermittently fail; these gates help guarantee predictable, actionable outcomes before and after publishing.
Quick Start
Implement these validation gates in your GitHub Actions workflows so every release publish validates semver, confirms npm token suitability, retries verification after publish, and only proceeds for truly published (not draft) releases.