원클릭으로
heal
Autonomous test-fix loop — run tests, fix failures, repeat until green
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Autonomous test-fix loop — run tests, fix failures, repeat until green
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," or "hypothesis." For tracking implementation, see analytics-tracking.
Expert guide for writing comprehensive API documentation including OpenAPI specs, endpoint references, authentication guides, and code examples. Use when documenting APIs, creating developer portals, or improving API discoverability.
Expert iOS App Store submission and approval system. 9 specialized agents providing senior App Review Team-level expertise across compliance, design, privacy, monetization, metadata, technical requirements, timing, rejection recovery, and learning. Triggers on keywords like app store, iOS submission, apple review, app rejection, aso, privacy manifest, privacy labels, ATT, iap, in-app purchase, subscription, storekit, review guidelines, HIG, testflight, app store connect.
Execute a feature from description to committed code using three parallel sub-agents: Architect, Builder, and Validator.
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, or extract information from web pages.
The ultimate landing page builder. Through a conversational interview, autonomously produces a complete, deployable Next.js landing page with TypeScript, Tailwind CSS, SEO metadata, JSON-LD structured data, and conversion-optimized copy. Consolidates intelligence from landing-page-designer, copywriting, page-cro, form-cro, schema-markup, seo-audit, layout-designer, ab-test-designer, and more. Use when the user says "build a landing page," "create a landing page," "I need a landing page for," or "build me a page for [product]." For optimizing an EXISTING landing page, use landing-page-optimizer or page-cro instead.
| name | Heal |
| slug | heal |
| description | Autonomous test-fix loop — run tests, fix failures, repeat until green |
| category | testing |
| complexity | complex |
| version | 1.0.0 |
| author | id8Labs |
| triggers | ["heal","fix tests","fix all tests","make tests pass","red to green"] |
| tags | ["testing","autonomous","fix","tdd"] |
Run the full test suite, fix every failure at the source, and repeat until green. No guidance needed — fully autonomous red-green loop.
/heal # Fix all failing tests in current project
/heal --unit-only # Only run unit tests (skip Playwright)
/heal --no-commit # Fix everything but don't commit at the end
/heal --dry-run # Show what's failing without fixing anything
When invoked:
test, test:unit, vitest, jesttest:e2e, playwright testtsc --noEmitbuild, next build--unit-only flag is set, skip E2E detection.FIXES.md in the project root with header:
# Fixes — /heal run {date}
Run all detected test commands and capture output:
npm test 2>&1
npx playwright test 2>&1 # unless --unit-only
npx tsc --noEmit 2>&1
If ALL pass on the first run:
npm run build to confirm clean compilation.If there are failures, collect them into a failure list:
Sort failures by dependency order: type errors first, then unit tests, then E2E. Fixing type errors often cascades into fixing test failures.
For each failure, starting from the most upstream:
npx tsc --noEmit to verify the fix compiles.npx vitest run path/to/test.ts # or jest, playwright equivalent
- [file:line] Fixed {what}: {root cause in one sentence}
Escalation rule: If you've attempted the same fix twice without success, do NOT try it a third time. Instead:
After all individual fixes:
npm run build to confirm clean compilation.If --dry-run: Output the failure list and suggested fixes, then exit without changing anything. Delete FIXES.md.
If --no-commit: Output the summary below but skip the commit.
Otherwise:
fix: heal {N} failing tests
{one-line summary per fix from FIXES.md}
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Heal Complete
=============
Tests fixed: {N}
Tests unresolved: {N} (if any)
Files modified: {list}
Type check: PASS
Build: PASS
Fixes:
{contents of FIXES.md}
| Priority | Category | Why First |
|---|---|---|
| 1 | Type errors (tsc --noEmit) | Cascading — fixing types often fixes runtime failures |
| 2 | Import / export errors | Missing exports break many downstream tests |
| 3 | Unit test failures | Isolated, fast to verify |
| 4 | Integration test failures | May depend on unit-level fixes |
| 5 | E2E / Playwright failures | Most complex, may resolve from upstream fixes |
@ts-ignore, // eslint-disable, .skip, or xit to make tests "pass."