CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

self-healing

Active runtime recovery for coding agents: when something breaks mid-task, diagnose the root cause, write a fix, VERIFY by re-running the broken thing, then file a `HEAL-` entry to `.learnings/HEALS.md` with proof. Use whenever a command, test, build, or lint fails or exits non-zero; on missing tooling, dependency/lockfile mismatch, wrong runtime version, venv or permission errors, port conflicts, dirty git state, or a missing `.env`; when the agent needs a helper or one-off script that doesn't exist yet; when an external API, tool, or MCP errors or rate-limits; or when a test flakes. Search `HEALS.md` by `Pattern-Key` first — most heals are recurrences, so increment `Recurrence-Count` instead of duplicating. Verify is mandatory: mark `pending-verify` honestly if sandboxed, `abandoned` if the fix can't be made to work. Pairs with `self-improvement` (which promotes recurring heals to durable memory) but owns the verify-before-persist discipline self-improvement doesn't.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong, highly actionable process skill: the loop, entry format, verification rules, and promotion thresholds are all concrete and executable, with explicit validation gates and bounded retry discipline. The weaknesses are modest — rhetorical repetition of the core verify rule and a bundle whose scripts/ directory is invisible from the SKILL.md body.

Suggestions

Consolidate the verify-before-persist rule into one authoritative statement (e.g., in "Verification rules") and reference it elsewhere instead of restating it in the intro, "What this skill is for", the loop, Anti-patterns, and Best practices.

Point to the bundled scripts from the body where they are relevant — e.g., mention `scripts/find-similar-heals.sh` in "Recurrence and promotion" and `scripts/new-heal.sh` in "ID generation" — so agents discover them without listing the directory.

Merge the overlapping items between "Anti-patterns" and "Best practices" (logging-without-verifying vs. verify-before-persist; empty artifact folders vs. scope creep) into a single section to trim tokens.

DimensionReasoningScore

Conciseness

The body is procedural and skill-specific throughout — no explaining of concepts Claude already knows — with near-zero fluff per section. However, the verify-before-persist rule is restated ~6 times (intro, "What this skill is for", the loop, "Verify is the load-bearing wall", Anti-patterns #1, Best practices #2) and "Best practices" substantially overlaps "Anti-patterns", so there is more than a single token of trimmable repetition — between anchors 3 and 4, closer to 4 since the repetition is deliberate emphasis rather than padding.

4 / 5

Actionability

Fully executable guidance: a copy-paste-ready HEAL entry markdown template, exact commands (`grep -n "Pattern-Key: <your-pattern-key>" .learnings/HEALS.md`, `mkdir -p .learnings` / `touch .learnings/HEALS.md`), concrete per-shape examples for all five trigger types, an exact ID format with examples, and a verification table mapping each failure shape to its proof. The common cases are covered end-to-end.

5 / 5

Workflow Clarity

The Heal Loop (diagnose → patch → verify → file) is presented as a sequenced diagram with an explicit verification gate, bounded retries ("cap at 3 attempts"), failure classification (deterministic/transient/shared-service) required before any retry, a 1/2/3 escalation protocol when verification fails, and honest terminal states (pending-verify, abandoned). This is the top anchor: clear sequence, explicit validation steps, and genuine feedback loops.

5 / 5

Progressive Disclosure

The body is a well-signaled overview with one-level-deep references (`references/hooks.md`, `examples.md`, `pipeline-integration.md`, `interop-with-self-improvement.md` — all real files), each introduced with what it contains. Two gaps hold it below the top anchor: the three bundled scripts (`scripts/detect-failure.sh`, `find-similar-heals.sh`, `new-heal.sh`) are functional utilities never referenced from the body, and the "See also" section repeats links already made inline.

4 / 5

Total

18

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: concrete action loop, exhaustive natural trigger list, explicit what/when, and an explicit boundary against the closest related skill. It is long, but every clause is either a trigger, a rule, or a disambiguation rather than filler — though it sits near the upper bound of acceptable description length.

DimensionReasoningScore

Specificity

The description lists multiple concrete, specific actions covering the full capability: "diagnose the root cause, write a fix, VERIFY by re-running the broken thing, then file a `HEAL-` entry to `.learnings/HEALS.md` with proof", plus "Search `HEALS.md` by `Pattern-Key` first" and "increment `Recurrence-Count` instead of duplicating". This matches the anchor for comprehensive coverage of concrete actions; no action is left as abstract language.

5 / 5

Completeness

Both halves are explicit: the opening sentence answers "what" (diagnose → fix → verify → file, with proof) and the "Use whenever..." clause answers "when" with concrete trigger phrases. This is the top anchor exactly; the when-clause is far beyond weakly implied.

5 / 5

Trigger Term Quality

The "Use whenever" clause is exhaustive and natural: "a command, test, build, or lint fails or exits non-zero", "missing tooling, dependency/lockfile mismatch, wrong runtime version, venv or permission errors, port conflicts, dirty git state, or a missing `.env`", "external API, tool, or MCP errors or rate-limits", "when a test flakes". It covers synonyms, concrete file names, and phrasings an agent/user would actually produce; nothing common is missing.

5 / 5

Distinctiveness Conflict Risk

It carves a clear niche (active runtime recovery with mandatory verification) and explicitly disambiguates the nearest neighbor: "Pairs with `self-improvement` (which promotes recurring heals to durable memory) but owns the verify-before-persist discipline self-improvement doesn't". Triggers are failure-specific, so wrong-skill triggering risk is minimal.

5 / 5

Total

20

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 2 missing

Warning

Total

15

/

16

Passed

Repository

pskoett/pskoett-ai-skills

Path

plugin/skills/self-healing/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.