dna
Define and update default header, footer, and style presets that auto-apply to every document creation call.
Instructions
Manage the project's Document DNA — header/footer/style defaults that auto-apply to every create-doc call. Actions: 'init' (one-time setup with companyName/header/footer/stylePreset), 'get' (current config + project profile), 'evolve' (analyze usage trends; with apply:true, MUTATES dna config and may auto-create blueprints — irreversible without manual cleanup), 'save-memory'/'delete-memory' (project-wide preferences keyed by string).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Memory key (save-memory: optional, auto-generated; delete-memory: required). | |
| apply | No | evolve only: when true, AUTO-MUTATES the dna config based on top suggestion. Off by default — review suggestions first. | |
| action | Yes | DNA action. | |
| memory | No | save-memory only: a short preference statement (e.g. 'Always use 1-inch margins for contracts'). | |
| threshold | No | evolve only: minimum documents before suggesting a mutation (default 5). | |
| footerText | No | Default footer text (init only). Use {current}/{total} for page numbers. | |
| headerText | No | Default header text (init only). | |
| companyName | No | Company name (init only) — used as default header text. | |
| stylePreset | No | Style preset. 'claude-like' (modern blue-accented professional) is the default for general-purpose docs. 'professional' is the executive serif look. Auto-selected from category if omitted. | |
| footerAlignment | No | Default footer alignment (init only). | |
| headerAlignment | No | Default header alignment (init only). |