Skip to content
Agentmart
Submit a tool

self-healing

Diagnose test failures and suggest fixes without auto-editing test code (D7 invariant enforced).

Skill by moaidmoatasem

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/moaidmoatasem-self-healing

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Diagnose test failures and suggest fixes without auto-editing test code (D7 invariant enforced).

Use cases: testing, writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/self-healing

What's inside

Skill name
self-healing
Description
Diagnose test failures and suggest fixes without auto-editing test code (D7 invariant enforced).
License
Apache-2.0
Instructions
41 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Self Healing Skill

## Purpose
Diagnose test failures and suggest fixes without ever auto-editing test code. All healing operations produce reports and suggestions only — the D7 invariant is absolute.

## When to Use
- A generated test fails validation against the real server
- You want to understand WHY a test failed (healing diagnosis)
- An auth token has expired and needs refreshing
- The server contract has drifted from the OpenAPI spec

## Workflow

### Diagnose (`cherenkov/healing/diagnose.py`)
1. Parses the Playwright test failure output
2. Classifies the failure: `auth_expiry`, `contract_drift`, `flaky`, `unknown`
3. Routes to the appropriate healer module

### Healers (suggest-only)
| Module | Purpose | Action |
|--------|---------|--------|
| `auth_expiry.py` | Detect expired tokens | Suggests refreshing the auth header |
| `contract_drift.py` | Detect spec-vs-server mismatch | Reports the drift (e.g., "spec says 422, server returned 400") |
| `sandbox_healer.py` | Safe sandbox suggestions | Proposes assertion tightening |

### D7 Invariant Enforcement
All healers:
- Write their findings to the validation report
- Output suggestion strings with `consider ->` prefix
- **Never** modify `.spec.ts` files
- **Never** auto-commit changes
- The `smoke_test_healing.py` smoke test verifies this invariant

## References
- `cherenkov/healing/diagnose.py` — failure classification
- `cherenkov/healing/auth_expiry.py` — auth expiry handler
- `cherenkov/healing/contract_drift.py` — contract drift detector
- `cherenkov/healing/sandbox_healer.py` — sandbox suggestions
- `smoke_test_healing.py` — D7 invariant smoke test

From moaidmoatasem/cherenkov-qa, Apache-2.0.

More from moaidmoatasem/cherenkov-qa

Signals

Stars
1
Forks
0
Open issues
24
Last commit (this folder)
Jul 1, 2026 (4 months ago)
Last release
Aug 2, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from moaidmoatasem

Cite this page

self-healing skill. Agent Mart. https://agentmart.dev/skills/moaidmoatasem-self-healing (last updated 2026-10-24)