github OthmanAdi/planning-with-files v2.26.2
v2.26.2 — Fix: YAML frontmatter parsing broken by hook commands

latest releases: v2.37.0, v2.36.3, v2.36.2...
one month ago

What's Fixed

The --- literal inside the UserPromptSubmit hook command was being interpreted as a YAML document separator, breaking the entire skill:

  • Skill description corrupted — showed hook command fragments instead of the actual description
  • Hooks failed to register — caused PreToolUse:Write hook error on every tool call
  • Session recovery after /clear did not work — because the hook never fired correctly

The bug

# BEFORE (broken) — the '---' breaks YAML parsing:
command: "...echo '--- recent progress ---'; tail -20 progress.md..."

# AFTER (fixed) — safe separator:
command: "...echo '=== recent progress ==='; tail -20 progress.md..."

How to update

npx skills add OthmanAdi/planning-with-files --skill planning-with-files -g

Fixed across all 11 affected files (canonical + 6 IDE SKILL.md copies + Mastra hooks.json + Cursor hook scripts + test).

If you installed v2.26.1 and session recovery still didn't work, this is why. Update to v2.26.2.

Don't miss a new planning-with-files release

NewReleases is sending notifications on new releases.