Sign inGet started
–

frontmatter-guard

by garrytan/gbrain · Documents & PDF

Scans and repairs YAML frontmatter in markdown brain pages, catching malformed metadata like missing delimiters, nested quotes, and slug mismatches before files sync, and guides safe fixes with backup

Lift · GLM-5.3-flash—untestable in our sandbox · why ↓
91
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
LicenseMITserved via MCP

What it does

Validate and auto-repair YAML frontmatter on brain pages. Catches malformed pages before they enter the brain (missing closing ---, nested quotes, slug mismatches, null bytes, empty frontmatter, YAML parse failures), explains files sync holds instead of importing, and drives the previewed `gbrain repair frontmatter` fix. Wraps the `gbrain frontmatter` CLI for agent-driven workflows.

#frontmatter#linting#markdown#repair#validation#yaml

Quality judgment

completeness
9.0/10
clarity
8.5/10
trigger quality
6.5/10
examples
8.5/10
structure
8.5/10
overall
8.5/10

Exceptionally thorough: covers validation classes, hold records, repair flows, prevention, failure modes, and anti-patterns with concrete commands and output envelopes. Trigger section is thin (five literal phrases, no contextual triggers), and the doc is long enough that some sections (prevention, holds) could be split, but content quality is excellent.

Files (3)

LICENSE · 1.0 KBrouting-eval.jsonl · 0.7 KBSKILL.md · 15.7 KB