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.

guidelinestables.md

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

Tables

Covers: data tables, comparison tables, table headings, row dividers, horizontal scrolling tables, table containers.

Design Rules

  • Never use uppercase in table headings: use sentence case.

  • Never let table headings wrap: add whitespace-nowrap to <th>.

  • In dense work surfaces, default to tables directly on the page with row dividers. Use a bounded shell when search, filters, the table, page size, and pagination form one module, or when the project already does.

  • Divide rows with horizontal lines only: no vertical lines, no outer borders.

  • Always use w-full so tables fill their container.

  • Hide headings with sr-only when column content is self-explanatory (typically 2-3 column tables where headings add no value).

  • Make tables responsive when all columns won't fit on small screens, using a two-div wrapper:

    • Outer div: overflow-x-auto whitespace-nowrap with negative margins: horizontal margins cancel the page container's padding (e.g. -mx-4 sm:-mx-6 lg:-mx-8), vertical margin always -my-2.
    • Inner div: inline-block min-w-full align-middle with horizontal padding matching the container's (e.g. px-4 sm:px-6 lg:px-8) and py-2.
    • Always match the negative horizontal margins and horizontal padding to the container padding actually used in the page layout.
    <!-- Example assumes container padding of px-4 sm:px-6 lg:px-8 -->
    <div class="-mx-4 -my-2 overflow-x-auto whitespace-nowrap sm:-mx-6 lg:-mx-8">
      <div class="inline-block min-w-full px-4 py-2 align-middle sm:px-6 lg:px-8">
        <table>
          …
        </table>
      </div>
    </div>

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

Activeupdated last week

README badge

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