什麼是 quality-gates?
Python 代码质量门脚本,用于在提交前进行 linting、类型检查、复杂性分析和测试。當透過快速(單元測試)或綜合(所有測試)模式在 Python 專案中強制執行一致的程式碼品質時使用。 來源:ederheisler/agent-skills。
Python 代码质量门脚本,用于在提交前进行 linting、类型检查、复杂性分析和测试。當透過快速(單元測試)或綜合(所有測試)模式在 Python 專案中強制執行一致的程式碼品質時使用。
透過命令列快速安裝 quality-gates AI 技能到你的開發環境
來源:ederheisler/agent-skills。
Project-agnostic bash script enforcing Python code quality gates using pyrefly, radon, hypothesis, pytest, and markdownlint. Three execution modes provide flexibility for different workflows: unit-tests for fast feedback, all-tests for comprehensive pre-merge validation, no-tests for static analysis only. Coverage runs are excluded by default; run coverage only when the user explicitly requests it.
Before committing Python code to enforce consistent quality checks across projects without directory structure assumptions.
| unit-tests | pyrefly, radon, hypothesis checks, pytest (unit/), markdownlint | Fast feedback during development | | all-tests | pyrefly, radon, hypothesis checks, pytest (unit/ + integration/), markdownlint | Pre-merge/deploy comprehensive check | | no-tests | pyrefly, radon, hypothesis checks, markdownlint | Static analysis only (time critical) |
Python 代码质量门脚本,用于在提交前进行 linting、类型检查、复杂性分析和测试。當透過快速(單元測試)或綜合(所有測試)模式在 Python 專案中強制執行一致的程式碼品質時使用。 來源:ederheisler/agent-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/ederheisler/agent-skills --skill quality-gatesPython 代码质量门脚本,用于在提交前进行 linting、类型检查、复杂性分析和测试。當透過快速(單元測試)或綜合(所有測試)模式在 Python 專案中強制執行一致的程式碼品質時使用。 來源:ederheisler/agent-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/ederheisler/agent-skills --skill quality-gates 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/ederheisler/agent-skills