design-direction
Skill9 starsChanged 2 months agoMITView on GitHub
Senior frontend judgment before building UI — offer 2–3 approaches on distinct design axes (hierarchy, layout, density, interaction, expression) with tradeoffs; max 1–2 clarifying questions; optional inspiration (Linear/Stripe/…). Use at the start of non-trivial UI work and whenever direction is unclear. Skip for obvious bugfixes, single-token tweaks, or “just implement”. Runs before domain skills.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- Littlpinguin/marketing-cockpit-templatetheir own version, first seen Nov 3, 2026
- w2ur/claude-code-setuptheir own version, first seen Oct 13, 2026
- PM-solomon/design-directiontheir own version, first seen Sep 20, 2026
- fernando-delrio/business-crewtheir own version, first seen Sep 6, 2026
- zrosenfield/sharepoint-ai-skillstheir own version, first seen Aug 4, 2026
- danielmachado60/claude-setuptheir own version, first seen Aug 1, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- zrosenfield/sharepoint-ai-skills★ 96same name
- Littlpinguin/marketing-cockpit-template★ 9same name
- sergeeey/Claude-cod-top-2026★ 9same name
- fernando-delrio/business-crew★ 2same name
- jangles-byte/atelier★ 2same name
- PM-solomon/design-direction★ 2same name
- w2ur/claude-code-setup★ 2same name
- danielmachado60/claude-setup★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/design-system-enforcer.mdcCursor rule
- frontend-expertSkill
- accessibilitySkill
- anti-slop-codeSkill
- anti-slop-designSkill
- app-shellSkill
- architectureSkill
- componentsSkill
- content-designSkill
- data-fetchingSkill
- design-colorSkill
- design-foundationsSkill
- design-surfacesSkill
- design-typographySkill
- design-vocabularySkill
- devtoolsSkill
- engineering-vocabularySkill
- fidelitySkill
- formsSkill
- frontend-expertSkill
- marketingSkill
- monitoringSkill
- motion-inspectionSkill
- motionSkill
- performanceSkill
- polishSkill
- prototypeSkill
- quality-loopSkill
- responsiveSkill
- seoSkill
- skill-authoringSkill
- testingSkill
- tokensSkill
- webglSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 12 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Run this before domain skills when any of these apply:
- Distinctive: line 36
Follow-up turn continuing an already-approved plan
- Very specific: line 44
If DESIGN_MEMORY.md exists in the project root, read it and honor captured tone/density/patterns
- Distinctive: line 49
Ask only what changes the design.
- Distinctive: line 65
Do not offer three near-identical skins.
- Distinctive: line 92
After direction is set:
- Very specific: line 95
Read Tailwind theme / :root / theme file
- Distinctive: line 97
Do not invent a parallel visual language
- Distinctive: line 113
Do not re-litigate the approach mid-build unless new constraints appear.
- Very specific: line 117
Before DONE / Conventions check, verify the built surface against this checklist.
- Distinctive: line 145
When stuck between options, prefer the one that is: clear · fast · consistent · accessible · calm · specific · recoverable.
- Distinctive: line 152
Prefer content and hierarchy over decoration
- Distinctive: line 159
Ask more than 2 questions up front
- Distinctive: line 161
Start a temporary design-lab route unless the user explicitly asks to explore in-browser
- Distinctive: line 162
Start coding blank-canvas UI before a direction is set (unless skip rules apply)
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Judgment
Overview
Feel like a senior frontend engineer: decide with the user, then build. Do not dump a generic UI for blank-canvas work. This skill is a short gate before tokens / components / etc.
This pack-authored workflow uses independent design-axis analysis; no external exploration tool is bundled.
When to use (mandatory gate)
Run this before domain skills when any of these apply:
- New page, screen, flow, or blank-canvas layout
- Unspecified information architecture / navigation / density
- Marketing / landing page without a section recipe → load
marketingafter approaches (or with “langsung saja”) - Multiple reasonable visual or interaction directions
- User ask is vague for a new screen (“bikin dashboard”, “UI modern”) — not mere “rapihin” on existing UI (that’s
polish/quality-loop)
When to skip
- Clear bugfix with known expected behavior
- Tiny change (one component prop, one token color, copy tweak)
- User already chose a direction or said “langsung saja” / “just implement”
- Pure
/designaudit with no implementation request - Follow-up turn continuing an already-approved plan
- User only wants micro polish on existing UI (“rapihin detail”, “feels off”) → use
polish - User wants iterate until audit-clean (“sampai bagus”) → use
quality-loop, which may call judgment only on first blank-canvas pass
Workflow
0. Quick context (silent — no questions yet)
- If
DESIGN_MEMORY.mdexists in the project root, read it and honor captured tone/density/patterns - Note whether the project already has tokens / a component library (feeds step 4 handoff)
1. Clarify only if blocked (max 1–2 questions)
Ask only what changes the design. Prefer multiple choice. Do not run a full design-lab interview.
Good single questions (pick at most two total):
| Topic | Example options |
| Density | Compact · Comfortable · Spacious |
| Context | Desktop-first · Mobile-first · Both |
| Pain (redesign) | Cluttered · Unclear hierarchy · Weak mobile · Outdated |
| Inspiration | Linear density · Stripe clarity · Notion flexibility · Apple space |
- Skip questions you can infer from the repo or
DESIGN_MEMORY.md. - Coded side-by-side comparison is
prototype, not this skill. Do not emit five full coded variants here.
2. Offer 2–3 approaches on distinct axes
Do not offer three near-identical skins. Each option should explore a different axis (from design-lab variant thinking):
| Axis | Explores |
| Hierarchy | What is primary? Gestalt grouping; one primary action |
| Layout model | Card vs list vs table vs split-pane / sidebar |
| Density | Compact vs comfortable vs spacious (using project spacing tokens) |
| Interaction | Modal vs inline vs drawer vs page; progressive disclosure |
| Expression | How far to push brand (borders vs soft depth, motion amount) — still on-token |
Present 2–3 options (not 5 coded mocks). Label each with its axis.
For each option:
- Name + axis (short)
- What it looks/behaves like (1–2 sentences)
- Tradeoff (clarity, density, a11y, ship cost)
- Mark one recommendation and why (1 sentence)
3. Wait for a clear choice
- Affirmative on one option → proceed
- Hedged → pick recommended and state that, or one tight confirm
- “Langsung saja” → pick recommendation and build
4. Hand off
After direction is set:
- Style inference (for
tokens/ build) — if a project system exists:- Read Tailwind theme /
:root/ theme file - Skim 2–3 existing buttons, cards, forms for padding, radius, shadow, type
- Do not invent a parallel visual language
- Read Tailwind theme /
- Token source — walk the decision tree in
references/token-preset-scoring.md(custom → explicit → Plasma hard-gate → score). Judgment sets axes/signals; it does not pick a preset by vibe. Include Token score / hard-gate / project system in the handoff. Capture a one-sentence craft intent (task + dominant content form + 2–3 visible decisions), usingreferences/design-axes.md→ Turn a reference into decisions. Apply this even when the approach-choice gate was skipped for an already-approved direction; do not reopen approval. - Load: (+
prototypeif they asked to see options or stress states) →tokens→ (+ shell/data/forms) →components→responsive→motion(light) →anti-slop-design→polish→accessibility(+testing/seoif in scope)
Optional short handoff note (when exploration was non-trivial):
## Build plan (brief)
- Axis chosen: …
- Files likely touched: …
- States: loading / empty / error / …
- Tokens: <project system | explicit | hard-gate | scored preset + n/24>
- Responsive: 320/768/1024/1440Do not re-litigate the approach mid-build unless new constraints appear.
Hierarchy pass (ship gate — post-build)
Before DONE / Conventions check, verify the built surface against this checklist. Theory: references/ux-foundations.md, axes: references/design-axes.md.
| Check | Pass when |
| One primary focus | One clear focal element per view (not three competing heroes) |
| One primary CTA | One dominant action; secondary actions quieter (weight/contrast/position) |
| Weight before decoration | Size, weight, contrast, position establish order — not badges/glow/extra chrome |
| One job per section | Each section: one purpose, one headline, usually one short supporting line |
| Gestalt grouping | Related items closer; sections farther; same style = same kind |
| No equal-weight noise | Avoid same padding/gap/type size on primary vs tertiary |
Report in Conventions when auditing: Hierarchy: pass (or list fails). Missing hierarchy on blank-canvas / polish → treat as Needs Work on Visual Hierarchy.
Typography ladder (ship gate)
Pair with polish / anti-slop-design. Full anti-patterns: references/anti-patterns.md.
| Check | Pass when |
| Families | ≤2 type families (project tokens) |
| One h1 | Exactly one <h1> (or page title role) per page |
| Ladder | h1 → h2 → h3 → body without skipping levels for style |
| Roles via tokens | Heading/body/muted/label use type tokens — not random rem sizes |
| Measure | Body ~60–75ch where long-form; product chrome may be narrower |
| Mobile scale | Inputs ≥16px; heading jumps not extreme (no 3rem title crushing a 320px form) |
Quick decision check
When stuck between options, prefer the one that is: clear · fast · consistent · accessible · calm · specific · recoverable.
Expert voice (do / don't)
Do:
- Push back on AI-slop defaults with a better alternative
- Prefer content and hierarchy over decoration
- Name tradeoffs honestly
- Reference concrete inspiration (“Linear-like density”) when it helps
Don't:
- Block on slash commands
- Ask more than 2 questions up front
- Offer 5+ options or five full coded variants by default (coded comparison is
prototype, cap 2–3) - Start a temporary design-lab route unless the user explicitly asks to explore in-browser
- Start coding blank-canvas UI before a direction is set (unless skip rules apply)
Output template (before build)
## Approaches
**A — … (axis: hierarchy)** … Tradeoff: …
**B — … (axis: density)** … Tradeoff: … ← recommended: …
**C — … (axis: interaction)** (optional) …
## Recommendation
…
## Need from you
Pick A/B/C (or say “go with recommended”).Checklist
- Direction chosen (or skip rules applied) before domain skills
- Handoff includes tokens + Responsive breakpoints
- Hierarchy pass completed on built surface
- Typography ladder (one h1, no skipped levels, token roles)
- Build plan notes states (loading / empty / error) when non-trivial
Depth
Lifecycle A→Z: references/fe-lifecycle.md.
Axes + memory convention: references/design-axes.md.
Token preset scoring: references/token-preset-scoring.md.
UX/UI theory + color for products: references/ux-foundations.md (wire hierarchy/type here into ship gates above).
Anti-patterns: anti-slop-design + references/anti-patterns.md.
Domain how-to stays in the other skills.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

