Systematically fix all failing tests after business logic changes or refactoring
64
56%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/tdd/skills/fix-tests/SKILL.mdUser can provide to focus on specific tests or modules:
$ARGUMENTSIf 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
Launch developer 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 passesdedca19
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.