Frontmatter Guard
Enforces YAML frontmatter schema compliance in Markdown vaults by injecting canonical requirements into agent prompts.
Frontmatter Guard is a specialized utility designed to eliminate malformed metadata in Obsidian-style vaults. By programmatically detecting vault-write tasks, it injects the canonical YAML schema—including required fields, specific enum values, and formatting regex—directly into the agent's system prompt. This ensures that AI-generated notes conform to project standards on the first attempt, preventing validation errors that typically interrupt synchronization workflows and requiring zero manual correction from the user.
주요 기능
01434 GitHub stars
02Support for standardized note types including daily, project, and learning notes
03Automated vault-scope detection based on file paths and task intent
04Hash-based forensic tracing to identify and manage schema drift
05Dynamic schema injection derived from a single source of truth
06Deterministic snippet generation with explicit formatting examples
사용 사례
01Ensuring metadata consistency across large-scale Obsidian knowledge bases
02Automating the creation of valid daily and project notes via AI agents
03Preventing session-end synchronization failures caused by malformed YAML