Templates
Templates are reusable instruction sets for AI coding agents. They define what an agent should do when working on a task, and can include dynamic content that adapts to each task’s context.
Understanding Templates
Section titled “Understanding Templates”A template contains:
- Name - A short, descriptive title
- Description - What the template does (max 120 characters)
- Template Content - The actual instructions with optional replacement fields
Templates can be used directly or assigned to stages as activities. When assigned to a stage, the template provides context-aware instructions for tasks in that stage.
Template Types
Section titled “Template Types”Neova supports two types of templates:
| Type | Scope | Storage | Use Case |
|---|---|---|---|
| Project Templates | Single project | .neova/activities/ | Project-specific workflows |
| Global Templates | All projects | User data folder | Reusable across projects |
Project Templates
Section titled “Project Templates”Project templates are stored within your project and are only available in that project. They’re ideal for:
- Project-specific coding standards
- Custom workflows unique to your codebase
- Templates that reference project-specific files or patterns
Global Templates
Section titled “Global Templates”Global templates are stored in your user data folder and available across all projects. They’re ideal for:
- General-purpose instructions (debugging, code review, testing)
- Personal productivity templates
- Templates you want to reuse across multiple projects
Accessing Templates
Section titled “Accessing Templates”To manage templates:
- Navigate to Settings in the sidebar
- Click the Templates tab
- Select either Project Templates or Global Templates
Creating a Template
Section titled “Creating a Template”- Click the Add Template button
- Fill in the template details:
- Title - A descriptive name (e.g., “Code Review”, “Write Unit Tests”)
- Description - Brief explanation of what it does
- Template Content - The instructions for the AI agent
- Click Create Template
Writing Template Content
Section titled “Writing Template Content”Template content is plain text with optional replacement fields. Write clear, specific instructions:
Review the following task and provide implementation guidance.
Task: {task.title}Description: {task.description}
Please analyze the requirements and suggest:1. Implementation approach2. Potential challenges3. Testing strategySee Replacement Fields for all available variables.
Using the Editor
Section titled “Using the Editor”The template editor provides:
- Syntax highlighting - Variables are color-coded by type
- Autocomplete - Type
{to see available variables - File references - Type
@to reference project files
Editing a Template
Section titled “Editing a Template”- Click on a template row in the list
- The edit modal opens with current values
- Make your changes
- Click Save Changes
Duplicating a Template
Section titled “Duplicating a Template”To create a copy of an existing template:
- Click the copy icon on the template row
- A new template opens with the content pre-filled
- The name is automatically numbered (e.g., “Code Review 2”)
- Modify as needed and save
Deleting a Template
Section titled “Deleting a Template”- Click the trash icon on the template row
- Confirm the deletion
Searching and Filtering
Section titled “Searching and Filtering”Search
Section titled “Search”Use the search box to filter templates by name or description. The list updates in real-time as you type.
Filter by Stage
Section titled “Filter by Stage”Use the stage dropdown to show only templates that are used as activities in a specific stage. This helps you find templates associated with particular workflow phases.
Importing Templates
Section titled “Importing Templates”You can import templates from another Neova project:
- Click Import Templates
- Select the source project’s
.neova/activitiesfolder - Choose which templates to import
- Resolve any naming conflicts
- Complete the import
This is useful for:
- Sharing templates between projects
- Migrating to a new project
- Backing up and restoring templates
Storage
Section titled “Storage”Project Templates
Section titled “Project Templates”Stored as individual JSON files in:
.neova/activities/{name}-{timestamp}.jsonEach file contains the template definition:
{ "id": "custom-1234567890-abc", "name": "Code Review", "description": "Review code for quality and best practices", "template": "Review the following code...", "isEnabled": true}Global Templates
Section titled “Global Templates”Stored in your user application data folder:
- macOS:
~/Library/Application Support/neova/activities/ - Windows:
%APPDATA%/neova/activities/ - Linux:
~/.config/neova/activities/
Best Practices
Section titled “Best Practices”Writing Effective Templates
Section titled “Writing Effective Templates”- Be specific - Clear instructions produce better results
- Use variables - Dynamic content makes templates more reusable
- Structure your output - Tell the agent what format you expect
- Include context - Reference relevant task information
Organizing Templates
Section titled “Organizing Templates”- Use descriptive names - “Debug React Component” vs “Debug”
- Write clear descriptions - Help future you understand the purpose
- Separate concerns - Create focused templates rather than all-in-one
Project vs Global
Section titled “Project vs Global”- Start with global templates for general tasks
- Create project templates when you need project-specific context
- Consider moving useful project templates to global for reuse