Repository navigation
Template Authoring
Leonard Ramminger edited this page Aug 22, 2026
·
2 revisions
Overview for anyone who wants to write their own templates.
| Step | Topic | Page |
|---|---|---|
| 1 | Minimal template | Your First Template |
| 2 | Manifest | template.lua Reference |
| 3 | Questions | questions.lua Reference |
| 4 | Files | Files & Prebyte |
| 5 | Layout | layout.lua |
| 6 | Layering | Includes & Layering |
| 7 | Hooks | Hooks (Authors) |
| 8 | Quality | Template Quality |
| 9 | Tests | Template Tests |
| 10 | Updates | Versioning & Reapply |
templates/my_app/
template.lua # required
questions.lua # recommended
files/ # required (may be empty with subdirs)
README.md.pbt
Optional: layout.lua, hooks/, scripts/, tests/, .env, includes.lua
tempify validate my_app
tempify lint my_app
tempify inspect my_app
tempify test my_app
tempify my_app /tmp/out --set ...See Example Catalog (tests/test_templates/).
A tempify new template scaffold is not implemented yet - templates are created manually or by copying.
Tempify · Repository · Issues · Releases
Documentation lives in this wiki. For a build quickstart, see the README in the repository.
Prebyte (template engine) is a separate project bundled by Tempify.
- CLI Reference
- Questions & Answers
- Configuration
- Render Options
- Hooks (Users)
- Reapply & Diff
- Shared Template Store
- Prebyte Passthrough
- Shell Completion