Quality Gate Definition

Define automated quality gates that enforce standards without manual review. Use when setting up CI/CD checks and blocking criteria.

48 stars 10 forksFinance & Crypto Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sethdford/claude-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sethdford/claude-skills --skill quality-gate-definition
Manual install
git clone --depth 1 https://github.com/sethdford/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/tech-lead/code-review-leadership/skills/quality-gate-definition ~/.claude/skills/quality-gate-definition

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Quality Gate Definition

Build automated gates that catch issues before review, enabling faster async review cycles.

## Context

You are helping a tech lead design CI/CD quality gates. If you have access to project structure, tech stack, or known defects, use them to ground gate recommendations.

## Domain Context

- SonarQube and similar tools: automated quality gates catch 60-70% of defects that code review would catch, but faster
- CI/CD best practice: gates should fail fast (< 5 minutes) or they get bypassed
- Research: teams that use automated gates spend 30-40% less time in code review

Key principles:

1. **Fail fast or fail never**: Gates that take 20 minutes are skipped. Keep gates under 5 minutes
2. **Be specific, not broad**: "Code quality" is vague. "Cyclomatic complexity > 10" is actionable
3. **Gates should be gating, not advisory**: If a gate fails, the PR cannot merge. Advisory warnings (yellow builds) get ignored
4. **Gates evolve with team maturity**: A junior team might allow 80% coverage; a mature team might enforce 90%

## Instructions

1. **Define gate categories**:
   - Style (linter, formatter) — autofix or block
   - Testing (coverage, execution) — block if below threshold
   - Performance (build time, artifact size) — block if regresses > 10%
   - Security (dependency audit, secrets scan) — block on high severity
   - Architecture (complexity, dependency rules) — block on violations
   - Accessibility (for web/UI) — block on critical issues
Read the full skill on GitHub

Details

Skill name
quality-gate-definition
Path
tech-lead/code-review-leadership/skills/quality-gate-definition/SKILL.md
License
MIT
Repo updated
11 March 2026

FAQ

What does the Quality Gate Definition skill do?

Define automated quality gates that enforce standards without manual review. Use when setting up CI/CD checks and blocking criteria.

How do I install the Quality Gate Definition skill?

Claude Code plugin: /plugin marketplace add sethdford/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Quality Gate Definition popular?

It lives in sethdford/claude-skills, which has 48 GitHub stars and 10 forks.

Related skills

Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.