Agent skill · neolabhq
fix-tests
Systematically fix all failing tests after business logic changes or refactoring
What it needs
About 2k tokens when loaded.
What this skill does
Fix Tests User Arguments User can provide to focus on specific tests or modules: If nothing is provided, focus on all tests. Context 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. Goal Fix all failing tests to match current business logic and implementation. Important Constraints Focus on fixing tests - avoid changing business logic unless absolutely necessary Preserve test intent - ensure tests still validate the expected behavior "Analyse complexity of changes" - if there 2 or more changed files, or one file with complex logic, then Do not write tests yourself - only orchestrate agents! if there is only one changed file, and it's a simple change, then you can write tests yourself. Workflow Steps Preparation 1. Read sadd skill if available If available, read the sadd skill to understand best practices for managing agents 2. Discover test infrastructure Read @README.md and package.json (or equivalent project config) Identify commands to run tests and coverage reports Understand project structure and testing conventions 3. Run all tests Execute full test suite to establish baseline 4. Identify all failing test files Parse test output to get list of failing test files Group by file for parallel agent execution Analysis 5. Verify single test execution Choose any test file Launch haiku agent with instructions to find proper command to run this only test file Ask him to iterate until you can reliably run individual tests After he complete try running a specific test file if it exists This ensures agents can run tests in isolation Test Fixing 6. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills neolabhq/fix-tests--f31d22