# Quality Gates Skill

> Quality Gates Skill

- Skill: `majiayu000/quality-gates-skill-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/quality-gates-skill-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/quality-gates-skill-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/quality-gates-skill-2

---


# Quality Gates Skill

=== PURPOSE ===

Procedures for defining and enforcing quality gates.

=== USED BY ===

| Agent | Purpose |
|-------|---------|
| @agent(qa-lead) @ref(CB-AGENT-QA-001) | Primary skill for quality gates |

=== PROCEDURE: Gate Definition ===

**Standard Gates:**

| Gate | Metric | Threshold | Enforcement |
|------|--------|-----------|-------------|
| Coverage | Line coverage | ≥80% | CI/CD |
| Tests | All pass | 100% | CI/CD |
| Linting | No errors | 0 | CI/CD |
| Types | No errors | 0 | CI/CD |
| Security | No critical | 0 | Security Lead |
| Quality | No blockers | 0 | QA Lead |

=== PROCEDURE: Gate Failure ===

**Steps:**
1. Identify failing gate
2. Document failure reason
3. Block PR/deployment
4. Notify responsible party
5. Track remediation

=== PROCEDURE: Gate Exceptions ===

Exceptions require:
- Written justification
- Head Cook approval
- Remediation timeline
- Buildlog entry with `#micro-decision`

=== RELATED SKILLS ===

| Skill | Relationship |
|-------|--------------|
| @skill(testing-strategy) | Testing context |
| @skill(quality-review) | Review context |

