Markdown Post Frontmatter Validation

Use when authoring or reviewing the frontmatter of a markdown post — checking required fields (title, date, slug, tags), validating against the content schema in `lib/content/schema.ts`, catching ambiguous date formats or tags not in the controlled vocabulary, and ensuring the slug matches the file path. Activate this skill whenever the task touches files under `content/posts/**/*.md`, the `parsePostFrontmatter()` helper, or any code path that reads YAML frontmatter from a content file. Do NOT use for general YAML schema design (use a generic schema-design skill) or for chasing a specific build-time validation failure (use debugging).

jacob-balslev a583e89 2 files · 5.1 KB Updated

File contents

jacob-balslev/skill-graph/tree/main/examples/projects/markdown-static-site/skills/markdown-post-frontmatter-validation commit a583e89bae

Frequently asked questions

npx skillmds@latest add jacob-balslev/markdown-post-frontmatter-validation