Skip to content

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-developer or security-auditor agent).

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.

CategoryExamples
Agent definitionsfrontend-developer, backend-developer, security-auditor, devops-engineer
Project scaffoldsAngular feature module, Nx library, Express service
Prompt recipesCode review prompt, architecture review prompt, test generation