ui-craft
Visual design method for app screens - surface type, hierarchy, grid, type roles, spacing rhythm, color roles, density, and detail, in a fixed order, with a rubric to score concepts and mockups and a list of AI tells. Use when a screen, a concept, or a mockup must be designed or judged on its visual quality, or when UI output looks generic, cluttered, or inconsistent.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- ui-craft
- description
- Visual design method for app screens - surface type, hierarchy, grid, type roles, spacing rhythm, color roles, density, and detail, in a fixed order, with a rubric to score concepts and mockups and a list of AI tells. Use when a screen, a concept, or a mockup must be designed or judged on its visual quality, or when UI output looks generic, cluttered, or inconsistent.
02 资源文件 8
- 参考文档references/foundation.md3.7 KB
- 参考文档references/language.md4.7 KB
- 参考文档references/method.md3.6 KB
- 参考文档references/rubrics.md4.2 KB
- 参考文档references/system-audit.md2.0 KB
- 参考文档references/tells.md2.6 KB
- 脚本scripts/convert.py2.9 KB
- 脚本scripts/doccheck.py28.8 KB
03 SKILL.md 正文
UI craft
Good visual design for an app is not decoration. It makes the main task the first thing that the user sees. It uses the design system, so each screen feels like the same product. This skill gives a fixed order of decisions and a rubric, so the same input gives the same result.
The design system wins. When DESIGN.md, the tokens, or the components give a value, use it. This skill fills only what the system does not decide, and each such choice becomes a proposed decision.
Steps
- Check the design system. When the project has no design system, read
references/foundation.mdand make the minimal foundation that it describes. When the project has one, readreferences/system-audit.mdand audit it. Done when the foundation passesuxcheck.py system, or each fault of the system has a row in the issues file. - Set the surface. Select one:
operate(an app screen where users do work: lists, forms, dashboards),read(long text), orpersuade(marketing). Most product screens areoperate. On anoperatescreen, the look comes from the system. Your work is hierarchy, order, and density, not a new style. Done when the surface is inux-design.md. - Make the concepts. In full mode, make 2 or 3 concepts. They differ in structure: the layout, the order of information, or the main action. Describe each in 2 or 3 lines. In new-direction mode, start from the chosen style direction. At least one concept changes the color, the type, and the shape of the main element. Done when the concepts differ in structure, not only in color or spacing.
- Score the concepts. Use the option rubric (
references/rubrics.md). Whenux-design.mdhasMode: new-direction, use the new-direction variant: it adds Difference and gives less weight to Consistency and Cost. The standard rubric rewards the existing look, so it fails a request for something new. Select the highest total. On a tie, select the one with the fewest new components. Write the scores and the reason in the Options table. Done when the Options table has scores and a "Selected:" line. In new-direction mode, it also has a Difference column with at least one 3. - Decide in order. For the selected concept, read
references/method.md. Decide in the order of that file, from hierarchy to detail. Each decision goes into the design spec with its source. Done when the spec rowslayout,hierarchy,components,density, andmotionhave a value and a source. - Critique the mockups. After the mockups exist, render them and score each frame with the mockup rubric. Then do the set-level pass: one score for the whole set of screens, with the Element inventory of
ux-design.md. Fix each score of 1. Max 2 loops. Done when no criterion and no set score is 1, or you listed the open items for the human. - Run the tell check. Run
uxcheck.py mockup(in theux-practiceskill) on the mockups. Readreferences/tells.mdfor the tells that need judgment. Done when the checker shows 0 errors.
Files
| File | Read when |
|---|---|
references/foundation.md |
Step 0, when the project has no design system. |
references/system-audit.md |
Step 0, when the project has a design system. |
references/method.md |
Step 4: the rules for each decision in the order. |
references/rubrics.md |
Steps 3 and 5: the option rubric with its new-direction variant, and the mockup rubric with its set-level pass. |
references/tells.md |
Step 6: the list of AI tells for app screens. |
references/language.md |
Before you write text for the human. |
04 同仓库更多 Skills
web-accessibility
Web accessibility to WCAG 2.2 AA - a checklist for the design, the tool checks (axe-core, the Tab walk, reduced motion), and the manual checks that no tool does (screen reader, zoom, status messages) - with the EAA and EN 301 549 status. Use when a design, mockup, or built feature must be checked for accessibility, when a review must cover keyboard and screen reader use, when the user asks about focus, a focus trap, contrast, or a screen reader on a page, or when the user asks which accessibility rules apply.
ux-states
State inventory for each screen - default, empty, loading, partial, error, success, disabled, overflow, offline, and the business states (no permission, stale data, locked by another user, waiting on an external system, bulk result with failures, read only) - with what the user sees, can do, and how the user recovers. Use when a screen or flow needs its states designed or checked, or when a design shows only the happy path.
ux-setup
Set up a project for UX work - finds the design tools, the design-system source, the brand files, the languages, and the run command, asks the human one round of questions, and writes the "## Design" section of .claude/rules/delivery.md that the ux-design commands and the ux-designer agent read. Moves an older "## Design" section out of CLAUDE.md. Use when /setup, /ux-design, or /ux-review needs the design facts, when the ux-designer agent returns NEEDS_HUMAN because the "## Design" section is missing, or when the user wants to set up or change the design tools of a project.
ux-review
UX review of a built feature against its approved design - Playwright walks each flow and state at 390, 820, and 1440 px, axe-core and the tell checks run on each state, and each heuristic gets a verdict - with findings by owner, severity, and origin, and a verdict in ux-review.md in the work folder of the item. Use when a built feature or screen must be checked against its design, mockups, or prototype, in each state or at each screen size, when built screens need findings by severity, when the build of an item with a UX design is done, or when existing screens need a UX audit.
ux-prototype
Clickable prototype of a designed story in the proto-shell standard, with variants for an A/B test, all states in scope, three sizes, and a test plan with tasks. Use when a design or mockups exist and the team must test the flow or compare variants with users before the build.
ux-practice
The method of the ux-designer agent for the UX design of a story, a feature, or a screen - Double Diamond phases, a design spec with a source for each decision, the UX decision log, evidence tags, severity, and the modes light, full, and new-direction. Preloaded by the ux-designer agent. Use when the ux-designer agent or another UX skill names this method. For the design of an item, a person starts ux-design:ux-design.