Skip to content
Back to skills

Design

ASecurity

Use $design to apply an established visual direction to a UI, page, HTML report or slide. Reuse the project's brand and components, design states and check desktop and phone.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentsrustnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add jerahsiegal-source/ai-implementation-skills --skill design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jerahsiegal-source-design-ai-implementation-skills/badge)](https://www.skillsdirectory.com/skills/jerahsiegal-source-design-ai-implementation-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design
description: Use $design to apply an established visual direction to a UI, page, HTML report or slide. Reuse the project's brand and components, design states and check desktop and phone.
---

# Design

A taste contract, not a design process. Apply settled preferences to whatever is being built. Do not interview the user, research competitors, or generate a design system unless they ask. Those are other skills' jobs.

## Codex resources

Use absolute paths to this package's files. Find shared kits and companion packages in the installed skills directory (usually ~/.agents/skills). If the entrypoint is resolved to a junction's source checkout, find Codex variants under codex/skills and shared kits under skills in that checkout. Copy installations use installed siblings. Continue with the workflow's own references if a companion is missing.

Use an available connected browser or local Playwright with Chromium for visual evidence. If automation is unavailable, use an available preview and run the shared Node checker in static mode. Without a visual surface, identify the unverified render and interaction checks.

## Bounded UI work

For a small form or component with an established direction, use this path instead of the full build workflow. Read the project notes and component, identify the shared styles and state selectors, and implement the requested states before loading any optional design assets. Consult the relevant floor or surface rule when there is a gap.

Use the task's current state to decide what appears first. Put the outcome beside the exact reference, selected item and location needed to trust or act on it. If the next action is retry or clear, give it one clear control and avoid competing submit actions. For short forms with several choices, use compact rows. At phone width keep each short label and its value together when space allows. Preserve comfortable hit targets and reduce repeated headings, card padding and gaps before reducing text size. Mark unavailable rows with explicit status and a non-color difference visible at a glance, such as a different border pattern, texture, or absence of the selection control. Place fixed transaction details beside the primary action or directly above it on narrow screens. At ordinary text size, review a phone screenshot for how far someone must scroll to see that action.

Test long real content at the largest requested text size and narrowest width. Stack the title, controls and main action naturally when inline space is tight. Keep ordinary words intact in headings, instructions and errors. Let the field and its feedback use the available width. Reserve breaking inside words for opaque values that cannot wrap otherwise. For a saved HTML state, [the reflow checker](scripts/check-reflow.mjs) can identify horizontal overflow and words split across lines. Still test the live recovery state when the artifact has one.

Use one available browser to exercise the requested success and recovery states on phone and desktop. For a dialog reached from multiple controls, test dismissal and save from different openers. Return focus to the specific opener, keep inactive controls out of Tab navigation, and verify cancel leaves committed data intact. Use the shared page checker when available and check the same saved revision. If browser support is missing, verify what is possible from the saved page and finish with the specific coverage gap.

## 1. Load context (quietly)

Read these, in rule order. Higher wins when they disagree.

1. **The user's message.**
2. **The project:** `DESIGN.md` at the project root (or `.design/DESIGN.md`). If the user supplied a brand guide and there is no `DESIGN.md`, follow `design-kit/brand-intake.md` (brand intake) to write one, and say so in one line.
3. **Personal taste:** `~/.ai-skills/personal/taste.md` and `~/.ai-skills/personal/styles/`. Read personal taste only where the project direction leaves a material gap and the requested data scope permits it. Use the kit defaults when personal guidance is unavailable.
4. **The kit:** use `design-kit/floor.md` (the floor) and `design-kit/craft.md` (craft). For a bounded repair, look up the specific rules that apply. Read `design-kit/styles/README.md` (styles) only when choosing a look.
5. **Existing code:** follow the used theme files, tokens, component library and CSS variables through the new surface. Match the existing component markup and semantics where possible. Carry its theme selector and state classes through every state. When the existing UI exposes a theme switch, exercise that switch with the new state open and check that the updated colors still come from the shared tokens.

If `INTENT.md` exists for this work, its Done and Never items outrank everything except the user's message.

## 2. Name the surface

Decide what kind of screen this is and read only that section of [surfaces](references/surfaces.md): landing page, app dashboard, form or setup flow, results and analytics, HTML report, component mockup, or slides. One product has many surfaces. Its home page and its dashboard follow the same taste but get different density and layout.

If `DESIGN.md` has a **Pages** note for this page, it overrides the surface defaults.

## 3. Choose the look

- `DESIGN.md` names a style: use it.
- Otherwise use the personal default style, or pick by fit from personal approved styles first, then kit styles.
- Nothing fits: invent a style, name it, and say why in one line.
- **Director mode (default):** build the default look. If a different look would clearly serve the product or audience better, propose it in one line. Don't build both unless asked. If `taste.md` says `strict`, skip the proposal.
- When no shared tokens exist, define the roles that the brief needs at the top of the stylesheet. When shared tokens already cover the job, link or import them and style only the surface-specific layout and states.

## 4. Taste

- **Visual first.** Show it with layout, numbers, charts, icons and diagrams before adding words.
- **One focal point per view.** Decide what the eye hits first and make everything else quieter.
- **Hierarchy by size, weight and space,** not by boxes and color everywhere. Use borders, fills and shadows only where they mark a real group.
- **Restraint.** Fewer elements, shorter copy, no decoration that carries no meaning. Cut before you add.
- **Density fits the job.** Airy for stories and landing pages, packed but ordered for dashboards. "Avoid clutter" means no noise, not no data.
- **One bold move.** Put the distinctive choice in one place, such as the type, a color or the hero number, and keep the rest calm.
- **High level first, detail on demand.** Summaries up top, detail behind tabs, toggles or expanders.
- **Real content.** Use the user's real data and words. Label example data as example data.
- **Every state.** Empty, loading, error, hover, focus and disabled all look designed. Group the latest result, its exact reference and the next action where the reader is deciding. Differentiate unavailable options in wording and shape.
- **Phone and desktop.** Both work. For HTML meant for viewing, support light and dark.
- **Plan before code.** Identify the surface's primary task, fixed look, shared components and states; carry that forward into the implementation. For a new look, sketch colors, type and layout. For a settled look, show the established choices through working screens.

## 5. Add-ons

These are separate skills the user can type. Read Chart's form and accessibility references for data or Flow UX's rules for flows. A full Chart, Flow UX or Explore run requires explicit invocation.

| The job has | Read |
|---|---|
| Charts, metrics, tables of numbers | `chart/SKILL.md` |
| A multi-step flow, forms, navigation, "can users finish this?" | `flow-ux/SKILL.md` |
| A request for options, research or "show me directions" | Suggest `/explore` and stop. Don't run five concepts unasked. |

If an add-on isn't installed, apply the floor and carry on.

## 6. Check

Run the `design-kit/quality-check.md` (quality check): render it, screenshot desktop and phone, fix what fails, look once more. On a form with a previous result, test success followed by a failed attempt, then a correction. Check that stale results disappear, the attempted input survives, the error is available to assistive technology, and recovery works at the narrowest requested width in the active theme. Test the largest requested text size with the longest real label. Inside a work loop, those screenshots are the evidence for each design item.

## 7. Save decisions

- When the user approves a look or page treatment for this project, update `DESIGN.md` (**Look** and **Pages** only).
- When the user says "save this style", write it to `~/.ai-skills/personal/styles/<name>.md` in the kit's style format.
- Never write personal taste or a client's brand into the skills folder or repo.

## Reply

Keep it short: what was built and where, the look used and why (one line), any exception proposed (one line), screenshot paths, and anything that failed the check. No design essay.

Files in this skill

  • SKILL.md8.9 KB
  • agents/openai.yaml139 B
  • references/surfaces.md2.3 KB
  • scripts/check-reflow.mjs2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.