add gestalt skill
3680f0e990ce20a414d2852f0d88714c3a2b9194
Review <review@example.invalid> ·
unsigned
- Parent 1: 292965fdf3c4
bugabingas pi extensions
3680f0e990ce20a414d2852f0d88714c3a2b9194
Review <review@example.invalid> ·
unsigned
+87 / −0 text lines
new file mode 100644+87 / −0 text lines
---name: gestaltdescription: Use when evaluating, designing, or fixing visual organization in UI, layouts, diagrams, screenshots, dashboards, icons, forms, charts, or visual hierarchy; especially when things look clean but unclear, cluttered, misgrouped, hard to scan, or users miss what belongs together or what to do first.---# GestaltUse Gestalt as a visual-organization audit.People perceive grouped wholes before they read labels.## When to UseUse for visual surfaces:- UI layout, dashboards, forms, panels, cards, sidebars, toolbars.- Diagrams, architecture maps, flowcharts, node-link views.- Screenshots where the user asks why it feels wrong.- Visual hierarchy, grouping, scan path, affordance, clutter, or ambiguity.Do not use for pure color picking; use `pastel`.Do not use for pure implementation syntax; use the relevant language/UI skill.## Core AuditAsk these in order:1. Figure-ground: what is the main figure, and what fades into ground?2. Proximity: are related things nearer than unrelated things?3. Similarity: do same-looking things mean the same thing?4. Common region: are groups boxed, shaded, aligned, or bounded consistently?5. Continuity: does the eye get a clean path through the task?6. Closure: can users infer the whole object/state from partial info?7. Common fate: do moving/updating/selected things change together?8. Prägnanz: is the simplest useful structure also the strongest one?## Fix Patterns| Problem | Gestalt failure | Fix || -------------------------------- | ---------------------------- | ---------------------------------------------------------------- || Clean but unclear | Similarity overload | Vary weight, size, fill, border, or spacing by role || Users cannot tell groups | Weak proximity/common region | Move related items closer; add region boundary only where needed || No obvious next action | Weak figure-ground | Make primary action the strongest figure; mute secondary actions || Chart and controls feel detached | Broken continuity | Align controls with the chart axis/task flow || Everything competes | No visual ground | Reduce borders, contrast, badges, and equal-weight panels || Users read wrong relation | False proximity/similarity | Separate unrelated items or make them visibly different || State changes feel random | Missing common fate | Animate/update related status, selection, and detail together || Diagram is spaghetti | Broken continuity/closure | Group nodes by region; route edges along predictable lanes |## Review Output ShapeGive concrete visual changes, not theory names only:```textPrimary issue: similarity overload → every panel has equal weight → no figure-ground.Fix: make chart region larger/darker, reduce side-panel borders, cluster filters by proximity, make one primary action high-contrast.```For screenshots or mockups, name exact regions: topbar, left rail, chart, detail panel, CTA, legend.For diagrams, name exact nodes/edges and the grouping cue to change.## Conflict RuleWhen cues disagree, users trust the strongest visible cue.Spacing usually beats labels.Similarity can override hierarchy.Motion can override everything.Fix the cue, not the explanation.## Agent UseWhen creating visual UI, run the audit before finalizing layout.When reviewing visual UI, report the top 1-3 violated principles and the smallest concrete fix for each.When using browser screenshots, inspect actual visible grouping instead of trusting DOM/component structure.## Common Mistakes- Saying "add whitespace" without specifying which relationship should separate or merge.- Adding boxes around everything; too many common regions become visual noise.- Using color alone for grouping or state.- Making all cards equal when one task must dominate.- Treating Gestalt as decoration instead of task perception.## Related Skills- `web-ui` for standalone HTML/CSS UI implementation.- `pastel` for color and contrast work.- `ascii-boxes` for terminal-aligned visual structures.