skills/fix-loop/SKILL.md
Self-healing CI loop — run test suite, diagnose failures, fix source code, re-run until all tests pass, then commit. Operates autonomously in a test-driven fix cycle. Use when asked to fix all tests, make tests pass, run a fix loop, or do self-healing CI.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers fix-loopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
# Python
pytest --tb=short 2>&1 | tee test_results.log
# JavaScript
npm test 2>&1 | tee test_results.log
Parse output for:
For each failure, in order:
pytest <test_file>::<test_name> -v
# or
npm test -- --testNamePattern="<test_name>"
Tests requiring external APIs or network access:
Tests that are genuinely wrong:
Circular failures (fixing A breaks B):
After all individual fixes:
# Run full suite one final time
pytest --tb=short 2>&1 | tee final_test_results.log
# or
npm test 2>&1 | tee final_test_results.log
If new failures appear → go back to step 2 for the new failures (max 3 iterations).
Only commit when ALL tests pass:
git add <all_fixed_files>
git commit -m "fix: resolve N test failures
Fixed:
- <test_1>: <one-line description of fix>
- <test_2>: <one-line description of fix>
...
Skipped (external/network):
- <test_name>: requires external API"
| teeRun as a batch job:
claude -p "Run the fix-loop: execute all tests, fix failing source code (not tests), re-run until green, then commit. Skip network-dependent tests." \
--allowedTools "Read,Edit,Bash,Grep" > fix_loop.log 2>&1
tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.