Skip to main content

quality-gates

Plan before work over an hour, and hold the gates: ruff clean, mypy --strict clean, pytest coverage above 70 percent, no secrets in code. Triggers: quality, lint, mypy, pytest, coverage, gate, definition of done.

Source facts

Repository
softspark/ai-toolkit
Last source activity
September 3, 2026 at 08:42
Detected SKILL.md language
English
Stars
179
Forks
21

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
quality-gates
description
Plan before work over an hour, and hold the gates: ruff clean, mypy --strict clean, pytest coverage above 70 percent, no secrets in code. Triggers: quality, lint, mypy, pytest, coverage, gate, definition of done.
effort
low
user-invocable
false
allowed-tools
Read
# Quality Gates This rule comes from `app/rules/quality-gates.md` in ai-toolkit. It applies to every task in this workspace, not only when it is loaded. # Quality Gates & Mandatory Practices ## MANDATORY PRACTICES 1. **Plan First:** Tasks >1h require Plan, Success Criteria, and Pre-Mortem. 2. **Quality Gates:** * `ruff check .` (0 errors) * `mypy --strict src/` (0 errors) * `pytest --cov=src` (>70% coverage) * **Type Safety:** 100% public APIs, >60% internal. 3. **Security:** No secrets in code, sanitization, auth z/n.
View on GitHub