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.

rulesa11y-semantic-html-first.md

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

Prefer Native Semantics Before ARIA

Use semantic HTML controls first; only add ARIA when native elements cannot express intent. Rebuilding those semantics in ARIA reimplements keyboard behaviour, role, and state by hand, and any gap leaves assistive tech reporting the wrong thing.

Detection

Search for click handlers attached to non-interactive elements; a hit is confirmed when that element is the only way to trigger the action.

rg -nUP '<(div|span|li|td)\b[^>]*\bonClick=' -g '*.tsx' -g '*.jsx' src/

A full-bleed overlay whose onClick only dismisses a modal matches but is legitimate: the action is also reachable from a real <button> inside, and Escape covers the keyboard path. Tell them apart by asking whether removing the handler would strand the user.

Incorrect (clickable div):

<div onClick={submitForm}>Save</div>

Correct (semantic button):

<button type="button" onClick={submitForm}>Save</button>

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