Валидация и автоисправление YAML-frontmatter
documentation
frontmatter-guard is a Claude Code skill that validates and auto-repairs YAML frontmatter on GBrain pages, catching malformed entries before they reach the knowledge base. It targets specific failure modes: missing closing `---`, nested quotes, slug mismatches, null bytes, empty frontmatter, and YAML parse failures. Internally it wraps the `gbrain frontmatter` CLI, fitting naturally into an agent-driven workflow. The skill applies both at write time and during periodic audits of accumulated content — making it a practical choice for anyone maintaining the integrity of a large personal or company brain with tens of thousands of pages.
- #audit
- #documentation
- #data