designer-1
БесплатноБез исполняемых скриптовНе проверенBuild complete web screens from a fixed set of parts, on one spacing scale, with few words and check them before reporting. Use when designing or changing an…
от atrislabs★ 71 звезда на GitHubОб этом скилле
designer-1
Design is everything. Make a part once, then use it again.
Covers web. iOS is next.
0. taste first
- Read
atris/taste/TASTE.mdin the project, then the person's own~/.atris/taste/TASTE.md. Project taste wins over the person's; both win over this file. - Taste can change a default. It cannot remove the rule that every control has a name.
- Never write a correction into this skill. Project corrections go in
atris/taste/TASTE.md.
1. the list
Completeness comes before restraint. Before designing, write:
- Every capability the request names. If a thing can be added and can change, changing it is a capability too.
- Every state of each one: empty, error, pending, done, undo. Write "none" with a reason when a state cannot happen.
Nothing on the list is cut to save words. Restraint decides how a thing is said, never whether it is there.
2. reuse first
Before writing any control:
- Look for the Atris parts:
package.jsonlists@atris/design-react, or the code imports from it. Use these 19:Button,Field,Input,Textarea,Checkbox,Switch,RadioGroup,Select,Dialog,Popover,Menu,Tooltip,Toast,Tabs,Accordion,SegmentedControl,Combobox,Slider,RowList. - No Atris parts: search the project's component folder for a control with the same job.
- Nothing fits: build the part once, in the one shape, in the folder where parts live. Export it, then import it.
- Never restyle a part inline for one screen: no
styleorclassNamethat changes its color, size, radius or spacing. Change the part, or use asizeortonevalue. - A native
<button>,<input>or<select>in a screen file, where a part covers that job, fails.
3. the one shape
label: required plain string, the accessible name.hideLabelhides it on screen only.- Pickers take
options. Containers takeitems. Each entry is{ value, label, disabled?, data? }. Empty choice isnull. - Callbacks:
onValueChange,onCheckedChange,onOpenChange; an action that is not a value isonSelect. disabledis the only disabled prop.readOnlyrefuses every change.- Sizes:
small,default,large. Tones:default,primary,quiet,success,danger. - Pass
value,checkedoropento own the state; the callback runs on every attempt so a parent can refuse.
Props for all 19: parts.md. Open it only when you place or build a part.
4. spacing
One scale, Atris token names first. A project token file maps the same steps to its names. No token file: make one, once, with this scale.
| token | px | use |
|---|---|---|
--atris-part-space-1 |
2 | icon nudge |
--atris-part-space-2 |
4 | label to control, control to hint |
--atris-part-space-3 |
6 | icon to text inside a control |
--atris-part-space-4 |
8 | between sibling buttons, chips, options |
--atris-part-space-6 |
12 | between fields in one group |
--atris-part-space-8 |
16 | panel padding on phone |
--atris-part-space-10 |
24 | between groups; panel padding on desktop |
calc(var(--atris-part-space-10) * 2) |
48 | between page regions |
Steps -5 (10px), -7 (14px), -9 (20px) are for inside a part only.
- No spacing value outside the scale: every margin, padding, gap and inset is a token,
0, orcalc(var(--atris-part-space-10) * n). - The gap between groups is at least twice the gap inside a group.
- Siblings of the same kind share one gap.
- One left edge per column.
- Labels sit above controls.
- Numbers in a column align right.
- A row of controls shares one size. Dialog and form buttons end-align, primary last.
- Nothing fixed to a screen edge covers content: a sticky or fixed bar reserves its own height in the page.
| height token | px | use |
|---|---|---|
--atris-part-height-small |
30 | dense tables, desktop toolbars |
--atris-part-height |
36 | default |
--atris-part-height-large |
44 | phone, primary action |
--atris-part-touch |
44 | minimum touch target on phone |
Text: page title calc(var(--atris-part-text-title) * 1.25) (20), section headings --atris-part-text-title (16), body --atris-part-text-body (14), one secondary size (--atris-part-text-metadata, 12). The title is at least 1.25 times a section heading, or one step above it in a project scale. At most four sizes.
Color, radius, motion: house tokens only (--ink, --accent, --line, --radius-control, --motion, --ease-out). One accent, on the primary action.
5. words
Three kinds of text:
- label: names a thing or an action and must be enough to act on. "anyone with the link", not "anyone".
- consequence: what an action will do, in numbers. Example: "charge $40.00 today, then $120.00 a month from 1 dec".
- explanation: how to work the screen. Example: "click here to change your plan".
Consequence is required. Explanation is never allowed.
Before any action that spends money, deletes, sends, or cannot be undone, the sc
Установить designer-1 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл designer-1?
Build complete web screens from a fixed set of parts, on one spacing scale, with few words and check them before reporting. Use when designing or changing an interface.
Как установить скилл designer-1?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл designer-1 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic