skill-surgeon

Installation
SKILL.md

Skill Surgeon

✂️ Surgical updates for AI skill files — Edit-only, before/after verified, no unintended rewrites.

A skill for safely updating existing skills and creating new ones.

⚡ Safe Edit Protocol (MANDATORY for updates)

When modifying an existing skill file, this protocol MUST be followed — no exceptions:

1. Read(skill_path)              → store full content as before_snapshot
2. Edit(skill_path, old, new)    → apply ONLY the intended change (str_replace)
   ⚠️  NEVER use Write tool on a skill file — it overwrites everything
3. Read(skill_path)              → store as after_snapshot
4. Compare in context:
   - List every line that changed between before and after
   - Flag any changed line NOT in the intended scope
5. Report to user:
Installs
1
First Seen
4 days ago