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.

guidelinesnavigation.md

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

Navigation

Covers: sidebar nav, header nav, mobile menus, tabs, tab bars, vertical menus, active states, current-page indicators.

  • Give every app a mobile nav menu on small screens, whether the desktop nav is a header or sidebar: use a dialog or disclosure panel with a hamburger toggle; hide the desktop nav with hidden lg:flex (header) or hidden lg:block (sidebar) and show the mobile menu below lg:.
  • Never use a high-contrast or primary-color background for active nav items: use darker text, a soft/muted background, or both.
  • Never change font-weight between nav states (default, hover, active): use color and background only.
  • Never let horizontal menus (tabs, tab bars, pill navs) overflow the parent: scroll horizontally when items don't fit.
  • Never use icons in top header horizontal nav links: text-only.
  • To center nav links on the page (not just between side items), use a three-section flex layout: <div class="flex flex-1 items-center"> for the left (logo), the nav links at natural width (no flex-1), and <div class="flex flex-1 items-center justify-end"> for the right (actions). The matching flex-1 gutters force the centered group to true page center. Use the same pattern to center a logo: keep it at natural width with flex-1 on the side sections.

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