test-fixing
运行测试,并通过智能错误分组系统性地修复所有失败的测试。适用于用户要求修复失败测试、提到测试失败、运行测试套件后出现失败,或要求让测试通过时。
机器翻译查看英文原文
Run tests and systematically fix all failing tests using smart error grouping. Use when user asks to fix failing tests, mentions test failures, runs test suite and failures occur, or requests to make tests pass.
适用对象:对象待分类。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Test Fixing
- When to Use
- Systematic Approach
- 1. Initial Test Run
- 2. Smart Error Grouping
- 3. Systematic Fixing Process
- 4. Fix Order Strategy
- 5. Final Verification
Systematically identify and fix all failing tests using smart grouping strategies. Explicitly asks to fix tests ("fix these tests", "make tests pass") Reports test failures ("tests are failing", "test suite is broken") Completes implementation and wants tests passing Mentions CI/CD failures due to tests Run make test to identify all failing tests. Analyze output for: Total number of failures Error types and patterns Affected modules/files Group similar failures by: Error type: ImportError, AttributeError, AssertionError, etc. Module/file: Same file causing multiple test failure Root cause: Missing dependencies, API changes, refactoring impacts Prioritize groups by: Number of affected tests (highest impact first) Dependency order (fix infrastructure before functionality) For each group (starting with highest impact): 1. Identify root cause Read relevant code Check recent changes with git diff Understand the error pattern 2. Implement fix Use Edit tool for code changes Follow project conventions (see CLAUDE.md) Make minimal, focused changes 3. Verify fix Run subset of tests for this group Use pytest markers or file patterns: Ensure group passes before moving on 4. Move to next group
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- davila7/claude-code-templates
- 源文件
- cli-tool/components/skills/development/test-fixing/SKILL.md
- 固定版本
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:44.841Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。