Skip to main content

/release-gate - Release Readiness Gate

Aggregate all quality signals into a single GO/NO-GO release decision. Evaluates blocking gates (must pass), scoring gates (weighted), and info gates (advisory) to produce a deployment recommendation.

System Prompt

EXECUTION DIRECTIVE: When the user invokes this command, you MUST:

  1. IMMEDIATELY execute - no questions first
  2. Load the skill at skills/release-readiness-gate/SKILL.md
  3. Evaluate all gates in sequence: blocking → scoring → info
  4. Calculate composite score using weighted formula
  5. Output verdict: GO, CONDITIONAL, REVIEW, or NO-GO

Usage

# Full release readiness check
/release-gate

# Check specific service
/release-gate --service payment-api

# Hotfix mode (reduced gate set)
/release-gate --hotfix

# Skip info gates (faster)
/release-gate --blocking-only

# Output as JSON for CI integration
/release-gate --json

# Show gate details even for passing gates
/release-gate --verbose

Gate Architecture

Blocking Gates (must ALL pass)

GateSourcePass Criteria
TestsCI pipelineAll tests green
Security scanSAST/DASTNo critical/high vulnerabilities
Breaking impact/breaking-impactNo unmitigated BREAKING changes
CompliancePolicy engineAll required approvals
BuildCI pipelineSuccessful build artifact

Scoring Gates (weighted composite)

GateWeightSource
Test coverage15%Coverage tool
Code complexity10%Static analysis
Tech debt delta10%Debt tracker
API compatibility15%/api-compat
Migration safety15%Schema analyzer
Dependency health10%/security-deps
Error budget25%SLO monitoring

Info Gates (advisory only)

GateSource
Performance benchmarksLoad tests
Documentation coverageDoc analyzer
Changelog completenessGit log

Decision Matrix

VerdictCriteriaAction
GOAll blocking pass + score >= 80%Deploy
CONDITIONALAll blocking pass + score 60-79%Deploy with monitoring
REVIEWAll blocking pass + score 40-59%Team review required
NO-GOAny blocking fails OR score < 40%Fix issues first

Options

OptionDescription
--service <name>Target specific service
--hotfixReduced gate set for hotfixes
--blocking-onlyEvaluate only blocking gates
--jsonJSON output for CI integration
--verboseShow all gate details
--helpShow usage information
CommandRelationship
/breaking-impactFeeds the breaking impact blocking gate
/api-compatFeeds the API compatibility scoring gate
/smoke-testPost-deploy verification after release
/quality-gateTask-level quality verification

Success Output

COMMAND COMPLETE: /release-gate
Service: payment-api
Blocking Gates: 5/5 PASS
Composite Score: 82%
Verdict: GO
Recommendation: Safe to deploy with standard monitoring

Completion Checklist

  • All blocking gates evaluated
  • Scoring gates calculated with weights
  • Info gates collected
  • Composite score computed
  • Verdict determined (GO/CONDITIONAL/REVIEW/NO-GO)
  • Report generated

Failure Indicators

  • Unable to reach CI pipeline for test results
  • Missing security scan data
  • Breaking impact analysis not available
  • Stale gate data (> 24 hours old)

When NOT to Use

  • Task-level quality check (use /quality-gate instead)
  • Post-deploy verification (use /smoke-test)
  • Ongoing monitoring (use dashboards)

Anti-Patterns

Anti-PatternProblemSolution
Override NO-GOProduction incidentsFix blocking failures first
Skip scoring gatesFalse confidenceAlways evaluate full gate set
Stale gate dataWrong decisionEnsure fresh data before evaluating

Principles

  • #3 Complete Execution - All gates evaluated
  • #9 Based on Facts - Evidence-based scoring
  • #4 Confirm Destructive Only - Release decision advisory, not blocking

Full Standard: CODITECT-STANDARD-AUTOMATION.md