Giverny

Frontmatter Guard

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…

by Garry Tan★ 33,756General

What Frontmatter Guard 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.

How to install Frontmatter Guard in Claude Code

Giverny gives you a ready prompt with the exact install command from garrytan/gbrain. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone garrytan/gbrain and copy the skills/frontmatter-guard folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Frontmatter Guard on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the frontmatter-guard skill on my current project.”

More Claude skills for general