All skills
mblode avatar

/ui-design

@e7db33d
by Matthew Blodemblode/agent-skills136 stars
12

Designs and builds React/Next/Tailwind UI and audits visual and interaction defects. Use when asked to "build a landing page", "extract our design system", "add dark mode", "make this responsive", "remove UI slop", or "audit this component". For product decisions use product-design; for browser measurements use ui-verification; for motion use ui-animation.

Use this Skill: https://skilld.dev/gh/mblode/agent-skills/ui-design

This session only. Nothing lands on disk.

guidelinesshadows.md

≈377 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Shadows

Covers: cards, modals, popovers, dropdowns, buttons, elevated surfaces, shadow/border pairings.

  • Never pair shadows with solid gray borders. Use ring-1 ring-black/5 or ring-1 ring-black/10 (or 950 of your neutral).
  • Never make elevated elements (cards, modals, popovers with shadow-*) darker than their canvas: use white or the lightest neutral, not gray-100/gray-50. Inset panels/wells without outer shadows can be darker.
  • Use one depth technique per view: borders-only, tint, soft shadow, or layered shadow. Mixing hard shadows, soft shadows, borders, and tints makes hierarchy feel accidental.
  • Use one top light source across the view: raised surfaces catch light above and cast shadow below, inset wells reverse that edge relationship, and a surface that is neither gets no edge lighting at all.
  • Map depth to semantic z-order. Dialogs sit above menus, menus above routine controls, and routine controls above or within the work surface. A larger shadow is not decoration for a more important label.
  • For close-view surfaces, combine a tight contact layer with a wider soft wash. As elevation rises, the contact layer weakens while the wash grows.
  • In dark UI, avoid shadows as the main depth cue. Use surface brightness, borders, or subtle tint because dark shadows either disappear or become too harsh.
  • For custom shadows, make blur roughly twice the offset and lower opacity as elevation increases, e.g. 0 4px 8px rgba(...) reads cleaner than a hard 4px shadow.

Source: SKILL.md on GitHub

No alerts8d5 checks · Risk SAFE
  • Gen Agent Trust Hub8d

    A comprehensive UI design and auditing skill that uses standard developer tools and trusted services like Tailwind CSS and placeholder asset APIs to build and verify React/Next.js interfaces. It includes explicit guardrails to prevent instruction following from analyzed project files.

  • Socket8d

    No alerts

  • Snyk8d

    Risk: LOW · No issues

  • Runlayer6mo

    4/5 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e7db33d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 hours ago.

Activeupdated last week

README badge

README badge for mblode/agent-skills/ui-design