agentleFS
sreejithramansreejithraman/SreeStack/skills/ui-design/SKILL.md

ui-design

Skill1 starsChanged 16 days agoMITView on GitHub

Use for visual hierarchy, art direction, or design systems on web, SwiftUI, or UIKit; and for web CSS, responsive layout, browser component behavior, input, or accessibility.

59 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use harness-design, graphic-design and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • VictoriakaeySkill

    harness-design

    Use when designing or improving the action space, observation format, tool boundaries, and evaluation signals of an LLM agent. Covers the five layers of harness design: what tools the agent has, what it sees after acting, how each tool is scoped, how behavior is evaluated, and how to iterate when the agent misbehaves. Prevents the most common harness failures — agents that pick wrong tools, ignore critical information, or loop without progress.

    Also in 3 projects that use this

  • travisjneumanSkill

    graphic-design

    Professional graphic design principles for digital and print media. Use when creating visual designs, choosing color palettes, typography, layouts, or providing design feedback.

    Also in 3 projects that use this

  • soilmassSkill

    typography

    Typography and kinetic text animations including character reveals, typewriter effects, scramble/decode, wave motion, and animated gradients. Use when creating text reveals, headline animations, number counters, or any text-based motion effects.

    Also in 3 projects that use this

  • MicrosoftSkill

    typescript

    TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.

    Also in 7 projects that use this

  • OpenAISkill

    auth

    Authentication integration guidance — Clerk (native Vercel Marketplace), Descope, and Auth0 setup for Next.js applications. Covers middleware auth patterns, sign-in/sign-up flows, and Marketplace provisioning. Use when implementing user authentication.

    Also in 3 projects that use this

  • VercelSkill

    react

    React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 50 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Choose guidance: Follow each applicable branch below.

    line 31
  2. Distinctive:

    Build or propose: Use the product's tokens, components, and authoring stack.

    line 35
  3. Distinctive:

    Prefer intrinsic layout and native capabilities when they meet the contract.

    line 39
  4. Distinctive:

    Check feature support against the actual targets and provide a usable fallback where needed.

    line 40
  5. Distinctive:

    Use position, grouping, spacing, weight, color, and size together to establish hierarchy.

    line 71
  6. Distinctive:

    Prefer semantic roles such as surface, primary text, secondary text, action, warning, and separator over raw values at call sites.

    line 74
  7. Distinctive:

    Keep more space around a group than within it.

    line 76
  8. Distinctive:

    Use color consistently and pair it with text, shape, iconography, or another cue when it communicates state.

    line 82
  9. Distinctive:

    Use depth, borders, materials, and overlap to explain structure.

    line 84
  10. Distinctive:

    Prefer standard platform components and existing product patterns before custom work.

    line 88

“Common” is measured: kept by at least 6 in 10 of the 50 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.

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

UI Design

Own visual design across web, SwiftUI, and UIKit, plus browser styling and behavior. Use swiftui or uikit for native implementation, state, lifecycle, and accessibility; use animate for moving feedback and transitions. The platform owner keeps the action and state contract. Change only the jobs the request puts in scope.

For an authorized build or fix, implement and verify the change. For a plan, review, or advisory task, leave the product unchanged and make each proposed change and acceptance check concrete.

Work the request

  1. Inspect. Examine the available interface and nearby components with representative content. Identify existing tokens, patterns, and the authoring system. Check the target platforms and versions, available runnable surface, and affected states, sizes, appearance modes, text scaling, inputs, and access paths. Finish with the affected components and supported variants identified.
  2. Diagnose. Select the job: visual hierarchy or identity, CSS/layout, browser behavior, accessibility, or a combination. For visual work, identify the primary content and action, competing emphasis, groups, and semantic roles. For behavior work, identify the expected activation, focus, input, status, and state contract. Finish with an observable problem or design intent and the contracts the change must preserve.
  3. Choose guidance. Follow each applicable branch below; read the sections that address the job. An identity change starts with art direction, then the platform guidance. A local CSS or behavior fix starts at its matching branch. Finish with the proposed change tied to the diagnosed cause or design intent.
  4. Build or propose. Use the product's tokens, components, and authoring stack. For visual work, resolve hierarchy and layout before decorative detail; compare values with their neighbors and test the narrowest relevant surface before wider compositions. Sketch or prototype when a direction needs trying. Prefer intrinsic layout and native capabilities when they meet the contract. Check feature support against the actual targets and provide a usable fallback where needed. Cover every affected component, state, and access variant. For advisory work, make those changes and checks concrete without editing the product.
  5. Check. For implementation, exercise the changed surface at the affected sizes and through its input and accessibility paths. Syntax support or a screenshot alone does not establish an interaction works. Use verify for hands-on acceptance. For advisory work, trace each proposal through the representative components and state the checks implementation must pass.

Read by task

Combine branches when the request crosses them. Keep visual direction stable for behavior-only work, and interaction/access contracts stable for visual-only work.

TaskGuidance
New identity or substantial visual redirectionArt direction, then the web or Apple branch
Existing web interface looks wrongDiagnosis, then the relevant web visual system sections
Web type, spacing, color roles, shape, hierarchy, or starter tokensWeb visual systems
Build or repair a numbered HSL web color rampPalette workflow; keep another working color model when it fits
Web reset, logical properties, fluid scales, or theme/color implementationCSS foundations
Web content widths, grids, containers, responsive layout, spacing, or overflowWeb layout
Browser semantics, states, focus, input, announcements, or accessibilityWeb behavior and accessibility
Web viewport, safe areas, virtual keyboard, touch, scrolling, browser chrome, carousel, or bounded panelMobile browser behavior, plus the behavior contract when input or state changes
Web shadows, text alignment, image contrast/cropping, or media geometryMatching visual techniques sections
SwiftUI or UIKit visual designApple-platform visual design, with the framework owner

Visual decisions

Use position, grouping, spacing, weight, color, and size together to establish hierarchy. Preserve the product's established language where it serves the job.

  • Prefer semantic roles such as surface, primary text, secondary text, action, warning, and separator over raw values at call sites.
  • Keep more space around a group than within it. Ambiguous spacing obscures the information architecture.
  • Give the primary action the strongest treatment, keep secondary actions clearly available, and use quiet or link-like treatment for tertiary actions. Destructive actions become primary only when they are the current decision, such as in a deletion confirmation.
  • Use color consistently and pair it with text, shape, iconography, or another cue when it communicates state.
  • Use depth, borders, materials, and overlap to explain structure. Each cue needs a job.
  • Extend scales only when an existing value cannot express a real role clearly. Scales and token counts are tools, not quotas.
  • Prefer standard platform components and existing product patterns before custom work. Customize deliberately when identity, hierarchy, or behavior requires it.

Handoff

Deliver the implemented result or concrete proposal and state the diagnosed job, roles or contracts changed, and checks performed. Completion requires every affected component and variant to be accounted for, a coherent system that fits the brief and surrounding product, and explicit remaining evidence gaps by browser, device, appearance, input, or accessibility path.

For a plan, account for every component in scope with a concrete change or an explicit reason it remains unchanged.

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.

Reviews can't be read right now.

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.