quality-gates

majiayu000 的头像作者 majiayu000

运行 ruff + pytest 并最小限度地修复问题。

📖 中文导读:运行 ruff + pytest 并最小限度地修复问题。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: quality-gates description: Run ruff + pytest and fix issues minimally. allowed-tools: Bash, Read, Grep, Glob, Write

Quality Gates Skill

When to use

  • After implementing a meaningful chunk
  • Before creating a PR or switching tasks

Procedure

  1. Run scripts/quality_gate.ps1
  2. If failures:
    • fix smallest diff
    • re-run
  3. Stop if the fix is risky and propose options.