Help us improve
Share bugs, ideas, or general feedback.
Define automated quality gates that enforce standards without manual review. Use when setting up CI/CD checks and blocking criteria.
npx claudepluginhub sethdford/claude-skills --plugin tech-lead-code-reviewHow this skill is triggered — by the user, by Claude, or both
Slash command
/code-review-leadership:quality-gate-definitionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build automated gates that catch issues before review, enabling faster async review cycles.
Sets up or modifies CI/CD pipelines with automated quality gates (lint, types, tests, build, audit) and deployment. Includes GitHub Actions starters and platform mapping.
Creates structured quality gates for workflow boundaries like pre-merge checklists, deployments, and phase transitions with pass/fail criteria, exact commands, and escalation procedures.
Enforces quality gates in TypeScript/Node.js projects: pre-commit linting/formatting with ESLint/Prettier/tsc, tests/coverage with Vitest, builds, CI checks, security audits, E2E with Playwright, and Lighthouse performance.
Share bugs, ideas, or general feedback.
Build automated gates that catch issues before review, enabling faster async review cycles.
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.
Key principles:
Define gate categories:
For each gate, set thresholds:
Create bypass criteria: Emergency/hotfix PRs can bypass some gates if explicitly labeled. Document which gates can bypass and who approves
Test the gates: Run gates against your main branch. If they fail there, they're broken. Fix gates before enforcing
Make gates visible: Show results in PR comments, not just build status. Developers should see exactly why a gate failed
Measure false positives: If more than 20% of gate failures are overridden, the gate is miscalibrated. Lower threshold or remove gate
Example gate configuration:
Linter: block on errors, warn on > 5 warnings
Coverage: block if drops > 2%, advisory if drops 0-2%
Build time: advisory if > 10% slower, block if > 30% slower
Secrets: block on any leaked secrets
Dependencies: block on high/critical CVEs
Performance: advisory if bundle > 1MB, block if > 2MB