ci-validation-gates

Automate semver validation, token verification, retry logic, and draft-release detection in CI/CD pipelines.

2|3|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/sytone/botnexus --skill ci-validation-gates-sytone
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-validation-gates
Source: https://github.com/sytone/botnexus/tree/main/.copilot/skills/ci-validation-gates
Command: npx skills add https://github.com/sytone/botnexus --skill ci-validation-gates-sytone

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defensive CI/CD patterns prevent outages caused by invalid semver, token type mismatches, missing retry logic, and draft releases by centralizing gate logic learned from v0.8.22.

Core Features & Use Cases

  • Semver Validation Gate: Ensure version formats align with semantic versioning before npm publish.
  • NPM Token Type Verification: Enforce automation tokens instead of user tokens requiring OTP.
  • Retry Logic for Registry Propagation: Handle eventual consistency with repeated checks after publish.
  • Draft Release Detection: Ensure workflows trigger only on published releases to avoid silent or failed deployments.
  • Build Script Protection and Guardrails: Provide safeguards to prevent unintended version bumps or risky release steps.

Quick Start

Integrate these gates into your CI workflow to enforce semver validation, proper token usage, retry propagation, and draft-release handling before any publish.

Frequently Asked Questions about ci-validation-gates

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

FAQPage Schema
How do I prevent npm publish failures caused by invalid semver in CI/CD pipelines?

To prevent npm publish failures from invalid semver, you can implement a semver validation gate that checks version formats against semantic versioning rules before any release step executes in your CI workflow.

Why does my CI/CD deployment trigger on draft releases and fail silently?

Draft releases trigger deployments because the workflow lacks draft-release detection. Implementing a gate to ensure workflows trigger only on published releases prevents silent or failed deployments.

How do I handle npm registry propagation delays during automated releases?

To handle npm registry propagation delays, implement retry logic that performs repeated checks after publish to manage eventual consistency before proceeding with downstream release steps.

Do I need automation tokens instead of user tokens for npm publishing in GitHub Actions?

Yes, you need automation tokens for npm publishing in GitHub Actions. Enforcing automation tokens prevents mismatches and avoids OTP requirements that block unattended CI/CD executions.

Can I use these CI validation gates with CircleCI or other CI providers besides GitHub Actions?

Yes, you can use these CI validation gates with CircleCI and other providers. The defensive checks for semver validation, token verification, and retry logic apply across various CI workflows.

What is the best way to guard against unintended version bumps in release pipelines?

The best way to guard against unintended version bumps is implementing build script protection and guardrails that provide safeguards against risky release steps before publishing.