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-data-table-semantics.md

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

Mark Up Data Tables With Real Table Semantics

Tabular data needs a real <table> with <caption>, header cells, and scope. Divs styled as a grid carry no row/column relationships, so screen readers read cells as a flat list. (Layout-only grids use CSS, not <table>.)

Detection

Find files that render a table and never declare header semantics; a hit is confirmed when the first row holds column labels but no <caption> or <th scope> exists.

rg -lP '<table\b|role="(table|grid)"' -g '*.tsx' -g '*.jsx' src/ \
| xargs -r rg --files-without-match -P '<caption\b|scope="(col|row)"'

A call site that renders a shared <DataTable> matches while the th and scope live in the library component, so read the imported component before reporting. Div grids styled as tables do not match at all (grid-cols-* is layout markup too often to grep), so scan grid containers whose first row is a set of column labels by eye.

Incorrect (div grid, no header semantics):

<div className="grid">
  <div>Name</div><div>Role</div>
  <div>Ada</div><div>Engineer</div>
</div>

Correct (caption, header cells, scope):

<table>
  <caption>Team members</caption>
  <thead>
    <tr><th scope="col">Name</th><th scope="col">Role</th></tr>
  </thead>
  <tbody>
    <tr><th scope="row">Ada</th><td>Engineer</td></tr>
  </tbody>
</table>

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