什么是 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