Templates
Templates are reusable artifacts that kick-start new work. Ptah ships two flavors in one unified catalog:
- Project scaffolds — full folder layouts with files, configs, and starter code (e.g. a new Angular feature module).
- Prompt templates — structured prompts and agent definitions that can be applied to an existing workspace (e.g. the
frontend-developerorsecurity-auditoragent).
Where templates come from
Section titled “Where templates come from”Like plugins, templates are not bundled in the installer. They are downloaded from the public GitHub repository via the same ContentDownloadService and cached under:
~/.ptah/templates/This means the template catalog stays fresh without requiring a Ptah update.
What’s in the template catalog
Section titled “What’s in the template catalog”| Category | Examples |
|---|---|
| Agent definitions | frontend-developer, backend-developer, security-auditor, devops-engineer |
| Project scaffolds | Angular feature module, Nx library, Express service |
| Prompt recipes | Code review prompt, architecture review prompt, test generation |