Automated Test-Fix Loop

Community

Self-healing test-fix loop for code.

Authorlawless-m
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a repeatable pattern to automatically run tests, detect failures, create GitHub issues with detailed context, invoke Claude Code for fixes, and re-run tests until all pass.

Core Features & Use Cases

  • Automated Test‑→ Fail → Issue → Fix → Test loop orchestrated via starter scripts
  • GitHub integration to create issues with rich context when tests fail
  • Claude Code powered fixes to drive automated debugging and patching
  • CI/CD friendly workflow that can run overnight or in PR pipelines

Quick Start

  1. Create run-tests.sh, fix-issue.sh, and auto-fix-loop.sh templates in your repo.
  2. Configure TIMEOUT_SECONDS and the test command for your language (e.g., cargo test for Rust).
  3. Run ./run-tests.sh to start the loop; on failure, a GitHub issue will be created and an automated fix will be attempted.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Automated Test-Fix Loop
Download link: https://github.com/lawless-m/claude-skills/archive/main.zip#automated-test-fix-loop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.