/vt-t-heal-skill¶
Fix incorrect SKILL.md files when a skill has wrong instructions or outdated API references
Plugin: vt-toolkit
Usage: /vt-t-heal-skill [{'optional': 'specific issue to fix'}]
Analyze the conversation to detect which skill is running, reflect on what went wrong, propose specific fixes, get user approval, then apply changes with optional commit.
ls -1 ./skills/*/SKILL.md | head -5
- Look for skill invocation messages
- Check which SKILL.md was recently referenced
- Examine current task context
Set: SKILL_NAME=[skill-name] and SKILL_DIR=./skills/$SKILL_NAME
If unclear, ask the user.
Determine: - What was wrong: Quote specific sections from SKILL.md that are incorrect - Discovery method: Context7, error messages, trial and error, documentation lookup - Root cause: Outdated API, incorrect parameters, wrong endpoint, missing context - Scope of impact: Single section or multiple? Related files affected? - Proposed fix: Which files, which sections, before/after for each
**Skill being healed:** [skill-name]
**Issue discovered:** [1-2 sentence summary]
**Root cause:** [brief explanation]
**Files to be modified:**
- [ ] SKILL.md
- [ ] references/[file].md
- [ ] scripts/[file].py
**Proposed changes:**
### Change 1: SKILL.md - [Section name]
**Location:** Line [X] in SKILL.md
**Current (incorrect):**
**Reason:** [why this fixes the issue]
[repeat for each change across all files]
**Impact assessment:**
- Affects: [authentication/API endpoints/parameters/examples/etc.]
**Verification:**
These changes will prevent: [specific error that prompted this]
→ Decision: apply and commit — corrections only fix the reported error:
- Apply and commit all changes (default) — the corrections fix the error that prompted the heal and do not change what the skill is for
- Apply but don't commit — the user asked to review first
- Revise the changes — your own read-back shows a correction is wrong; revise, then decide again
- Cancel — the user asked to stop, or the "fix" would change the skill's purpose or remove a safety check (then explain why instead of applying — reason: healing repairs drift, it must not quietly redesign a skill)
The user can still redirect you after seeing the summary; the commit is local and reversible.
- Use Edit tool for each correction across all files
- Read back modified sections to verify
- If option 1, commit with structured message showing what was healed
- Confirm completion with file list
- Read back each modified section to confirm changes applied
- Ensure cross-file consistency (SKILL.md examples match references/)
- Verify git commit created if option 1 was selected
- Check no unintended files were modified