·quality-gates
{}

quality-gates

Python 代码质量门脚本,用于在提交前进行 linting、类型检查、复杂性分析和测试。當透過快速(單元測試)或綜合(所有測試)模式在 Python 專案中強制執行一致的程式碼品質時使用。

9安裝·1熱度·@ederheisler

安裝

$npx skills add https://github.com/ederheisler/agent-skills --skill quality-gates

如何安裝 quality-gates

透過命令列快速安裝 quality-gates AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/ederheisler/agent-skills --skill quality-gates
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:ederheisler/agent-skills。

SKILL.md

查看原文

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-gates
分類
{}資料分析
認證
收錄時間
2026-02-25
更新時間
2026-03-10

Browse more skills from ederheisler/agent-skills

快速解答

什麼是 quality-gates?

Python 代码质量门脚本,用于在提交前进行 linting、类型检查、复杂性分析和测试。當透過快速(單元測試)或綜合(所有測試)模式在 Python 專案中強制執行一致的程式碼品質時使用。 來源:ederheisler/agent-skills。

如何安裝 quality-gates?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/ederheisler/agent-skills --skill quality-gates 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/ederheisler/agent-skills