fix-loop

Automate detection, diagnosis, and repair of failing tests in a CI loop.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/nhouseholder/nicks-claude-code-superpowers --skill fix-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-loop
Source: https://github.com/nhouseholder/nicks-claude-code-superpowers/tree/main/skills/fix-loop
Command: npx skills add https://github.com/nhouseholder/nicks-claude-code-superpowers --skill fix-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the detection, diagnosis, and repair of failing tests within a CI loop.

Core Features & Use Cases

  • Autonomous test loop: runs the full test suite and captures results.
  • Failure diagnosis and targeted fixes: identifies root causes and applies source edits without altering tests.
  • Safe regression and commit: re-runs full suite and commits only when green; provides explanations for any skipped external or flaky tests.

Quick Start

Initiate an autonomous fix loop: run the full test suite, diagnose failures, fix source code, and re-run until all tests pass.

Frequently Asked Questions about fix-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate fixing failing tests in my CI loop?

To automate test repair, an autonomous CI loop runs your full test suite, captures failures, diagnoses root causes, applies targeted source code edits, and commits only when all tests pass. This workflow handles multi-language projects using standard test runners like pytest or npm test.

How does automated test diagnosis identify and apply source code fixes?

Automated test diagnosis identifies the root causes of failures and applies targeted source code edits without altering the original tests. It then re-runs the full test suite to verify the fix and ensure no regressions before committing changes.

Do I need specific test runners to use an autonomous CI fix loop?

You need access to your repository and standard test runners such as pytest or npm test. The autonomous fix loop works across multi-language projects by utilizing these standard test runners to execute and validate the full test suite.

What happens when the autonomous CI loop encounters flaky tests?

When encountering flaky or external tests, the autonomous CI loop skips them and provides explanations for why they were excluded. It commits the source code fixes only when the remaining actionable tests in the full suite pass successfully.

Can I use autonomous test repair for multi-language projects?

Yes, autonomous test repair supports multi-language projects. The CI loop diagnoses failures and applies source fixes across different codebases by utilizing standard test runners like pytest and npm test to execute the full suite until green.