Skip to main content

Fill the Frontmatter

Type: ReferenceCreated: Last reviewed: Team: Platform
published

Why frontmatter matters

A YAML block at the top of every doc — required because it's what makes the handbook searchable, ownable, and self-checking.

The fields

FieldRequiredMeaning
titleyesHuman-readable. Not the filename.
descriptionyesOne sentence, 20–200 chars. Shown in search.
doc_typeyesSlug from shared/doc-types.ts. See Pick the Right Doc Type.
owner_teamyesSlug from shared/teams.ts. Never a person. See Pick the Right Team.
statusyesdraft, review, published, or deprecated. See The Doc Lifecycle.
createdyesISO date when first written. Treat as historical.
last_reviewednoISO date when last confirmed correct. Drives the freshness gradient.

Example

---
title: How User Authentication Works
description: How sign-in, sessions, and tokens fit together.
doc_type: explanation
owner_team: engineering
status: published
created: 2025-09-12
last_reviewed: 2026-01-15
---