Skip to main content

Template Format

Templates are .md files with YAML frontmatter and a Markdown body. The body is the system prompt sent to the AI provider.


File Structure​

---
YAML frontmatter (metadata)
---

Markdown body (system prompt)

Frontmatter Fields​

Required​

FieldTypeDescription
idstringUnique slug identifier (must match filename)
titlestringHuman-readable template name
descriptionstringShort description of the template's purpose
categorystringCategory for grouping
tagsstring[]Tags for filtering and search
createdAtstringISO 8601 creation timestamp
updatedAtstringISO 8601 last-modified timestamp

Optional​

FieldTypeDescription
authorstringTemplate author name
versionstringSemantic version (e.g., 1.0.0)
variablesTemplateVariable[]List of user-fillable variable definitions

Variables​

Variables allow templates to accept user input before generating. They are referenced in the body using {{name}} syntax.

Variable Fields​

FieldTypeRequiredDescription
namestringYesVariable identifier (used as {{name}} in body)
labelstringYesHuman-readable label shown in UI
defaultstringNoDefault value if user doesn't provide one
requiredbooleanNoWhether the variable must be filled

Standard Categories​

CategoryDescription
developmentCoding, debugging, code review
communicationEmails, messages, documentation
writingCreative writing, editing
generalGeneral-purpose prompts
dataData analysis, transformation
designUI/UX, design feedback

Storage​

TypePathPermissions
Localtemplates/local/Read-write
Communitytemplates/community/Read-only

Templates with nested categories use subdirectories. For example, a template with category code/frontend is stored at templates/local/code/frontend/.


File Naming​

The filename must match the id field in the frontmatter:

bug-report.md → id: bug-report
code-review.md → id: code-review

Complete Example​

---
id: bug-report
title: Bug Report Generator
description: Generate detailed, structured bug reports from a brief description
category: development
tags:
- bugs
- qa
- testing
author: GetThatQuick
version: 1.0.0
variables:
- name: severity
label: Bug Severity
default: medium
required: true
- name: platform
label: Target Platform
default: web
required: false
createdAt: "2026-01-15T10:00:00.000Z"
updatedAt: "2026-03-01T12:00:00.000Z"
---

You are a senior QA engineer. Given a brief description of a bug, generate a detailed bug report.

**Severity:** {{severity}}
**Platform:** {{platform}}

The report must include:
1. **Title** — Clear, concise summary
2. **Steps to Reproduce** — Numbered steps
3. **Expected Behavior** — What should happen
4. **Actual Behavior** — What actually happens
5. **Environment** — OS, browser, versions
6. **Additional Context** — Screenshots, logs, related issues

Use professional language. Be specific and actionable.