test-fixing by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill test-fixing使用智能分组策略,系统地识别并修复所有失败的测试。
运行 make test 以识别所有失败的测试。
分析输出以了解:
按以下方式对相似的失败进行分组:
按以下优先级对分组进行排序:
对于每个分组(从影响最大的开始):
git diff 检查最近的变更广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
uv run pytest tests/path/to/test_file.py -v
uv run pytest -k "pattern" -v
先修复基础设施:
然后是 API 变更:
最后是逻辑问题:
所有分组修复完成后:
make testgit diff 了解最近的变更用户:"重构后测试失败了"
make test → 识别出 15 个失败每周安装次数
148
仓库
GitHub 星标数
23.4K
首次出现
2026年1月25日
安全审计
安装于
opencode124
claude-code122
gemini-cli120
cursor115
codex113
github-copilot109
Systematically identify and fix all failing tests using smart grouping strategies.
Run make test to identify all failing tests.
Analyze output for:
Group similar failures by:
Prioritize groups by:
For each group (starting with highest impact):
Identify root cause
git diffImplement fix
Verify fix
Run subset of tests for this group
Use pytest markers or file patterns:
uv run pytest tests/path/to/test_file.py -v
uv run pytest -k "pattern" -v
Ensure group passes before moving on
Move to next group
Infrastructure first:
Then API changes:
Finally, logic issues:
After all groups fixed:
make testgit diff to understand recent changesUser: "The tests are failing after my refactor"
make test → 15 failures identifiedWeekly Installs
148
Repository
GitHub Stars
23.4K
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykPass
Installed on
opencode124
claude-code122
gemini-cli120
cursor115
codex113
github-copilot109
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
128,400 周安装