ci-validation-gates

Validate CI/CD pipelines for semver, token types, retry logic, and draft detection.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/nicolehaugen/CustomMetricsDashboard --skill ci-validation-gates-nicolehaugen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-validation-gates
Source: https://github.com/nicolehaugen/CustomMetricsDashboard/tree/main/.squad/templates/skills/ci-validation-gates
Command: npx skills add https://github.com/nicolehaugen/CustomMetricsDashboard --skill ci-validation-gates-nicolehaugen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the need for robust CI/CD pipelines by enforcing defensive patterns to prevent common issues and outages.

Core Features & Use Cases

  • Semver Validation: Ensures that version formats are valid before publishing to avoid npm issues.
  • Token Type Verification: Ensures the use of Automation tokens for npm to avoid security breaches.
  • Retry Logic: Provides fallback mechanisms to ensure registry consistency after npm publish.
  • Draft Release Detection: Prevents workflows from executing on draft releases only.
  • Build Script Protection: Safeguards against version mutations during release.

Quick Start

Run the ci-validation-gates skill to validate your CI/CD pipeline's configuration against known defense patterns.

Frequently Asked Questions about ci-validation-gates

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

FAQPage Schema
How do I enforce semantic versioning validation in a CI/CD pipeline?

You can enforce semantic versioning validation by running this skill to check version formats against defense patterns before publishing. This prevents npm issues and safeguards build scripts against version mutations during the release process.

Why does my deployment workflow fail when running on draft releases?

Deployment workflows fail on draft releases when draft detection is not enforced. This skill prevents workflows from executing on draft releases only, ensuring pipelines only trigger on finalized, valid release tags for fault-tolerant deployment workflows.

How do I verify automation token types for npm publish in continuous integration?

To verify automation token types for npm publish, this skill validates that automation tokens are used to avoid security breaches. It checks your CI/CD pipeline configuration to enforce token verification and maintain pipeline reliability.

What is the best way to add retry logic to deployment scripts for registry consistency?

The best way to add retry logic to deployment scripts is to implement fallback mechanisms that ensure registry consistency after npm publish. This skill validates that your CI/CD pipeline includes these retry mechanisms to achieve fault-tolerant, versioned release workflows.

Can I use CI/CD validation gates with any continuous integration system?

Yes, these CI/CD validation gates are applicable to continuous integration and deployment systems aiming for fault-tolerant, versioned release workflows. The skill validates your pipeline configuration against known defense patterns without requiring specific dependencies.

What security checks should a CI/CD pipeline have to prevent npm publishing failures?

A CI/CD pipeline should have security checks for semantic versioning validation, automation token verification, and draft release detection. This skill enforces these defensive patterns to prevent common issues, security breaches, and outages during npm publishing.