af-fix-frontmatter

Fix or create YAML frontmatter metadata in Markdown documentation files.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/GainInsightDev/websites --skill af-fix-frontmatter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-fix-frontmatter
Source: https://github.com/GainInsightDev/websites/tree/main/.claude/skills/af-fix-frontmatter
Command: npx skills add https://github.com/GainInsightDev/websites --skill af-fix-frontmatter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses issues with missing or incorrect YAML frontmatter in documentation files, ensuring that metadata is complete and adheres to validation standards.

Core Features & Use Cases

  • Frontmatter Validation: Checks and corrects YAML frontmatter in Markdown files.
  • Metadata Enrichment: Adds missing required fields like name and description.
  • Use Case: When a documentation build fails due to invalid frontmatter, this Skill can automatically fix the issues, allowing the documentation to be generated successfully.

Quick Start

Use the af-fix-frontmatter skill to validate and correct the frontmatter in the file '/path/to/your/document.md'.

Frequently Asked Questions about af-fix-frontmatter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix invalid YAML frontmatter in a Markdown documentation file?

To fix invalid YAML frontmatter in Markdown files, you can use a validation skill to automatically check and correct missing or incorrect metadata fields. This ensures your documentation headers meet established validation standards.

Why does my documentation build fail due to missing frontmatter metadata?

Documentation builds fail when frontmatter lacks mandatory metadata fields required by validation rules. Automatically fixing this YAML metadata adds the required fields, allowing the documentation to generate successfully without manual header updates.

Can I automatically add required metadata fields to existing Markdown files?

Yes, you can automatically add required metadata fields to existing Markdown files through metadata enrichment. This process updates the YAML frontmatter headers to include mandatory fields, ensuring compliance with documentation validation rules.

What is the best way to ensure documentation metadata complies with bidirectional linking rules?

The best way to ensure documentation metadata complies with bidirectional linking rules is by running a frontmatter validation and correction process. This updates the YAML headers to meet the established standards defined within the documentation system.