# Prompt Templates Create reusable prompt templates that wrap around your generated context. ## Example Template ```markdown You are a code reviewer. Analyze the following context and provide feedback. {{context}} Focus on: - Code quality - Best practices - Potential bugs {{#if activeNote}} The user is currently working on: {{activeNote}} {{/if}} ``` ## Available Placeholders | Placeholder | Description | |-------------|-------------| | `{{context}}` | The generated context | | `{{activeNote}}` | Currently open note name | | `{{activeNotePath}}` | Full path to active note | | `{{date}}` | Current date (YYYY-MM-DD) | | `{{time}}` | Current time (HH:MM) | | `{{vaultName}}` | Your vault's name | ## Conditionals Use conditionals to include content only when a variable is available: ``` {{#if variable}} Content shown when variable exists {{else}} Fallback content {{/if}} ``` ## Settings | Setting | Description | |---------|-------------| | **Name** | Display name for the template | | **Content** | Template body with placeholders | | **Default** | Use this template automatically when copying |