# The Design skills

> Five skills: write the guide, draw icons, design screens, build them and check them.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://design.docs.sypnia.com/skills/the-design-skills/

For agents: Skills: sypnia-design-guide (interview at the person's level, read uploaded logo/brand, propose 2–3 options per decision shown on real screens, write guide.md + tokens.json, never copy a brand, licensed fonts only), sypnia-design-icons (draw SVG icons with rules.yaml construction + signature, show 16/20/24 px, run icon check), sypnia-design-screens (read the case and its where, pick the gallery pattern, write the screen file with every ending and failure, messages from tell, request renders), sypnia-design-build (implement an approved screen with src/design pieces only, no raw values, no direct @sypnia/base imports), sypnia-design-check (run design check, fix findings, propose guide changes for what is missing, never waive without a person). Each SKILL.md: when to use, what it reads, steps, checks that prove it is done.

| Skill                   | When the agent uses it                           | What it reads                                    | What it writes                                      |
| ----------------------- | ------------------------------------------------ | ------------------------------------------------ | --------------------------------------------------- |
| `sypnia-design-guide`   | starting or changing the guide                   | your words, logo, brand files, the current guide | `design/guide.md`, `design/tokens.json`, a proposal |
| `sypnia-design-icons`   | a screen needs an icon the set lacks             | `design/icons/rules.yaml`, the existing icons    | new SVGs in `design/icons/`, as a proposal          |
| `sypnia-design-screens` | a case needs its screens, or its case changed    | the case, its `where`, `gallery.yaml`, the guide | `design/screens/<case-id>.screen.yaml`              |
| `sypnia-design-build`   | building an approved screen                      | the screen file, `src/design/`                   | the screen's code                                   |
| `sypnia-design-check`   | before proposing any change to screens or pieces | everything above                                 | fixes, or proposals for the guide                   |

## The rules every Design skill follows

1. **Read the guide first.** No screen, piece or icon is touched before `design/guide.md` and `gallery.yaml` are read.
2. **Only what the guide has.** Colours, sizes and fonts come from tokens; pieces from `gallery.yaml`; icons from `design/icons/`; layouts from patterns.
3. **Missing means propose.** When something is missing, the agent proposes a change to the guide and waits. It never adds a one-off.
4. **Never copy a brand.** No «make it look like» another company's app, logo or icons.
5. **Messages come from the case.** What a failure says comes from the case's `tell` in Sypnia Cases, in the guide's voice.
6. **Check before proposing.** `design check` passes, or every remaining finding is explained.
7. **People decide.** The agent offers two or three options at a time, shown as pictures for people who do not read code, and never approves its own proposals.

## How a skill is written

Each skill is a folder with a `SKILL.md`: when to use it, what it reads, the steps, and the checks that prove the work is done. They are plain instructions under the MIT license, in [Sypnia Skills](https://skills.docs.sypnia.com/) and inside `@sypnia/design`.
