precommit-fix
Installation
SKILL.md
Pre-commit Fix
Diagnose and fix pre-commit hook failures for this repo.
Common Failures
rumdl MD041 / MD065 — YAML frontmatter not recognised
Symptom: MD041 First line in file should be a level 1 heading or
MD065 Missing blank line after horizontal rule [fixed] on .claude/agents/*.md
or .claude/skills/*/SKILL.md.
Cause: rumdl treats a lone --- as a Markdown horizontal rule, not as the
start of YAML frontmatter. It inserts a blank line after --- (breaking the
frontmatter) and then fails MD041 because the H1 is no longer the first line.
Fix: Every agent/skill Markdown file must use a proper opening and
closing --- delimiter: