When this fires
User asks "how should this look?", "is this UX good?", "what component to use?", or is about to commit design-level changes. Cross-phase; most useful in Phase 20/30 spec authoring and Phase 40 execution.
Preconditions
- None (works at any phase).
Execution Workflow
Pack detection: Inspect the ambient skill list for skills with plugin namespace matching matilha-*-pack (e.g., matilha-ux-pack:*, matilha-growth-pack:*, matilha-design-pack:* if installed). Group by plugin namespace. See skills/matilha-compose/SKILL.md for the canonical detection logic.
Intent classification: Does the user's design question touch cognitive load, error presentation, forms, accessibility, visual perception, growth-relevant moments (signup, paywall, activation), or broader design-system concerns? Use pack skill descriptions to inform the decision. Classify per pack: yes / no / partial.
Route based on intent:
- Narrow intent (e.g., "which form component?", "what error format?"): invoke the single most relevant pack skill directly via the Skill tool. No preamble needed.
- Exploratory intent (e.g., "how should this flow feel?", "is this UX good?"): if
superpowers:brainstorming available AND ≥1 pack classified yes, build preamble per matilha-compose Step 4 template, emit it, then invoke brainstorming via Skill tool.
- No packs installed OR packs irrelevant: apply core heuristics inline — simplicity (Krug Fato 1), recognition > recall (Weinschenk), progressive disclosure, consistent navigation, 5-rule error format.
Emit design guidance linked to the user's current task.
Rules: Do
- Prefer companion-pack skills when available (they carry neuroscience-backed depth).
- Cite sources in core heuristics (Weinschenk, Krug, wiki concept pages).
- Keep advice specific to the user's artifact.
Rules: Don't
- Make subjective "good/bad" claims without evidence.
- Override user's explicit
aesthetic_direction in project-status.md.
Expected Behavior
Actionable design guidance. With companion pack installed, output quality is deeper; without companions, output is solid-core but less specialized.
Quality Gates
- Output references at least one heuristic (source cited).
- If companion pack invoked, mentions which one and why.
Companion Integration
Companion-pack awareness is handled via the pack detection + intent classification in steps 1–3 of the Execution Workflow. See skills/matilha-compose/SKILL.md for the canonical pack detection and preamble template.
- Any skill with plugin namespace
matilha-*-pack (e.g., matilha-ux-pack:ux-*, matilha-ux-pack:cog-*, matilha-growth-pack:*, matilha-design-pack:* when installed) — detected at runtime via ambient skill list. Narrow-intent design questions invoke the most relevant pack skill directly; exploratory-intent questions emit a pack-aware preamble to superpowers:brainstorming.
- superpowers:brainstorming — invoked for exploratory-intent design questions (with pack-aware preamble emitted when ≥1 pack classifies yes).
- Otherwise: apply the core heuristics documented in Step 3 (simplicity, recognition > recall, progressive disclosure, consistency, 5-rule errors).
Output Artifacts
Usually chat output only; occasionally a commit to docs/matilha/design-decisions.md logging the decision with rationale.
Example Constraint Language
- Use "must" for: cite source for any design claim.
- Use "should" for: delegate to pack when available.
- Use "may" for: log decision in
design-decisions.md if impactful.
Troubleshooting
- "no pack installed and user wants deep guidance": Recommend installing
matilha-ux-pack or matilha-design-pack.
- "aesthetic_direction set but user wants to deviate": Log the deviation decision in
recent_decisions via Edit.
CLI shortcut (optional)
No CLI equivalent (design guidance is inherently AI-conversational).
Sources
- [[concepts/leis-de-krug]]
- [[concepts/reservatorio-boa-vontade]]
- [[concepts/memoria-cognicao]]
- [[sources/100-things-every-designer]]
1---2name: matilha-design3description: Use when user is making UX, UI, or visual-design decisions in any phase — guides via core design heuristics and delegates to matilha-design-pack or matilha-ux-pack if installed.4---56## When this fires78User asks "how should this look?", "is this UX good?", "what component to use?", or is about to commit design-level changes. Cross-phase; most useful in Phase 20/30 spec authoring and Phase 40 execution.910## Preconditions1112- None (works at any phase).1314## Execution Workflow15161. **Pack detection**: Inspect the ambient skill list for skills with plugin namespace matching `matilha-*-pack` (e.g., `matilha-ux-pack:*`, `matilha-growth-pack:*`, `matilha-design-pack:*` if installed). Group by plugin namespace. See `skills/matilha-compose/SKILL.md` for the canonical detection logic.17182. **Intent classification**: Does the user's design question touch cognitive load, error presentation, forms, accessibility, visual perception, growth-relevant moments (signup, paywall, activation), or broader design-system concerns? Use pack skill descriptions to inform the decision. Classify per pack: yes / no / partial.19203. **Route based on intent**:21 - **Narrow intent** (e.g., "which form component?", "what error format?"): invoke the single most relevant pack skill directly via the Skill tool. No preamble needed.22 - **Exploratory intent** (e.g., "how should this flow feel?", "is this UX good?"): if `superpowers:brainstorming` available AND ≥1 pack classified yes, build preamble per `matilha-compose` Step 4 template, emit it, then invoke brainstorming via Skill tool.23 - **No packs installed OR packs irrelevant**: apply core heuristics inline — simplicity (Krug Fato 1), recognition > recall (Weinschenk), progressive disclosure, consistent navigation, 5-rule error format.24254. Emit design guidance linked to the user's current task.2627## Rules: Do2829- Prefer companion-pack skills when available (they carry neuroscience-backed depth).30- Cite sources in core heuristics (Weinschenk, Krug, wiki concept pages).31- Keep advice specific to the user's artifact.3233## Rules: Don't3435- Make subjective "good/bad" claims without evidence.36- Override user's explicit `aesthetic_direction` in project-status.md.3738## Expected Behavior3940Actionable design guidance. With companion pack installed, output quality is deeper; without companions, output is solid-core but less specialized.4142## Quality Gates4344- Output references at least one heuristic (source cited).45- If companion pack invoked, mentions which one and why.4647## Companion Integration4849Companion-pack awareness is handled via the pack detection + intent classification in steps 1–3 of the Execution Workflow. See `skills/matilha-compose/SKILL.md` for the canonical pack detection and preamble template.5051- **Any skill with plugin namespace `matilha-*-pack`** (e.g., `matilha-ux-pack:ux-*`, `matilha-ux-pack:cog-*`, `matilha-growth-pack:*`, `matilha-design-pack:*` when installed) — detected at runtime via ambient skill list. Narrow-intent design questions invoke the most relevant pack skill directly; exploratory-intent questions emit a pack-aware preamble to `superpowers:brainstorming`.52- **superpowers:brainstorming** — invoked for exploratory-intent design questions (with pack-aware preamble emitted when ≥1 pack classifies yes).53- Otherwise: apply the core heuristics documented in Step 3 (simplicity, recognition > recall, progressive disclosure, consistency, 5-rule errors).5455## Output Artifacts5657Usually chat output only; occasionally a commit to `docs/matilha/design-decisions.md` logging the decision with rationale.5859## Example Constraint Language6061- Use "must" for: cite source for any design claim.62- Use "should" for: delegate to pack when available.63- Use "may" for: log decision in `design-decisions.md` if impactful.6465## Troubleshooting6667- **"no pack installed and user wants deep guidance"**: Recommend installing `matilha-ux-pack` or `matilha-design-pack`.68- **"aesthetic_direction set but user wants to deviate"**: Log the deviation decision in `recent_decisions` via Edit.6970## CLI shortcut (optional)7172> No CLI equivalent (design guidance is inherently AI-conversational).7374## Sources7576- [[concepts/leis-de-krug]]77- [[concepts/reservatorio-boa-vontade]]78- [[concepts/memoria-cognicao]]79- [[sources/100-things-every-designer]]