Publications tag taxonomy spec
Publications tag taxonomy spec
This document defines how type and tags should be used in _publications/*.md.
Source of truth
- Canonical publication tag taxonomy:
_data/publication_tags.yml - Allowed publication format values:
type_valuesin_data/publication_tags.yml - Validator:
scripts/validate_publication_tags.sh
Why this exists
- Keep publication metadata semantically clean.
- Prevent drift between venue/platform labels and topical tags.
- Make publication filters and topic chips stable over time.
Tagging rules
typeis required and stores publication format (article,preprint,chapter,thesis,software).tagsmust contain topical slugs only, from_data/publication_tags.yml.tagsmust not repeattypevalues.tagsmust not contain venue/platform labels (for example journal names orbiorxiv).- Use lowercase, hyphenated slugs only.
- Recommended cardinality:
3-5tags per publication.
Front matter pattern
type: article
tags: [birds, phylogenomics, macroevolution]
Validation workflow
Run:
./scripts/validate_publication_tags.sh
Expected behavior:
- exits
0if all publication tags are canonical and valid. - exits non-zero and prints file-specific errors otherwise.
Maintenance
- If a genuinely new topical area is needed, first add a new tag slug in
_data/publication_tags.yml, then use it in publication front matter. - If tag policy changes, update this file and
agents/INDEX.mdin the same change.