tdd%3Afix-tests by neolabhq/context-engineering-kit
npx skills add https://github.com/neolabhq/context-engineering-kit --skill tdd:fix-tests用户可以指定要关注的特定测试或模块:
$ARGUMENTS
如果未提供任何参数,则关注所有测试。
在业务逻辑变更、重构或依赖项更新后,测试可能会失败,因为它们不再匹配当前的行为或实现。此命令使用专门的智能体来协调自动化修复所有失败的测试。
修复所有失败的测试,使其匹配当前的业务逻辑和实现。
如果可用,读取 sadd 技能
发现测试基础设施
运行所有测试
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
识别所有失败的测试文件
启动 developer 智能体(并行)
验证所有修复
如果需要则迭代
启动智能体时,使用此模板:
业务逻辑已更改,测试文件 {FILE_PATH} 现在失败。
你的任务:
1. 读取测试文件并理解它正在测试什么
2. 读取 TDD 技能(如果可用)以了解编写测试的最佳实践。
3. 读取 @README.md 以了解项目背景
4. 运行测试:{TEST_COMMAND}
5. 分析失败原因 - 是:
- 测试期望过时? → 修复测试断言
- 测试设置损坏? → 修复测试设置/模拟
- 业务逻辑错误? → 修复逻辑(罕见情况)
6. 修复测试并验证其通过
7. 迭代直到测试通过
每周安装次数
239
仓库
GitHub 星标数
699
首次出现
2026年2月19日
安装于
opencode232
codex231
github-copilot231
gemini-cli230
amp228
kimi-cli228
User can provide to focus on specific tests or modules:
$ARGUMENTS
If nothing is provided, focus on all tests.
After business logic changes, refactoring, or dependency updates, tests may fail because they no longer match the current behavior or implementation. This command orchestrates automated fixing of all failing tests using specialized agents.
Fix all failing tests to match current business logic and implementation.
Read sadd skill if available
Discover test infrastructure
Run all tests
Identify all failing test files
Launchdeveloper agents (parallel)
Verify all fixes
Iterate if needed
When launching agents, use this template:
The business logic has changed and test file {FILE_PATH} is now failing.
Your task:
1. Read the test file and understand what it's testing
2. Read TDD skill (if available) for best practices on writing tests.
3. Read @README.md for project context
4. Run the test: {TEST_COMMAND}
5. Analyze the failure - is it:
- Test expectations outdated? → Fix test assertions
- Test setup broken? → Fix test setup/mocks
- Business logic bug? → Fix logic (rare case)
6. Fix the test and verify it passes
7. Iterate until test passes
Weekly Installs
239
Repository
GitHub Stars
699
First Seen
Feb 19, 2026
Installed on
opencode232
codex231
github-copilot231
gemini-cli230
amp228
kimi-cli228
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
140,500 周安装