frontmatter

Frontmatter is a metadata block, such as a title or date, placed at the top of a text file like a Markdown document.

2 articlesLast mentioned

Frontmatter is a metadata block kept at the top of a text file, such as a Markdown document, separate from the main content. It is usually written in YAML between lines of three hyphens and holds keys and values such as a title, date, tags and description.

Static site generators and documentation tools read these values to build or organize pages. In AI tools, the name and description of an instruction file are often placed in its frontmatter so the tool can tell what the file is for without reading the whole body.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • Levi Strauss Cuts App Delivery From 9 Months to 2.5 With GitHub Copilot AgentsAI in Practice ·

    Each agent is defined in a single Markdown file with a YAML frontmatter header and plain-text system instructions.

    Read article
  • /doctor and a Leaner Claude Setup: Cut Unused Skills and Stale RulesAI in Practice ·

    Claude Code registers skills by reading only the YAML frontmatter, the short header at the top of a skill file, rather than the whole file.

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.