Use when the user sends /mystical-design:design-first <task> or presses the composer's DESIGN button — design the change before any implementation. Drafts three Directions as HTML mockups on one design board, checks each one (axe, the judgement pass, an independent critic), screenshots them into one approval card, and stops for a pick; repo code changes start only after the user approves.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Design First?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ainurdev-design-first-mystical-assistant)
---
name: design-first
description: Use when the user sends /mystical-design:design-first <task> or presses the composer's DESIGN button — design the change before any implementation. Drafts three Directions as HTML mockups on one design board, checks each one (axe, the judgement pass, an independent critic), screenshots them into one approval card, and stops for a pick; repo code changes start only after the user approves.
user-invocable: true
---
# Design first, implement after approval
The argument is a UI task. Do NOT implement it yet. This skill puts three checked
Directions in front of the user, in one card, before any repo code changes.
Walk the steps in order. Where a step loads a skill, load it by the name given, with
the Skill tool. Never wait for a skill's own description to trigger it.
## Bold runs
A **Bold run** is for a screen that should be truly creative and unique. All three
Directions leave the house look on purpose. The steps below hold, with the changes this
section names. Decide before step 1 whether this run is bold. It is when any of these is
true:
- **BOLD was lit.** The prompt carries the line `Bold run: you lit BOLD.` right after
its command line.
- **The ask says so:** "creative", "unique", "bold", "surprise me", or the same in
other words.
- **A showpiece with nothing to fit.** You judge the screen one: a landing page, a
splash, onboarding, a set of info cards like the OBJECTS ones.
- **The last card's answer said "Go bold".** The next round is a Bold run.
On a Bold run:
- **Concepts (step 4).** List about fifteen one-line concepts, and make them bold and
different. Keep the three farthest apart, each breaking a different convention:
layout, type, colour or motion. Name in SPEC.md which convention each one breaks. No
Direction stays in place, and none is labelled OFF-SYSTEM, since all three are
off-system.
- **What stays.** The product's name, logo and real content.
- **The Self-check (step 6)** is the same: axe, the judgement pass, and the critic's P0
and P1 problems. Every Bold-run page goes to `critique_design` with `bold: true`, which
adds the template-look check.
- **The card (step 8).** Its question line says in one line why the run is bold: "Bold
run: you lit BOLD", "Bold run: your ask says 'unique'", "Bold run: a landing page has
nothing to fit", "Bold run: you said 'go bold'".
## 1. SearchUx the question
`mcp__mystical-ux__SearchUx` the question. A decided pattern is where the design
starts: build on it, and don't argue it again.
## 2. design_context
Read `design_context` (find_tools). When the repo has no `DESIGN.md`, load
/mystical-design:create-design-md and write one in repository mode, a source cited for
every value, and run its lint. Don't commit it: the design run never commits. It is one
of the flow's files, so it reaches the feature branch with the build.
## 3. Load the skills for the repo
- The repo's own design-system skill, when it has one (this repo:
`mystical-assistant-design`). Its fonts, colours and components win.
- In a web repo, /mystical-design:frontend-design for craft. Its fonts and colours apply
only where the repo has none.
- In an Expo repo (`expo` in package.json), /mystical-design:expo-native-ui and
/mystical-design:expo-design-system.
## 4. Concepts
List about eight one-line concepts. Keep the three most different: different layout,
type and colour decisions, not one layout in three colours.
- One Direction stays in place: the smallest change to what is there now.
- At most one is an **Off-system direction**: it leaves the repo's design system on
purpose. It goes in the third slot, labelled OFF-SYSTEM, with its reason in one line.
Name each Direction with a letter and a token: `A · TOKEN`, `B · HEADER`, `C · RAIL`.
## 5. Draft each Direction
Deliverables go in `.mystical/design-drafts/<slug>/` (git-ignored runtime state):
- One **self-contained** HTML page per state of each Direction: inline CSS, no external
fetches. Draw the empty, loading and error states too, where the screen has them.
- `SPEC.md`: intent, then per Direction its idea, components and tokens used, states,
behaviour notes and open questions. Short.
Put the Directions up as pages of one **Design board**: `show_design` with every page.
The user opens PREVIEW DESIGN, points, draws and comments, and their comments come
back as a message naming the elements. Keep editing the page files: edits appear live.
## 6. The Self-check
For each Direction, before the card:
1. **Measured checks.** `inspect_ui` on each of its pages, at phone and desktop width
(the default). axe runs inside it. Fix every axe violation, or name it with the reason
it stays. A clean axe run means axe found nothing. It does not mean the page is
accessible: never say so.
2. **The judgement pass.** Read this pack's `references/judgement-pass.md`
(`../../references/judgement-pass.md` from this skill's folder) and go through its
three parts for every state.
3. **The critic, once.** `critique_design` on the Direction's page with `fresh: true`.
For the OFF-SYSTEM Direction add `bold: true`. If it answers that it is still running,
call it again without `fresh` (keep `bold`) until the answer arrives: that is still the
one run. Treat it as a
defect finder. Check each problem against the page yourself, then fix the real P0
and P1 problems, and P2 problems where the fix is cheap. Don't call the critic again
after your fixes.
4. **Fix rounds.** After each fix round, run the measured checks (1) again. Stop after
two fix rounds, whatever is left.
Record each Direction's checks in SPEC.md, under a `Self-check` heading: what each check
found, what you fixed, and what is left with its reason. When the critic didn't run
(off, failed or unavailable), write that, and say so on the card too.
The critic's problems never rank the Directions. Recommend a Direction for how well it
does the job, not for how few problems the critic listed.
## 7. Crops
Screenshot each state with the bridge-eyes skill. The user reviews from a phone: the
pictures are the review, the HTML is the backup.
**One crop per state, at 2x, never the whole sheet.** A sheet with three states and a
notes column reaches a phone at a fifth of life size and reads as "low resolution".
Capture each state's column on its own (`.mystical/probe-mac/shots.mjs <url> <prefix>
.col` does every `.col` at 2x; on Linux use CLIP= with shot2.mjs). The Attach result
names the size and says when a picture is a poster or a 1x capture.
Don't Attach the Directions' crops one by one: they go in the card (step 8).
## 8. The card
One AskUserQuestion. The question line names the task.
- One option per Direction, lettered (`A · TOKEN`), the one you recommend first, with
"(Recommended)" on its label.
- Each option's `preview` holds its crops, one markdown image per state:
``. The card shows them on a stage beside the options,
tabbed by state.
- Each option's description gives its idea in one line, then its Self-check: what was
checked, what was fixed, what is left. For example: "Checked: axe at 390 and 1280,
judgement pass, critic. Fixed: 2 contrast, empty state. Left: P2 dense header
(kept for the row height)." When the critic didn't run, say "critic off".
- **Park it**, as the last option.
- Revising is the card's own free-text answer: on a revise, go back to step 4 or 5 as
the answer needs.
Do not touch repo code before a pick.
## 9. On a pick
- **SPEC.md** records the approved Direction at the top, plus a `Build` section naming
the skills the build loads:
- /mystical-design:shadcn where the repo is built on its components (`components.json`, or
`@/components/ui` imports);
- /mystical-design:expo-animation for motion in an Expo app;
- the repo's own design-system skill.
- **RecordUx** (`mcp__mystical-ux__RecordUx`) whatever they picked (a Direction, a
revise that settles it, Park it): the pattern's slug, its verdict, `status: decided`
once picked, the Mobbin screens you used, and a `case` saying which option they took
and whether it was the one you recommended.
- **In a flow's design step** (the prompt says so), call StepDone: the build step builds.
- **Outside a flow,** build with the mockups and SPEC.md as the source of truth, then run
/mystical-design:polish.