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.

rulesforms-dont-block-paste-ime.md

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

Do Not Block Paste or IME Input

Avoid handlers that prevent paste or aggressively filter keystrokes. Blocking paste breaks password managers and assistive input, and keystroke filters swallow the composition events IME users type with.

Detection

Search for onPaste handlers that call preventDefault, then read the handler body to confirm nothing re-inserts the pasted text.

rg -nUP 'onPaste=\{[^}]*preventDefault' -g '*.tsx' -g '*.jsx' src/

A sanitizing paste handler (calls preventDefault, then reads e.clipboardData and writes the cleaned value back) matches too and is legitimate. If the handler never touches clipboardData, paste is simply blocked.

Incorrect (blocks user input):

<input onPaste={(e) => e.preventDefault()} onKeyDown={blockNonDigits} />

Correct (accept input, validate after):

<input
  value={value}
  onChange={(e) => setValue(e.target.value)}
  onBlur={() => validate(value.trimEnd())}
/>

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 1 hour ago.

Activeupdated last week

README badge

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