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-skip-link-heading-order.md

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

Provide Skip Link and Logical Heading Order

Include a skip link and keep heading levels sequential. Without both, keyboard and screen reader users walk the whole header on every page and lose the outline they navigate by.

Detection

Find files that render <main> with no in-page anchor above it; a hit is confirmed when no layout wrapping that file provides one either.

rg -lP '<main\b' -g '*.tsx' -g '*.jsx' src/ | xargs -r rg --files-without-match -P 'href="#'

The skip link usually lives in the root layout rather than the file rendering <main>, so every page component matches until you check the layout above it. Heading order is not in this recipe on purpose: a component that starts at <h2> is correct when the page supplies the <h1>, so read the composed page outline for that half.

Incorrect (no skip link, jumps heading levels):

<main>
  <h1>Dashboard</h1>
  <h4>Recent activity</h4>
</main>

Correct (skip link + ordered headings):

<a className="skip-link" href="#main-content">Skip to content</a>
<main id="main-content">
  <h1>Dashboard</h1>
  <h2>Recent activity</h2>
</main>

Source: SKILL.md on GitHub

No alerts7d5 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    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.

  • Socket7d

    No alerts

  • Snyk7d

    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 27 minutes ago.

Activeupdated last week

README badge

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