Skip to content
Development
Skill

/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.

From plugin
ai-toolkit
175117 skills44 agents
Install
$ npx -y skills add softspark/ai-toolkit --skill quality-gates --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/quality-gates

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

quality-gates.SKILL.md
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.

Ships withai-toolkit

AI coding toolkit with machine-enforced safety, 116 skills, 44 agents, lifecycle hooks, persona presets, opt-in plugin packs, and benchmark tooling. DSH is available as a separate explicit developer-preview target.

Get the whole plugin

Other skills on ai-toolkit.