Set up quality gates and the coverage ratchet
Enable CI gates, tiered pre-merge checks and the coverage guardrail.
Goal: make CI enforce your tier checks and block coverage regressions.
Prerequisites
- CI on your code host
- The
risktag family enabled (classify guide)
Steps
- Run the setup skill
- In your assistant:
/pair-capability-setup-gates. - With
/pair-assistant(optional, Claude Code): "set up quality gates and branch protection".
- In your assistant:
- Enable tiering
- In your assistant: set pre-merge tiering to
enabledinway-of-working.md.
- In your assistant: set pre-merge tiering to
- Enable the coverage ratchet
- In your assistant: set the coverage guardrail to
enabled.
- In your assistant: set the coverage guardrail to
- Add custom gates (optional)
- In your assistant: add rows to the Custom Gate Registry in
way-of-working.md.
- In your assistant: add rows to the Custom Gate Registry in
Verify
- A test PR shows the tier checks and the required
pair-reviewcheck. - Lowering coverage fails the guardrail.