mending

Repair a localized broken artifact and output a before/after diff.

105|13|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/Hmbown/Wizards-of-the-Ghosts --skill mending
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mending
Source: https://github.com/Hmbown/Wizards-of-the-Ghosts/tree/main/generated/hermes/repair-and-recovery/mending
Command: npx skills add https://github.com/Hmbown/Wizards-of-the-Ghosts --skill mending

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mending provides targeted, surgical repairs for known-broken artifacts such as a config, a file, a build, or a migration, without redesigning the system.

Core Features & Use Cases

  • Precise target identification and scope: fix a specific artifact without broad changes.
  • Minimal-change repair: apply the smallest patch to restore original behavior.
  • Auditable deliverables: provide a before/after diff and notes if deeper issues are detected.

Quick Start

Repair the exact broken artifact by applying the smallest, auditable change that restores its working condition.

Frequently Asked Questions about mending

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix a broken config file without redesigning the entire system?

To fix a broken config file, apply a surgical repair that targets the exact localized break with the smallest possible patch. This restores the artifact's working condition without broad system changes, outputting a before/after diff and notes on any deeper structural issues.

What is the best way to apply a minimal patch to a broken build artifact?

The best way to apply a minimal patch is through surgical repair of the identified break. It applies the smallest change needed to restore original behavior to the build artifact and provides an auditable diff of the repair.

Can I repair a failed database migration file without altering the surrounding codebase?

Yes, you can repair a failed migration by applying a targeted fix to the exact broken file. The process isolates the problem and applies the smallest surgical patch to restore the migration without triggering broad codebase changes.

How do I audit a file repair to ensure only the localized break was changed?

To audit a file repair, review the before/after diff provided after the surgical fix is applied. This diff explicitly documents the minimal changes made to restore the artifact and includes notes if deeper issues are detected.

When should I not use a surgical repair for a broken artifact?

You should not use a surgical repair when the output notes indicate a deeper structural issue exists. If the problem is not a specific, isolated break in a known-working artifact, a broader system redesign is required instead of a minimal patch.