Guide: How to write titles
Naming convention for titles, tags and aliases so search finds things when I'm stuck.
Search is only as good as the titles. Every page and command follows one format, and
npm run lint:content fails the build if it doesn’t.
The format
Section titled “The format”<Type or Tool>: <Verb> <object> (<context>)- Start with the type or tool prefix. Results then group nicely and I can tell what a hit is before opening it.
- Use the verb I’d actually search: check, fix, deploy, rollback, restart, clean, rotate, debug, follow, find.
- Include the symptom or error words I’d type when stuck:
CrashLoopBackOff,disk full,state lock. - Keep it under ~70 characters. Details go in the body, exact error messages go in
aliases.
Prefixes
Section titled “Prefixes”| Type | Prefix | Example |
|---|---|---|
| Command | tool name | Kubernetes: Follow logs of a pod, Docker: Remove dangling images |
| Runbook | Runbook: |
Runbook: Fix pod stuck in CrashLoopBackOff |
| Incident | Incident YYYY-MM-DD: |
Incident 2026-11-20: Disk full on Jenkins agent |
| Gotcha | Gotcha: |
Gotcha: Terraform state lock not released |
| How-to | How-to: |
How-to: Rotate AWS IAM access keys |
| Note | Note: |
Note: Prod cluster network layout |
Command tool prefixes (from src/lib/taxonomy.mjs; add a tool there to get a new prefix):
Linux:Ubuntu:Amazon Linux 2:RHEL / AL2023:SUSE:Git:Docker:Podman:Kubernetes:OpenShift:AWS:Azure:GCP:Terraform:Ansible:Helm:GitHub Actions:GitLab CI:Jenkins:Prometheus:Grafana:Elasticsearch:Trivy:SonarQube:Vault:Istio:Linkerd:Consul:Envoy:
Navigation pages (tool pages, task views, indexes, guides) use type: hub and the prefixes Commands:, Task:, Index:, Guide:, Cheat sheet:, Glossary:.
Good vs. bad
Section titled “Good vs. bad”| ✗ Avoid | ✓ Better | Why |
|---|---|---|
Pod issue |
Runbook: Fix pod stuck in CrashLoopBackOff |
prefix + verb + the error word |
kubectl logs |
Kubernetes: Follow logs of a pod |
describes the goal, not the syntax |
Outage last Tuesday |
Incident 2026-11-20: Disk full on Jenkins agent |
sortable date + what broke |
Terraform notes |
Gotcha: Terraform state lock not released |
one lesson per page, searchable symptom |
How-to: Rotate AWS IAM access keys for the CI user when Security Hub flags them as older than 90 days |
How-to: Rotate AWS IAM access keys |
details go in the body |
Required frontmatter
Section titled “Required frontmatter”---title: "Runbook: Fix pod stuck in CrashLoopBackOff" # follows the formattype: runbook # command | runbook | incident | gotcha | howto | notetags: [kubernetes, debug, logs] # lowercase: tool + taskaliases: [CrashLoopBackOff, "Back-off restarting failed container", k8s]created: 2026-11-18 # drives "Recently added"---- tags: lowercase kebab-case. Use the tool (
kubernetes,terraform…) plus a task tag:logs,deploy,debug,access,cleanup. Task tags put a command on the matching task view. Extra tags (disk,network,rollback) are fine. - aliases: what I might type instead of the title.
- abbreviations:
k8s,tf,gha - old or alternative names:
kubectx,netstat - exact error messages:
ImagePullBackOff,no space left on device,Error acquiring the state lock
- abbreviations:
How search uses this
Section titled “How search uses this”Search (Ctrl+K / ⌘+K) is Pagefind. Titles and aliases get the highest weight (10), tags get 5 and body text the default.
Each result shows the title (with its type prefix) and the tags. Command cards appear as sub-results
of their tool page, so a search for crashloop finds both the runbook and the --previous logs command.
My DevOps Playbook by Angelo John Calleja