mimic_ai_knowledge_write
Saves design rules, components, patterns, or gaps to Mimic's knowledge store, enabling the system to learn and apply consistent design decisions across future builds.
Instructions
Saves a component recipe, layout pattern, DS gap, or user-defined design rule to the persistent knowledge store — the mechanism that lets Mimic learn across builds. Use "rule" when the user corrects build behavior in a generalizable way (e.g. "cards always have a header + content frame"); other types are usually written automatically by the build pipeline. Params: type ("component"|"pattern"|"gap"|"rule", required), id (unique key, required), data (entry payload, required).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for the entry. | |
| data | Yes | The entry data to store. | |
| type | Yes | Type of knowledge entry to save. Use "rule" for user-defined design rules that should be followed on every build (e.g., color semantics, card structure, component usage patterns). |