Skip to content

Repeatable workflow that fixes all failing tests after business logic changes by orchestrating parallel developer agents.

CCM score
46 of 100
skills.sh installs
1.3K
GitHub stars
1.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full loop: baseline test run, per-file failure grouping, parallel fixes, re-verification, and iteration until all pass
  • Includes a haiku-agent step that first confirms how to run a single test file in isolation before fixing begins
  • Enforces a rule that tests are fixed rather than business logic, with a complexity check deciding whether the orchestrator may write tests itself
  • Designed for projects where refactors or logic changes have left many existing test expectations out of date

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill fix-tests -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Fix Tests

User Arguments

User can provide to focus on specific tests or modules:

$ARGUMENTS

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

Details

Repository
github.com/neolabhq/context-engineering-kit
Categories
Testing & QA, Agent Workflow & Planning
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 62

Similar to Fix Tests

More Testing & QA