gestalt-principle-application
Apply Gestalt principles (proximity / similarity / closure / continuity / common fate / figure-ground / common region / connectedness) as a design or audit checklist against a layout or component. Produces per-principle finding with severity, improvement recommendation, and before/after description.
What this skill does
# Gestalt Principle Application
You apply the Gestalt principles as a structured checklist against a described layout or component. Either **design mode** (recommend how to apply principles while designing) or **audit mode** (evaluate an existing design against them). Works from text descriptions — you do not render or analyze images.
## Core rules
- **Description-based**: work from the supplied layout description, element list, or structured design spec
- **Per-principle finding**: every principle has an explicit verdict
- **Severity honest**: violation / at-risk / applied-well — no vague "could be improved"
- **Concrete recommendation**: not "improve visual hierarchy" but "group cost breakdown items using shared background and tighter proximity"
- **No fabricated findings**: if the description doesn't reveal enough to judge, say "insufficient detail"
- **No image processing**: this skill takes text descriptions only
## Input handling
| Dimension | Required | Default |
|---|---|---|
| **Subject** (layout / component) | Yes | — |
| **Description** | Yes (≥ enough to judge) | — |
| **Mode** (`design` / `audit`) | No | `audit` if description of existing; `design` if pre-build |
| **Focus principles** | No | All 8 |
## Phase 1 — Setup
```
**Subject**: [name]
**Mode**: [design / audit]
**Description source**: [text / structured element list / wireframe description]
**Principles in scope**: [all 8 or subset]
```
Ask render mode per `diagram-rendering` mixin and output path (default: `/documentation/[case]/gestalt-principle-application/`).
## Phase 2 — Principles checklist
Eight principles covered:
| Principle | Rule | Example application |
|---|---|---|
| **Proximity** | Elements near each other are perceived as grouped | Spacing form fields of same section close; between-section spacing larger |
| **Similarity** | Elements that look alike are perceived as related | Consistent CTA style across related actions |
| **Closure** | Mind completes incomplete shapes | Using partial borders, dotted lines, to imply grouping with less visual weight |
| **Continuity** | Eye follows continuous lines / patterns | Aligning form labels + inputs along a line; carousel dots on a continuous track |
| **Common fate** | Elements moving / changing together are perceived as related | Animating a group of cards on filter change |
| **Figure-ground** | Separation between subject and background | Modal overlay, hero imagery, emphasized CTA contrast |
| **Common region** | Elements within a shared boundary perceived as grouped | Card with bordered region containing related content |
| **Connectedness** | Visually connected elements grouped — stronger than proximity | Lines / arrows between related items |
## Phase 3 — Per-principle analysis
Per principle, produce:
| Field | Description |
|---|---|
| **Principle** | Name |
| **Verdict** | Applied-well / At-risk / Violation / Insufficient-detail |
| **Evidence from description** | What in the description led to the verdict |
| **Impact** | What user-perception problem results from misapplication |
| **Recommendation** | Concrete action (if at-risk or violation) |
| **Priority** | Critical / High / Medium / Low |
If `Insufficient-detail`: name what additional information would allow judgment.
## Phase 4 — Before / after for recommendations
Per recommendation, describe:
- **Current state** (from description)
- **Proposed change** (concrete — not "better spacing" but "reduce between-field spacing from 24px to 8px within a section; increase between-section spacing from 16px to 32px")
- **Expected perception change**
No pixel specifics required if unavailable — describe in relative terms ("reduce proximity within groups; increase between groups").
## Phase 5 — Conflict resolution
Principles can conflict. Surface and resolve:
- Proximity says group close; Common region says use boundary — which wins when both grouping cues conflict with space constraints?
- Similarity + Continuity: consistent styling can reduce differentiation needed for Continuity.
State the trade-off and the chosen approach.
## Phase 6 — A11y cross-check
Gestalt compositions must hold under:
- High-contrast mode
- Zoom 200%/400%
- Reduced-motion (Common Fate weakened)
- Color-blind simulation (Similarity via color alone fails — pair with shape / icon)
- Screen reader (visual grouping invisible — ensure semantic grouping via headings / landmarks / aria-labelledby)
## Phase 7 — Heuristics integration
Note where findings complement other heuristics:
- Nielsen: consistency, minimalist aesthetic
- Norman: visibility, feedback, mapping
Cross-link to `heuristic-evaluation` when both skills are used.
## Phase 8 — Diagrams
### 1. Verdict summary
```mermaid
pie title Gestalt verdict distribution
"Applied-well" : 3
"At-risk" : 3
"Violation" : 1
"Insufficient-detail" : 1
```
### 2. Priority matrix (optional)
```mermaid
quadrantChart
title Gestalt findings — Impact vs Effort
x-axis Low Effort --> High Effort
y-axis Low Impact --> High Impact
quadrant-1 Quick wins
quadrant-2 Strategic
quadrant-3 Low priority
quadrant-4 Investment
Proximity: [0.2, 0.8]
Similarity: [0.3, 0.5]
```
## Phase 9 — Diagram rendering
Per `diagram-rendering` mixin. File names:
- `verdict-distribution.mmd` / `.png`
- `findings-priority.mmd` / `.png` (optional)
## Phase 10 — Report assembly and approval
```markdown
# Gestalt Principle Application: [Subject]
**Date**: [date]
**Subject**: [name]
**Mode**: [design / audit]
**Principles in scope**: [list]
## Scope
[Subject, mode, description source, principles]
## Per-principle Analysis
[Principle / verdict / evidence / impact / recommendation / priority]
## Before / After
[Per recommendation: current → proposed → expected perception change]
## Principle Conflicts
[Where principles clash + resolution]
## Accessibility Cross-check
[High-contrast, zoom, motion, color-blind, SR]
## Heuristics Integration
[Complementary Nielsen / Norman findings]
## Diagrams
[Verdict distribution + optional priority matrix]
## Assumptions & Limitations
[Description gaps, `Insufficient-detail` items]
```
Present for user approval. Save only after confirmation.
## Assessment + generation rules
- Every principle explicitly evaluated
- Honest severity
- Concrete recommendations
- `Insufficient-detail` acceptable — don't fabricate verdict
- Conflicts surfaced
## Failure behavior
| Situation | Behavior |
|---|---|
| No description | Interview mode (§7) |
| Description insufficient | Per-principle `Insufficient-detail` + list what's needed |
| Image input requested | Decline — "Skill works from text descriptions only" |
| User asks for pixel specifics without data | Use relative terms + label `[Example]` |
| All principles applied-well | State honestly + praise specifics |
| mmdc failure | See `diagram-rendering` mixin |
| Out-of-scope (build the design) | "Principles applied; implementation is engineering / design." |
## Self-check
```
[] Subject + mode declared
[] All 8 principles evaluated (or in-scope subset)
[] Verdict per principle (applied-well / at-risk / violation / insufficient-detail)
[] Evidence from description per verdict
[] Recommendation for at-risk / violation
[] Before/after description per recommendation
[] Conflicts surfaced
[] A11y cross-check completed
[] Heuristics integration noted
[] Diagrams valid
[] No fabricated verdicts
[] Report follows output contract
```
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.