repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

add gestalt skill

3680f0e990ce20a414d2852f0d88714c3a2b9194

Review <review@example.invalid> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

+87 / −0 text lines

Diff layout

skills/gestalt/SKILL.md

Added
new file mode 100644

+87 / −0 text lines

1---
2name: gestalt
3description: 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.
4---
5
6# Gestalt
7
8Use Gestalt as a visual-organization audit.
9People perceive grouped wholes before they read labels.
11## When to Use
13Use for visual surfaces:
15- UI layout, dashboards, forms, panels, cards, sidebars, toolbars.
16- Diagrams, architecture maps, flowcharts, node-link views.
17- Screenshots where the user asks why it feels wrong.
18- Visual hierarchy, grouping, scan path, affordance, clutter, or ambiguity.
20Do not use for pure color picking; use `pastel`.
21Do not use for pure implementation syntax; use the relevant language/UI skill.
23## Core Audit
25Ask these in order:
271. Figure-ground: what is the main figure, and what fades into ground?
282. Proximity: are related things nearer than unrelated things?
293. Similarity: do same-looking things mean the same thing?
304. Common region: are groups boxed, shaded, aligned, or bounded consistently?
315. Continuity: does the eye get a clean path through the task?
326. Closure: can users infer the whole object/state from partial info?
337. Common fate: do moving/updating/selected things change together?
348. Prägnanz: is the simplest useful structure also the strongest one?
36## Fix Patterns
38| Problem | Gestalt failure | Fix |
39| -------------------------------- | ---------------------------- | ---------------------------------------------------------------- |
40| Clean but unclear | Similarity overload | Vary weight, size, fill, border, or spacing by role |
41| Users cannot tell groups | Weak proximity/common region | Move related items closer; add region boundary only where needed |
42| No obvious next action | Weak figure-ground | Make primary action the strongest figure; mute secondary actions |
43| Chart and controls feel detached | Broken continuity | Align controls with the chart axis/task flow |
44| Everything competes | No visual ground | Reduce borders, contrast, badges, and equal-weight panels |
45| Users read wrong relation | False proximity/similarity | Separate unrelated items or make them visibly different |
46| State changes feel random | Missing common fate | Animate/update related status, selection, and detail together |
47| Diagram is spaghetti | Broken continuity/closure | Group nodes by region; route edges along predictable lanes |
49## Review Output Shape
51Give concrete visual changes, not theory names only:
53```text
54Primary issue: similarity overload → every panel has equal weight → no figure-ground.
55Fix: make chart region larger/darker, reduce side-panel borders, cluster filters by proximity, make one primary action high-contrast.
56```
58For screenshots or mockups, name exact regions: topbar, left rail, chart, detail panel, CTA, legend.
59For diagrams, name exact nodes/edges and the grouping cue to change.
61## Conflict Rule
63When cues disagree, users trust the strongest visible cue.
64Spacing usually beats labels.
65Similarity can override hierarchy.
66Motion can override everything.
67Fix the cue, not the explanation.
69## Agent Use
71When creating visual UI, run the audit before finalizing layout.
72When reviewing visual UI, report the top 1-3 violated principles and the smallest concrete fix for each.
73When using browser screenshots, inspect actual visible grouping instead of trusting DOM/component structure.
75## Common Mistakes
77- Saying "add whitespace" without specifying which relationship should separate or merge.
78- Adding boxes around everything; too many common regions become visual noise.
79- Using color alone for grouping or state.
80- Making all cards equal when one task must dominate.
81- Treating Gestalt as decoration instead of task perception.
83## Related Skills
85- `web-ui` for standalone HTML/CSS UI implementation.
86- `pastel` for color and contrast work.
87- `ascii-boxes` for terminal-aligned visual structures.