ci-validation-gates

Validate semver, verify NPM token types, and retry registry operations.

3|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/bradygaster/docx-mcp-server --skill ci-validation-gates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-validation-gates
Source: https://github.com/bradygaster/docx-mcp-server/tree/main/.squad/templates/skills/ci-validation-gates
Command: npx skills add https://github.com/bradygaster/docx-mcp-server --skill ci-validation-gates

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents common CI/CD failures and security vulnerabilities by implementing essential validation gates, ensuring robust and reliable software releases.

Core Features & Use Cases

  • Semver Validation: Ensures only valid semantic versioning is used for releases.
  • Token Verification: Confirms the correct type of NPM tokens are used, preventing authentication errors.
  • Retry Logic: Implements robust retry mechanisms for npm registry operations to handle eventual consistency.
  • Draft Release Prevention: Avoids accidental deployments from draft releases.
  • Build Script Safety: Prevents unintended modifications to versions during release builds.

Quick Start

Ensure your CI workflow validates semver and uses an automation token before publishing.

Frequently Asked Questions about ci-validation-gates

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

FAQPage Schema
How do I validate semver in my CI/CD pipeline to prevent invalid npm releases?

Semver validation in your CI/CD pipeline ensures only valid semantic versioning is used for npm releases. This prevents build failures by blocking invalid version formats before they reach the registry.

Why does my npm publish fail with an authentication error during automated releases?

Npm publish authentication failures often occur when using incorrect token types. Verifying that your CI workflow uses an automation token instead of a standard token prevents these authentication errors during releases.

How do I handle npm registry propagation delays when publishing packages in CI?

Handling npm registry propagation delays requires implementing retry logic for npm registry operations. This addresses eventual consistency issues by automatically rechecking the registry until the package is available.

Can I prevent accidental deployments from draft releases in my CI/CD workflow?

Yes, you can prevent accidental deployments from draft releases by enforcing draft release prevention gates in your CI/CD workflow. This ensures release stability by blocking builds triggered by unpublished drafts.

What is the best way to protect build scripts from unintended version modifications during npm releases?

Protecting build scripts from unintended version modifications involves enforcing build script safety checks during the release process. This prevents accidental or automated changes to package versions while the build is running.