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.

dark-mode-image.md

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

Dark Mode Image

Use when adapting a standalone source image into a dark-mode-suitable version.

Model requirement: the image-generation steps need the imagegen skill (Codex, gpt-image-2). In agents without it (such as Claude Code), identify the images needing dark variants, list them with target background colors, and ask the user to generate them or source dark versions manually. Never substitute CSS filter workarounds.

Load First

  • Before any image generation or editing, load and follow the imagegen skill.

Workflow

  1. Load imagegen.
  2. Inspect the source image and the dark-mode UI context.
  3. Generate or edit a dark-mode version at the original's dimensions.
  4. Save it with a -dark suffix alongside the original.
  5. Return the saved project path for the caller to wire in.

Rules

  • You MUST load and follow imagegen before any image generation or editing: not optional. Do not skip it, replace it with an ad hoc workflow, or call image tooling directly first. Let imagegen choose the workflow; for normal dark-mode variants that usually means its default built-in image_gen tool mode
  • If the source is a local file, follow imagegen's local-image guidance before editing so the image is visible in the conversation context
  • Follow imagegen's save-path policy: move or copy project-bound generated outputs into the workspace; never leave a project-referenced dark-mode asset only under $CODEX_HOME/*
  • Choose a background color that feels like an appropriate inversion of the original background: black or dark gray for white, dark gray for off-white, or the specific dark color the user provides; if the original background matched the site background, match the dark-mode site background instead
  • Preserve the original contrast characteristics: light sections become darker while relative separation and readability stay intact
  • Preserve blurs and softness; never sharpen anything that was blurry in the original
  • Preserve foreground palette hues, adjusting saturation and lightness only as needed so the image presents correctly on a dark background
  • Preserve the original vibe: bright and intense stays bright and intense, subtle and muted stays subtle and muted
  • Preserve fades: watch areas that fade out and keep those fades in the dark-mode version
  • The dark-mode image must be exactly the same dimensions as the original
  • Save dark-mode images with a -dark suffix, e.g. bg.jpg and bg-dark.jpg

Verify

  • Generated image dimensions match the original exactly.
  • The dark-mode image preserves the original composition, softness, fades, and foreground palette.

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