ui-design-direction
Skill4 starsChanged 9 months agoUnlicenseView on GitHub
Use when the user wants UI/UX direction, a design system, or an interface critique rather than implementation help. Triggers on: "design direction", "how should this page/app look", requests for a landing page or dashboard design, color palette or typography choices, "review this UI", concerns about professionalism/trust/accessibility of an interface, or when a new UI is started with no established visual direction. Not for debugging broken CSS/JS or for generating illustration/image prompts.
In this repository70 other files it gives its agents.
- agent/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- git-guardrails-claude-codeSkill
- setup-project-skillsSkill
- skill-creatorSkill
- websearchSkill
- writing-great-skillsSkill
- codebase-designSkill
- construction-craftSkill
- critical-partnerSkill
- data-intensiveSkill
- diagnosing-bugsSkill
- django-disciplineSkill
- docker-disciplineSkill
- documentation-lifecycleSkill
- domain-driven-designSkill
- enterprise-patternsSkill
- git-disciplineSkill
- legacy-codeSkill
- production-readinessSkill
- refactoring-passSkill
- resolving-merge-conflictsSkill
- tddSkill
- testing-workflowSkill
- webapp-testingSkill
- django-allauthSkill
- djangoSkill
- dockerSkill
- drfSkill
- full-calendarSkill
- giteaSkill
- htmxSkill
- http-status-codesSkill
- hyperscriptSkill
- langchainSkill
- litestarSkill
- prestashopSkill
- pykeSkill
- python-asyncSkill
- tablerSkill
- cleanroom-rewriteSkill
- councilSkill
- court-jesterSkill
- domain-modelingSkill
- fix-prSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- humanifySkill
- implementSkill
- implement-specSkill
- improve-codebase-architectureSkill
- ponytail-auditSkill
- ponytail-debtSkill
- prototypeSkill
- qaSkill
- researchSkill
- restore-test-pyramidSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. About 0 are common, 21 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈21
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Use this skill when generic design vibes are not enough and the agent needs concrete UI direction grounded in the bundled local reference …
- Distinctive: line 27
Every recommendation or review this skill produces must satisfy all of these before delivery:
- Very specific: line 39
Run the bundled search tool from <skill-dir>/scripts/search.py.
- Distinctive: line 40
If the script cannot run in the current environment, or a search returns zero or empty results, say so and continue with manual design …
- Very specific: line 41
Do not install Python, use sudo, or modify the user's machine just to run this skill.
- Distinctive: line 52
Do not use this skill for pure implementation debugging like broken CSS selectors, JavaScript runtime errors, or framework build failures, …
- Distinctive: line 65
If the stack is not explicit and not visible in the repo, do not pretend to know it.
- Very specific: line 69
Use --design-system first for almost all design-direction requests.
- Distinctive: line 79
Use domain searches for follow-up depth.
- Distinctive: line 99
If the user names a stack or the repo proves one, use stack guidance.
- Very specific: line 107
If the task is implementation-oriented and no stack evidence exists, html-tailwind is the fallback.
- Very specific: line 111
Use --persist when the user wants a reusable design system for later pages or iterations.
- Distinctive: line 122
When working on a page override, check the page file first.
- Very specific: line 124
If MASTER.md (or the target page file) already exists, do not silently overwrite it — read it first and update it in place, telling the …
- Distinctive: line 163
When using this skill, structure the answer like this:
- Distinctive: line 183
only if the stack is known or explicitly marked as fallback
- Distinctive: line 196
keep focus states visible for keyboard users
- Distinctive: line 198
avoid motion-heavy decorative animation in serious or regulated products
- Distinctive: line 199
use color as reinforcement, not the only signal
- Distinctive: line 200
prefer real icons and verified brand marks over improvised visuals
- Distinctive: line 205
avoid hover effects that shift layout
- Distinctive: line 206
keep icon sizing consistent within one set
- Distinctive: line 207
use clear affordances for clickable cards or panels
- Distinctive: line 208
avoid weak borders and low-opacity surfaces in light mode
- Distinctive: line 209
keep container widths and spacing rhythm consistent
- Distinctive: line 213
Treat these as implementation hints, not universal UI law:
- Distinctive: line 237
Before finishing, re-verify the Delivery gate at the top of this skill.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
UI Design Direction
Use this skill when generic design vibes are not enough and the agent needs concrete UI direction grounded in the bundled local reference data.
The bundle contains:
- 67 styles
- 96 color palettes
- 57 typography pairings
- 99 UX guidelines
- 25 chart patterns
- 13 stack-specific references
Delivery gate
Every recommendation or review this skill produces must satisfy all of these before delivery:
- the answer starts from the design-system workflow or explains why not
- the recommendation includes concrete color and typography direction
- accessibility concerns are explicit, not implied
- anti-patterns are called out plainly
- stack guidance is verified or clearly labeled as fallback
- persisted output paths, if mentioned, are exact
Execution notes
- Resolve the installed skill directory first.
- Run the bundled search tool from
<skill-dir>/scripts/search.py. - If the script cannot run in the current environment, or a search returns zero or empty results, say so and continue with manual design reasoning instead of bluffing.
- Do not install Python, use
sudo, or modify the user's machine just to run this skill.
When to prefer this skill
Reach for this skill when the user asks for any of the following:
- a design system or visual direction
- a landing page, dashboard, SaaS UI, app UI, or mobile UI concept
- color palette, typography, icon, chart, or page-pattern recommendations
- a UI review focused on professionalism, usability, accessibility, or trustworthiness
- stack-specific UI guidance for supported frontend stacks
Do not use this skill for pure implementation debugging like broken CSS selectors, JavaScript runtime errors, or framework build failures, or for illustration/image prompt generation like Midjourney prompts, unless the user is also asking for design direction or UX review.
Core workflow
1. Identify the design problem
Extract these facts from the prompt or repository:
- product type
- industry or domain
- user constraints: accessibility, light mode, dense data, trust, conversion, motion limits
- delivery goal: direction, critique, implementation guidance, or page override
- visible stack, if any — check the repo for evidence (
package.jsondependencies,tailwind.config.*, framework config files) before declaring the stack unknown
If the stack is not explicit and not visible in the repo, do not pretend to know it.
2. Start with the design-system command
Use --design-system first for almost all design-direction requests.
python3 <skill-dir>/scripts/search.py "<product type> <industry> <keywords>" --design-system -p "Project Name"This is the default entry point because it combines product, style, color, landing, and typography guidance into one recommendation.
3. Add targeted searches only where the initial recommendation leaves gaps
Use domain searches for follow-up depth.
python3 <skill-dir>/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]Typical follow-ups:
| Need | Domain | Example |
| More style options | style | --domain style "glassmorphism dark" |
| Accessibility or interaction concerns | ux | --domain ux "focus states reduced motion" |
| Alternate typography | typography | --domain typography "trustworthy readable healthcare" |
| Landing-page structure | landing | --domain landing "social proof conversion" |
| Chart choice | chart | --domain chart "real-time dashboard trend" |
| Color direction | color | --domain color "fintech trust" |
| Icon recommendations | icons | --domain icons "payment security" |
4. Use stack guidance only when justified
If the user names a stack or the repo proves one, use stack guidance.
python3 <skill-dir>/scripts/search.py "<keyword>" --stack <stack>Supported stacks: html-tailwind, react, nextjs, astro, vue, nuxtjs, nuxt-ui, svelte, swiftui, react-native, flutter, shadcn, jetpack-compose
If the task is implementation-oriented and no stack evidence exists, html-tailwind is the fallback. Say explicitly that it is a fallback.
5. Persist only when the user needs reusable design rules
Use --persist when the user wants a reusable design system for later pages or iterations.
python3 <skill-dir>/scripts/search.py "<query>" --design-system --persist -p "Project Name"
python3 <skill-dir>/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"This creates:
design-system/<project-slug>/MASTER.mddesign-system/<project-slug>/pages/<page>.md
When working on a page override, check the page file first. If it exists, it overrides the master file.
If MASTER.md (or the target page file) already exists, do not silently overwrite it — read it first and update it in place, telling the user which sections changed.
Search reference
Available domains
| Domain | Use for |
product | Product-type recommendations |
style | Style system, effects, visual language |
typography | Font pairings and import hints |
color | Product-specific palettes |
landing | Landing-page structure and CTA placement |
chart | Chart-type selection |
ux | UX best practices and anti-patterns |
icons | Icon recommendations |
react | React and Next performance concerns |
web | General web-interface guidance |
Supported stacks
| Stack | Focus |
html-tailwind | Tailwind utilities, responsive layout, accessibility |
react | State, rendering, hooks, performance |
nextjs | Routing, SSR, images, app structure |
astro | Islands, content-heavy pages, static-first delivery |
vue | Composition API, state, routing |
nuxtjs | Nuxt app structure and rendering |
nuxt-ui | Nuxt UI component usage |
svelte | Runes, stores, SvelteKit |
swiftui | Native Apple UI patterns |
react-native | Mobile components and lists |
flutter | Widgets, state, layout, theming |
shadcn | Component composition, forms, theming |
jetpack-compose | Android composables and recomposition |
Response format
When using this skill, structure the answer like this:
- Design direction
- product type
- page or product pattern
- style system
- typography direction
- color direction
- Why this fits
- 2-4 reasons grounded in search output
- UX risks and anti-patterns
- accessibility
- contrast
- motion
- layout shift
- trust or conversion problems
- Stack notes
- only if the stack is known or explicitly marked as fallback
- Next implementation step
- concrete next action for the user or agent
High-confidence guidance vs optional taste
Separate hard requirements from taste. Do not present preferences as laws.
Accessibility and trust requirements
These are high-confidence requirements:
- maintain readable contrast, especially in light mode
- keep focus states visible for keyboard users
- respect
prefers-reduced-motion - avoid motion-heavy decorative animation in serious or regulated products
- use color as reinforcement, not the only signal
- prefer real icons and verified brand marks over improvised visuals
Strong heuristics
These are usually right, but still depend on context:
- avoid hover effects that shift layout
- keep icon sizing consistent within one set
- use clear affordances for clickable cards or panels
- avoid weak borders and low-opacity surfaces in light mode
- keep container widths and spacing rhythm consistent
Stack-specific implementation hints
Treat these as implementation hints, not universal UI law:
- Tailwind examples like
cursor-pointer,transition-colors, ormax-w-7xlapply only when the project is using Tailwind or a similar utility approach - component-library guidance should match the actual stack
Example commands
python3 <skill-dir>/scripts/search.py "healthcare service accessible light mode professional" --design-system -p "Clinic"
python3 <skill-dir>/scripts/search.py "focus states reduced motion" --domain ux
python3 <skill-dir>/scripts/search.py "pricing cards conversion" --domain landing
python3 <skill-dir>/scripts/search.py "dense analytics layout" --stack reactCommon mistakes
- jumping straight to visual taste without first identifying product type and constraints
- guessing a stack instead of verifying it from the prompt or repository
- giving a generic mood-board answer without anti-patterns or implementation consequences
- treating trend-heavy styles as automatically suitable for healthcare, finance, or admin workflows
- recommending persistence without telling the user which files will be created
- bluffing about stack support instead of checking the bundled references
Pre-delivery checklist
Before finishing, re-verify the Delivery gate at the top of this skill.
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.

