Fix incorrect SKILL.md files when a skill has wrong instructions or outdated API references
Install
npx skillscat add vitadynamics/vita-cc-market/heal-skill Install via the SkillsCat registry.
SKILL.md
Heal Skill Skill
Purpose: Fix incorrect SKILL.md files when a skill has wrong instructions or outdated API references.
Update a skill's SKILL.md and related files based on corrections discovered during execution.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.
- 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.
</step_1>
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</step_2>
**Before:** [incorrect text]
**After:** [corrected text]
**Reasoning:** [why this change is needed]Get user approval via AskUserQuestion for each significant change.
</step_3>
- Use
Readto load current file - Use
Editwith exact old_string/new_string - Verify changes with
Readafter editing - Optionally run tests or validation commands</step_4>
- Check status:
git status - Add changes:
git add [files] - Commit:
git commit -m "fix(skill): correct [specific issue]"
Present commit hash to user.
</step_5>