---
name: template-manager
description: Manage, apply, and evolve document templates for consistent output across all document types
title: Template Manager
category: core
status: active
metadata:
  triggers:
  - use template
  - apply template
  - create template
  - manage templates
  - document template
---
## Instructions

Manage document templates for consistent professional output:

1. **Template storage**: `agnt-system/templates/`
   - `agnt-system/templates/documents/` — Word/PDF templates
   - `agnt-system/templates/presentations/` — Slide templates
   - `agnt-system/templates/spreadsheets/` — Excel templates
   - `agnt-system/templates/brand/` — Logos, colors, fonts config

2. **Apply templates**:
   - When creating a document, check for matching templates
   - Apply brand colors, fonts, headers from `brand/` config
   - Use company logo if available
   - Maintain consistent formatting across all outputs

3. **Create templates**:
   - From a well-formatted document: extract as reusable template
   - From user description: generate template with placeholder sections
   - Include metadata: name, type, version, last-updated

4. **Template types**:
   - **Report template**: header, executive summary, body sections, footer
   - **Proposal template**: cover page, sections, pricing table, terms
   - **Invoice template**: header, line items, totals, payment info
   - **Presentation template**: title slide, content slide, section divider, closing
   - **Letter template**: letterhead, body, signature block

## Rules

- Always check for existing templates before creating from scratch
- Templates should be brand-consistent (colors, fonts, logo placement)
- Version templates — don't overwrite, create new versions
- Templates are suggestions, not constraints — user can override any element