# Quality Gate

> Quality gate enforcement — TDD, lint, type-check, test, build checks before any commit or PR

- Skill: `ils15/quality-gate` (Agent Skill)
- Install (CLI): `npx skillmds@latest add ils15/quality-gate`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ils15/quality-gate/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ils15 (https://skillmd.com/u/ils15)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/ils15/quality-gate

---


# Quality Gate

Before any commit, push, or PR, ALL CI/CD checks MUST pass:

- `ruff check .` — zero errors
- `npx tsc --noEmit` — zero errors
- `pytest .` — 100% passing
- `npm run build:web` — no critical warnings

**Rules:**
- No commits with broken lint/type/test/build
- "Fix later" is not accepted
- If a test fails due to legitimate change, UPDATE the test, don't remove it
- The developer (not CI) is responsible for running checks BEFORE push

