Use the following workflow when adding a new entry or promoting a scaffold into a real template package.
Choose one of the following first:
- add a real template
- add a scaffold
- add only a new empty category placeholder
Place the template under the most specific category in templates/.
- Use
reports/,articles/,books/,theses/,dissertations/, orlecture-notes/for long-form document families. - Use
slides/for presentation packages. - Use other categories only when the template naturally belongs there.
If the category does not exist yet, introduce it in registry/categories.json, add its category README, and classify it honestly as an empty placeholder until it has an entry.
Each template should live in its own directory, for example:
templates/slides/my-template/
Scaffolds follow the same pattern but should be named and documented as scaffolds rather than real templates.
Each real template package or scaffold should include:
- the template source files
metadata.jsonREADME.md
Use the metadata guide and platform conventions.
At minimum, decide:
kindmaturitystatuspreview_readycompilation_statuslisting_visibilitysort_order
If you create preview assets:
- place thumbnail images under
assets/previews/images/ - place preview PDFs under
assets/previews/documents/ - keep
preview_imageandpreview_documentin metadata aligned with those paths
If you plan to expose a downloadable bundle later, place it under assets/downloads/{slug}.zip.
python3 scripts/build_registry.py
python3 scripts/validate_registry.py
python3 scripts/list_preview_gaps.py
cd web && npm run buildCategory READMEs usually do not need heavy updates unless the category meaning changes or a new family-wide convention is introduced.