Mending

From Hmbown/Wizards-of-the-Ghosts · View interactive version

Mending is an AI agent skill from the GitHub repository Hmbown/Wizards-of-the-Ghosts. Mending is surgical repair of a known-working artifact that has a specific, identifiable break. It is NOT:\n- Triage/diagnosis: If the problem is \"API is throwing 500s, figure out why\" — that's investigation, not mending. Mending requires the break to already be identified.\n- Formatting/cleanup:

How to use this skill

Skill file

Mending

Repair a single broken artifact - a config, a file, a build, a migration - without redesigning it.

What This Skill Does

Mending is surgical repair of a known-working artifact that has a specific, identifiable break. It is NOT:

In this grimoire, Mending is treated as a metaphorical spell with a shipping-now delivery profile.

Canonical reference input: Mending (spell).

When To Use

Prerequisites

Procedure

  1. Restate the target, the success condition, and any no-touch boundaries before taking action.
  2. Confirm the break is specific and localized — name the exact file, the exact error, and what "working" looked like before.
  3. Apply the minimal change that restores the original behavior — fix the typo, add the missing character, correct the reference, move the misplaced directive. Do not improve, modernize, or restructure.
  4. Show a before/after diff so the repair is auditable and reversible.
  5. If the break reveals a deeper structural problem (e.g., the same typo appears in 12 files, or the config format is fundamentally unsound), report it — do not paper over it with repeated patches.
  6. Package the result as the deliverables below, with confidence, assumptions, and unresolved risk called out explicitly.

Deliverables

Pitfalls / Guardrails

Verification

Example Invocation

/mending fix this broken artifact with the smallest repair that restores it to working condition
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.