Skip to content

Metadata Enrichment

YAML frontmatter system with consistent tagging

Enrich your documents with metadata
/CC.m1.lb5
  • Explain the purpose and syntax of YAML frontmatter for document metadata
  • Design a personal metadata schema with appropriate fields, types, and controlled vocabulary
  • Use Claude Code to add, query, and validate metadata across vault documents
ConceptDescription
YAML FrontmatterStructured metadata at the top of a Markdown file, enclosed by triple dashes, that makes documents searchable.
Metadata SchemaThe defined structure of fields, allowed values, and rules that govern how you tag your documents.
Controlled VocabularyA limited set of approved values for category fields like status and type, ensuring consistency.
Key-Value PairsThe fundamental YAML syntax where a field name is followed by a colon and its value.
ISO Date FormatThe standard YYYY-MM-DD format for dates that is unambiguous and sorts correctly.
Tag GlossaryA reference document listing approved tags, their definitions, and when to use each one.
Status WorkflowA sequence of defined states (draft, review, final, archived) that documents progress through.
  • knowledge-vault/ - Files with YAML frontmatter and tagging

“This is like giving every document a library card. Before, I had to remember where things were. Now I can just ask: ‘What’s in draft status?’ or ‘Show me everything about DataFlow.’ My vault is actually searchable!”


Navigation: Lab 4: Document Templates | Module Overview | Module 2: Processing Data