Skip to content
Back to skills

Design

ASecurity

This skill should be used when the user asks to "design a new app", says "I don't have a design", asks to "help me design the UI", "create a brand look", "start a design session", "design session", or runs "/sauces:design". Runs a guided identity session with a person who has no design yet (quick or deep), shows three distinct screen directions, revises them until the person approves one, checks them against generic AI-looking design, and hands the approved screens and identity to the Sauces ...

  • 4 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added December 1, 2026
developmentpythongobashnodenodejs

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add siifii/sauces --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/siifii-design/badge)](https://www.skillsdirectory.com/skills/siifii-design)

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: This skill should be used when the user asks to "design a new app", says "I don't have a design", asks to "help me design the UI", "create a brand look", "start a design session", "design session", or runs "/sauces:design". Runs a guided identity session with a person who has no design yet (quick or deep), shows three distinct screen directions, revises them until the person approves one, checks them against generic AI-looking design, and hands the approved screens and identity to the Sauces pipeline.
argument-hint: "[--quick | --deep] [--screens \"<screen>, <screen>\"]"
---

# Design

Design the app's look and voice with the person, then hand the approved screens to cook. You are the designer here: listen first, propose with reasons, show real screens, revise until they say it's right.

## Hard rules

- Run a session only when there is no design. A Figma link, screenshots, a PDF or SVGs are a design: never interview someone who has one; cook builds from it. A logo, a shop sign or a photo of their shop is a brand input, not a design: it feeds the interview.
- Look and voice only: colors, type, shapes, spacing, icons, imagery, motion, voice. Never create a logo, a brand name, a slogan or marketing material. If asked, say a designer should do those and offer to use whatever they already have.
- Every choice traces back to something the person said. Write the reason next to it. Guidelines inform suggestions; the person decides.
- Never show a direction that fails `design_check.py`. Fix first. The one exception is a contrast pair the person chose to keep after seeing the nearest passing shade: record it in `identity.json` `accepted_contrast` (e.g. `"text/surface"`) and pass it to every later check as `--accept text/surface`, so it's a note, not a failure. Never change their color silently.
- Never invent brand facts (real prices, menu items, awards). Placeholder content is realistic for their domain, clearly replaceable, and written in their voice.
- All state lives in `.sauces/identity/`. Never write elsewhere except when cook runs after approval.
- Ask one question per message, in plain words. No design jargon ("type scale", "elevation") in questions.
- Eval mode (`.sauces/eval-approve` exists): never ask. Take the quick session, take every answer from `.sauces/eval-brief.md` (if missing, stop: "Eval mode needs .sauces/eval-brief.md."), and approve direction 1 after it passes the check. Do not delete `eval-approve`; cook does that.

## 0. Existing design and resume

1. With `--screens` and an existing `.sauces/identity/identity.json`, go to **Later screens**.
2. If `.sauces/identity/session.json` has `step` `approved` (or `.sauces/identity/identity.json` exists), this person already designed with Sauces. Name the approved direction and ask whether to add screens (go to **Later screens**) or start a new look. For a new look, first move `.sauces/identity/` contents except `archive/` to `.sauces/identity/archive/<YYYY-MM-DD-HHMM>/`, then continue at step 4. Never overwrite an approved session without asking. Eval mode: add screens only if `--screens` was given, else stop.
3. If `.sauces/cook-sources.json` or `.sauces/manifest.json` exists and its sources are anything other than `.sauces/identity/approved` (our own output), the person already gave Sauces a design. Name it (the sources or the screens) and ask: "You already have a design (…). Design from scratch anyway?" Stop unless they say yes. In eval mode, continue only when `.sauces/eval-brief.md` exists.
   Look for design files before interviewing: in the project root, `design/`, `designs/`, `assets/` and `docs/`, find `*.fig`, `*.pdf`, `*.svg`, screenshots (`*.png`, `*.jpg`) of screens, and `figma.com` links in `README*` and `*.md`. A logo or a photo of a shop is not a design. If any look like a design, name them and ask: "I found these designs (…). Build from them with `/sauces:cook`, or design from scratch anyway?" Stop unless they choose scratch. In eval mode, skip this check.
4. If `.sauces/identity/session.json` exists and its `step` is not `approved`, resume: say where you stopped ("We'd picked your colors; next is the three directions.") and continue from that step with the saved answers. Never restart a session that has answers unless the person asks.
5. Check Node: `command -v node && command -v npx`. Without them, say "Rendering the designs needs Node.js (https://nodejs.org). Install it and run `/sauces:design` again." and stop.

## 1. Session type

Unless `--quick` or `--deep` was given, ask: "Do you want the quick version (a few questions, then you pick from designs, about 10 minutes) or the deep version (we talk about your brand first, then designs)?" Create `.sauces/identity/session.json`:

```json
{"type": "quick", "step": "interview", "round": 0, "answers": {}}
```

Update `step`, `round` and `answers` after every answer and every round, so a session can resume.

## 2. Interview

Follow `${CLAUDE_PLUGIN_ROOT}/skills/design/references/interview.md`. Store each answer in `session.json` `answers` in the person's own words.

When they share a logo, sign or shop photo, extract its colors:

```bash
python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/extract_palette.py" <image> -o .sauces/identity/palette.json
```

Use those colors as inputs. Never redraw or alter the logo.

When the interview is done, write `.sauces/identity/brief.md`: the person's words quoted, then your proposals for what they didn't say, each marked "(my proposal: …because…)". Set `step` to `identity`.

## 3. Identity

Turn the brief into three identity variants, one per direction (section 4), each a full `identity.json` shape. Validate the one you will show first:

```bash
python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/check_json.py" "${CLAUDE_PLUGIN_ROOT}/skills/design/references/identity-schema.json" .sauces/identity/directions/round-1/1-<slug>/identity.json
```

Fix any error and validate every variant before rendering. Colors are role-based (`brand`, `on-brand`, `surface`, `surface-variant`, `text`, `text-variant`, `outline`, `error`, `success`), light and dark, each with a reason. Fonts are system fonts or OFL fonts, with source URL and license. Icons name an open-license set (Lucide, Material Symbols, Phosphor, or similar); never emoji. Copy the person's dislikes into `anti`. Set `locales` and `rtl` from the interview (`rtl` is true for `ar`, `he`, `fa`, `ur`).

## 4. Directions

Follow `${CLAUDE_PLUGIN_ROOT}/skills/design/references/directions.md`: three distinct directions, each cited to the brief, as plain HTML/CSS screens rendered to PNG with the pinned Playwright, plus a gallery page. Set `step` to `directions`.

## 5. Check

Before showing anything, run on every round:

```bash
python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/design_check.py" .sauces/identity/directions/round-<k>/*/*.html
python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/design_check.py" --directions .sauces/identity/directions/round-<k>/*/
```

Exit 1 means findings: fix the HTML and tokens, re-render, rerun until clean. Then review each direction against `${CLAUDE_PLUGIN_ROOT}/skills/design/references/anti-generic.md` for what a script can't judge. A `low-contrast` finding on a color the person asked for is not yours to silently fix: keep their color in a version, offer the nearest passing shade with the reason, and let them choose. If they keep theirs, add the pair to `accepted_contrast` in that direction's `identity.json`, note it in `brief.md`, and pass `--accept <fg>/<bg>` on every later run; the finding then shows under `accepted` and no longer fails.

## 6. Feedback and approval

Show the gallery (section 4 of `directions.md`): give the path to `.sauces/identity/directions/index.html` to open in the browser, and describe each direction in two or three lines in chat (name, the feeling, what it borrows from their words). Ask: "Which one is closest, and what would you change?"

Revise in their words: warmer, rounder, calmer, "the colors of 1 with the shapes of 3". Each revision is a new `round-<k>/` (keep earlier rounds), re-rendered and re-checked before you show it. A round can narrow to one or two directions once they have a favorite. If feedback goes in circles after three rounds, offer two concrete choices for the thing that keeps changing. Set `step` to `feedback` and `round` each time.

Approval is explicit: "that's it", "approve", "yes, this one". On approval:

1. If a screen has a form, render its error and loading states too, in the same direction, and check them.
2. If `rtl` is true, make the RTL render of every approved screen and state: a copy of the HTML with `lang` and `dir="rtl"` for the RTL locale, copy in that language marked for translation review, mirrored directional icons, and left-to-right email, URL, phone and password fields. Run `design_check.py` on it (a `physical-direction` finding means a left/right property that breaks mirroring: switch it to the logical property in both versions). Render it, show it, fix anything that breaks, and get a yes.
3. Copy the final screens to `.sauces/identity/approved/` as `<screen>@<width>--<state>.png` with the matching `<screen>@<width>--<state>.html` beside each PNG (states: `default`, `error`, `loading`; widths per `directions.md`), and each RTL render beside its state as `<screen>@<width>--<state>.rtl.png` and `.rtl.html`.
4. Write the approved identity to `.sauces/identity/identity.json` and validate it with `check_json.py` against the schema. Update `brief.md` with the decisions made in feedback.
5. Set `step` to `approved`.

## 7. Hand-off

Summarize in chat: the direction's name, three lines on why it fits them, the colors, fonts and voice rules, and the files. If `answers.features` lists things not yet designed, name them as next screens with the command: `/sauces:design --screens "<screen>, <screen>"`. Ask: "Build it now?" On yes (eval mode: always), invoke `sauces:cook .sauces/identity/approved`. Cook, ingest and build read `.sauces/identity/identity.json` for exact tokens, text and voice. On no, say that `/sauces:cook .sauces/identity/approved` builds it later.

When no project exists yet and the interview named a platform, cook's scaffold step reads it from `session.json` `answers.platform`, saved as a list of scaffold IDs, never the person's words: `"platform": ["flutter"]`.

## Later screens

`/sauces:design --screens "settings, checkout"` with an approved `identity.json`: skip the interview and directions. Design the named screens in the saved identity (same tokens, fonts, icons, voice, `anti`), render them, run the file check of `design_check.py` on the new screens (there is one direction, so `--directions` doesn't apply), show them, revise until approved, then add them to `approved/` and render RTL when `rtl` is true. Never change the saved identity here without asking; a change of look is a new session.

## Summary

End every session (approved or stopped) with: session type, the step reached, the files in `.sauces/identity/`, and the next command.

Files in this skill

  • SKILL.md10.8 KB
  • references/anti-generic.md3.5 KB
  • references/directions.md4.7 KB
  • references/identity-schema.json11.2 KB
  • references/interview.md5 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 development →

Comments

Loading comments…

Newsletter

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