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.

Overview

Mending is interpreted here as a metaphorical spell with a shipping-now execution model.

Canonical source: Mending (spell)

Provider target: OpenClaw

When To Use

Workflow

  1. Confirm the break is specific and localized — name the exact file, the exact error, and what "working" looked like before.
  2. 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.
  3. Show a before/after diff so the repair is auditable and reversible.
  4. 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.

Deliverables

Guardrails

Default Invocation

Use $mending to 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.