agentleFS
dekozadekoza/oh-my-slop/skills/practice/ui-design-direction/SKILL.md

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.

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
  1. Distinctive:

    Use this skill when generic design vibes are not enough and the agent needs concrete UI direction grounded in the bundled local reference …

    line 15
  2. Distinctive:

    Every recommendation or review this skill produces must satisfy all of these before delivery:

    line 27
  3. Very specific:

    Run the bundled search tool from <skill-dir>/scripts/search.py.

    line 39
  4. Distinctive:

    If the script cannot run in the current environment, or a search returns zero or empty results, say so and continue with manual design …

    line 40
  5. Very specific:

    Do not install Python, use sudo, or modify the user's machine just to run this skill.

    line 41
  6. Distinctive:

    Do not use this skill for pure implementation debugging like broken CSS selectors, JavaScript runtime errors, or framework build failures, …

    line 52
  7. Distinctive:

    If the stack is not explicit and not visible in the repo, do not pretend to know it.

    line 65
  8. Very specific:

    Use --design-system first for almost all design-direction requests.

    line 69
  9. Distinctive:

    Use domain searches for follow-up depth.

    line 79
  10. Distinctive:

    If the user names a stack or the repo proves one, use stack guidance.

    line 99
  11. Very specific:

    If the task is implementation-oriented and no stack evidence exists, html-tailwind is the fallback.

    line 107
  12. Very specific:

    Use --persist when the user wants a reusable design system for later pages or iterations.

    line 111
  13. Distinctive:

    When working on a page override, check the page file first.

    line 122
  14. Very specific:

    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 …

    line 124
  15. Distinctive:

    When using this skill, structure the answer like this:

    line 163
  16. Distinctive:

    only if the stack is known or explicitly marked as fallback

    line 183
  17. Distinctive:

    keep focus states visible for keyboard users

    line 196
  18. Distinctive:

    avoid motion-heavy decorative animation in serious or regulated products

    line 198
  19. Distinctive:

    use color as reinforcement, not the only signal

    line 199
  20. Distinctive:

    prefer real icons and verified brand marks over improvised visuals

    line 200
  21. Distinctive:

    avoid hover effects that shift layout

    line 205
  22. Distinctive:

    keep icon sizing consistent within one set

    line 206
  23. Distinctive:

    use clear affordances for clickable cards or panels

    line 207
  24. Distinctive:

    avoid weak borders and low-opacity surfaces in light mode

    line 208
  25. Distinctive:

    keep container widths and spacing rhythm consistent

    line 209
  26. Distinctive:

    Treat these as implementation hints, not universal UI law:

    line 213
  27. Distinctive:

    Before finishing, re-verify the Delivery gate at the top of this skill.

    line 237

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Resolve the installed skill directory first.
  2. Run the bundled search tool from <skill-dir>/scripts/search.py.
  3. 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.
  4. 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.json dependencies, 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:

NeedDomainExample
More style optionsstyle--domain style "glassmorphism dark"
Accessibility or interaction concernsux--domain ux "focus states reduced motion"
Alternate typographytypography--domain typography "trustworthy readable healthcare"
Landing-page structurelanding--domain landing "social proof conversion"
Chart choicechart--domain chart "real-time dashboard trend"
Color directioncolor--domain color "fintech trust"
Icon recommendationsicons--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.md
  • design-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

DomainUse for
productProduct-type recommendations
styleStyle system, effects, visual language
typographyFont pairings and import hints
colorProduct-specific palettes
landingLanding-page structure and CTA placement
chartChart-type selection
uxUX best practices and anti-patterns
iconsIcon recommendations
reactReact and Next performance concerns
webGeneral web-interface guidance

Supported stacks

StackFocus
html-tailwindTailwind utilities, responsive layout, accessibility
reactState, rendering, hooks, performance
nextjsRouting, SSR, images, app structure
astroIslands, content-heavy pages, static-first delivery
vueComposition API, state, routing
nuxtjsNuxt app structure and rendering
nuxt-uiNuxt UI component usage
svelteRunes, stores, SvelteKit
swiftuiNative Apple UI patterns
react-nativeMobile components and lists
flutterWidgets, state, layout, theming
shadcnComponent composition, forms, theming
jetpack-composeAndroid composables and recomposition

Response format

When using this skill, structure the answer like this:

  1. Design direction
    • product type
    • page or product pattern
    • style system
    • typography direction
    • color direction
  2. Why this fits
    • 2-4 reasons grounded in search output
  3. UX risks and anti-patterns
    • accessibility
    • contrast
    • motion
    • layout shift
    • trust or conversion problems
  4. Stack notes
    • only if the stack is known or explicitly marked as fallback
  5. 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, or max-w-7xl apply 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 react

Common 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.