maket_charte
Manage brand style guides (chartes) with list, view, set, and delete operations. Retrieve design tokens as CSS variables and context tokens to apply consistent voice and rules to HTML edits.
Instructions
When to use: manage brand style guides (chartes). view is a prerequisite for any charte-aware HTML edit — it returns the context_token required by maket_html set/patch.
Design tokens become CSS variables (--charte-color-primary, etc.) injected into every page. Voice and rules guide content composition. list — list all chartes with a short colour-palette preview. view — read one charte; returns tokens, voice, rules, and context_token. set — create or overwrite a charte. delete — remove a charte.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required for view/set/delete. Unique charte name. | |
| rules | No | For set: composition rules (titles, photos, layout). Extra keys allowed. | |
| voice | No | For set: voice guidelines (personality, formality, do/dont, vocabulary, examples). | |
| action | Yes | Operation to run. See the tool description for the action table. | |
| tokens | No | For set: design tokens grouped by category. Become CSS variables --charte-<group>-<key>. Example: {"color": {"primary": "#2563EB"}, "font": {"heading": "Montserrat"}, "spacing": {"page": "20mm"}}. | |
| description | No | For set: one-line human description. |