VERIFIED ON 2.1.319FREE · TEMPLATE

Design spec

A fill-in design spec for your app's screens: what is on each one, the path between them, and what each looks like when empty, loading, broken or on a phone. Comes with a prompt that writes it from your PRD.

VERSION 1.0MAINTAINER: Runs on AILICENCE: MITTESTED WITH 2.1.319
[PERMISSIONS IT NEEDS]

None. It is a file you read, fill in and keep; it runs nothing.

What it is

A design spec is a plain description of your app’s screens: what’s on each one, what a person can do there, the path between them, and what each screen looks like when it’s empty, loading, broken or on a phone. This is a fill-in file for one, plus a prompt that turns your PRD into a finished spec. If you don’t have a PRD yet, start with the PRD template.

It’s written as plain prose and lists, with no code, so the finished spec can be pasted into a design tool or an app builder as the brief, and it makes sense with nothing else attached.

How to use it

  1. Make an empty folder. Copy design-spec.md into it, and save your PRD there as prd.md.
  2. Open Claude Code in that folder and paste the prompt below. Save the answer as my-design-spec.md. Or fill the sections in by hand.
  3. Check that every screen has an empty, loading, error and phone version, each a real description.
  4. Paste the whole finished spec as the brief into your design tool or builder.

The prompt

TERMINAL · TESTED ON 2.1.319
Read design-spec.md (a blank design spec template) and prd.md (the PRD for an app). Write the design spec for the app in prd.md by filling in the template. Print the finished design spec only and save nothing.

Rules:
- Keep every heading from the template. Use plain words a non-engineer can follow. Write full sentences so the spec makes sense on its own, with nothing else attached.
- Make one screen block for every screen in the PRD. Every screen block must describe all four states as what the person actually sees: empty, loading, error (with the exact words shown, covering a failed save and no internet) and on a phone. Never write "same as above". If a state truly does not apply to a screen, say so and give the reason.
- Write the path through the screens as a numbered list, one path for each kind of person.
- Design only what the PRD says the app must do. Do not add anything the PRD says the app will NOT do.
- Do not invent colours, fonts, brand names or facts. If the PRD leaves something open, put it under "Open questions".
- No code, no tables, no HTML. Plain prose and lists only. Keep it under four pages.

How we tested it

One made-up idea, the piano-teacher booking page from the PRD template, with file editing switched off. On Claude Code 2.1.319, 8 November 2026, the prompt ran twice. Both specs had all five screens, each with its empty, loading, error and phone versions described, a numbered path for each kind of person and no code. Nothing the PRD says the app won’t do was designed in, and the open questions (the price, the contact detail, the lesson length, the time zone) stayed open.

In October, on Claude Code 2.1.296, a plain “write a UI/UX design spec” came back at over 2,000 words, with invented colour codes and web addresses and only some screens’ states. The same template with its four state lines removed failed: no screen had its states. The template lines do the work.

What it doesn’t do

  • It doesn’t draw anything. It’s words; a design tool or builder turns them into pictures.
  • Small test. One model, one idea, two runs.
  • Not tested where it will be used. Pasting it into Claude Design, Lovable or another builder has not been run.
  • The AI writes the error wording. Read it, and change it to sound like you.

How to adapt it

  • Add a part to every screen block, such as who can see that screen.
  • Say which device matters most, if it isn’t a phone.
  • If you already have colours, fonts or a logo, write them under “The look and feel”.

The file

design-spec.md · TEMPLATE · TESTED ON 2.1.319
# Design spec: (name of your app)

Fill in every section in plain words. "I don't know" is a real answer: write it under "Open questions". When it is finished, this whole page is the brief you give to a design tool or an app builder. It must make sense with nothing else attached, so write full sentences and name things the way the person using the app will see them.

## What this app is
One or two sentences: what the app is, who uses it, and what they get done with it.

## Who uses it, and on what
Name each kind of person. For each, say what device they usually use (a phone, a laptop) and how comfortable they are with technology. Say which kind of person matters most when the design has to choose.

## The look and feel
Three to five plain words for the mood (for example calm, friendly, plain). Name any colours, fonts or logo you must use. If you have none, write "none yet" and do not make them up.

## The path through the screens
A numbered list, in order, of what one person does from the first screen to the goal. Do one path for each kind of person. Write each step as "The person does this, then sees that screen."

1.

## The screens
Write one block for each screen, using the layout below. Every screen needs all of it. If a part truly does not apply to a screen, say so and say why. Do not leave it out.

### Screen: (name)
- **What it is for:** one sentence.
- **What is on it:** the things the person sees, top to bottom.
- **What the person can do here:** each action, and where it takes them.
- **When there is nothing to show yet (empty):** what the person sees the first time, before any data exists, and what it invites them to do.
- **While it is loading:** what the person sees while information is on its way, and what happens if it takes long.
- **When something goes wrong (error):** what the person sees, in the actual words, and what they can do next. Cover at least a failed save and no internet.
- **On a phone:** how the layout changes on a narrow screen: what moves, what shrinks, what is hidden, and how big the tap targets are.

## The words on the screens
The exact wording of the main buttons, headings and messages, in one place, so the same thing is always called the same name.

## What this design leaves out
Things people will expect or ask for that this design does not show, on purpose. At least three.

## Open questions
Things the design still depends on that nobody has decided. Better listed than guessed.

<!--
MIT License

Copyright (c) 2026 PT Maverick Rintis Karya

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->

Test status

STATUS
VERIFIED ON 2.1.319
TESTED WITH
2.1.319
LATEST CHANGE
8 NOV 2026

Changelog

[SKILL CHANGELOG]
  1. 1.0Retested on Claude Code 2.1.319: both runs passed. Published. 8 Nov.
  2. 1.0First version, tested on Claude Code 2.1.296. 13 Oct.