UICraft
Create interfaces with a clear design point of view while preserving usability, accessibility, performance, and the project's existing constraints.
Decision priority
Apply guidance in this order:
- Follow explicit user requirements and product constraints.
- Preserve the established brand and design system unless the user asks to change them.
- Protect task completion, accessibility, content clarity, and performance.
- Apply UICraft's aesthetic defaults only after the first three priorities are satisfied.
Treat the recommendations in this skill as context-sensitive defaults, not universal style laws.
Establish design context
Before making high-impact visual decisions, establish:
- target audience and usage context;
- primary jobs and critical user flows;
- brand personality and desired emotional tone;
- technical, accessibility, performance, and browser constraints.
Use context in this order:
- Use a
Design Context supplied by the user.
- Read
.uicraft.md from the project root when it exists.
- Inspect README files, design tokens, existing components, and brand assets for explicit evidence.
- For missing high-impact product or brand information, ask a focused question. For low-risk gaps, state a conservative assumption and continue.
Infer technical constraints and existing patterns from code. Do not invent audiences, brand values, business goals, or user needs from implementation details alone. For first-time setup, read uicraft-init.md.
Execute a verified UI workflow
For implementation tasks:
- Inspect the relevant code, framework, reusable components, tokens, and existing tests.
- Run or preview the current interface when practical and capture a baseline before substantial visual changes.
- Select one primary workflow reference and only the supporting foundation references needed for the task.
- Implement the smallest coherent change that fulfills the request. Preserve existing conventions unless changing them is part of the goal.
- Verify behavior, visual output, responsive states, keyboard access, reduced motion, loading/error/empty states, and relevant tests.
- Preview the result after implementation and iterate when the visual result differs from the intended design.
- Report what changed, what was verified, and any remaining assumptions or untested conditions.
For review-only requests, inspect and report findings without modifying files. Separate measured facts from aesthetic judgment.
When a request spans several concerns, work in this order unless the user specifies otherwise:
- Assess with critique or audit.
- Correct structure with layout, typography, responsive, simplification, or hardening workflows.
- Refine expression with color, motion, intensity, or delight workflows.
- Finish and verify with performance checks and the polish workflow.
Do not stack decorative effects before resolving task flow, hierarchy, accessibility, or structural problems.
Core design principles
- Choose an intentional direction appropriate to the product; distinctiveness does not require visual intensity.
- Make hierarchy, spacing, typography, and interaction states carry the design before adding decoration.
- Avoid generic patterns when they are merely defaults: undifferentiated card grids, gratuitous glass effects, generic gradient text, decorative glow, or interchangeable dashboard layouts.
- Treat the absence of an explicit brand or design-system constraint as room to make a deliberate choice, not license to default to the most common convention in the product category (e.g., a blue SaaS accent color, or a "Most Popular" badge floating above the middle pricing card as the only way to spotlight a featured tier). A competently executed but conventional result is a missed opportunity when nothing was actually constraining it — when context is weak, pick a specific point of view and justify it, rather than reaching for the category median by default.
- Keep unfamiliar choices explainable in terms of user goals, brand, hierarchy, or interaction feedback.
- Prefer native semantics, progressive enhancement, feature detection, and graceful fallbacks.
- Measure accessibility and performance claims; do not rely on visual inspection alone.
- Follow the user's language for user-facing copy and explanations.
Select workflow references
Choose one primary workflow. Add supporting references only when they materially help.
Visual direction
| Need |
Primary workflow |
Supporting reference |
| Increase impact or personality |
bolder.md |
typography, spatial design, color |
| Reduce visual intensity |
quieter.md |
color, motion, cognitive load |
| Add purposeful color |
colorize.md |
color and contrast |
| Build ambitious visual effects |
overdrive.md |
motion, performance, accessibility |
Layout, type, and adaptation
| Need |
Primary workflow |
Supporting reference |
| Improve layout and spacing |
arrange.md |
spatial-design.md |
| Improve typography |
typeset.md |
typography.md |
| Adapt across devices or contexts |
adapt.md |
responsive-design.md |
Page types
| Need |
Primary workflow |
Supporting reference |
| Design a marketing/landing page |
landing-page.md |
bolder, typography, color, motion |
| Design a personal portfolio/resume site |
portfolio.md |
typography, color, ux-writing |
Motion and experience
| Need |
Primary workflow |
Supporting reference |
| Add purposeful motion |
animate.md |
motion-design.md |
| Add personality and delight |
delight.md |
motion, UX writing |
| Improve onboarding or empty states |
onboard.md |
UX writing, cognitive load |
Quality and resilience
| Need |
Primary workflow |
Supporting reference |
| Technical quality review |
audit.md |
interaction, responsive, performance |
| UX and design critique |
critique.md |
heuristics, personas, cognitive load |
| Final pre-release pass |
polish.md |
relevant domain references |
| Edge cases, i18n, and resilience |
harden.md |
interaction, responsive |
| Frontend performance |
optimize.md |
current platform measurements |
Systems and content
| Need |
Primary workflow |
Supporting reference |
| Extract reusable components or tokens |
extract.md |
existing design-system conventions |
| Align with an existing design system |
normalize.md |
typography, color, spatial design |
| Simplify or remove noise |
distill.md |
cognitive load, UX writing |
| Improve interface copy |
clarify.md |
ux-writing.md |
Foundation references
- typography.md: type hierarchy, pairing, loading, and accessibility.
- color-and-contrast.md: palettes, contrast, and themes.
- spatial-design.md: spacing, grids, containers, and optical adjustment.
- motion-design.md: timing, easing, performance, and reduced motion.
- interaction-design.md: states, focus, keyboard, forms, and overlays.
- responsive-design.md: breakpoints, input modes, images, and real-device testing.
- ux-writing.md: labels, errors, empty states, and localization.
- heuristics-scoring.md: heuristic review and severity guidance.
- personas.md: persona-based walkthroughs without invented user claims.
- cognitive-load.md: cognitive-load analysis and simplification.
Keep standards current
Treat browser-support tables, Core Web Vitals, and accessibility thresholds as time-sensitive. Verify them against current primary sources when they affect implementation or release decisions. Prefer capability detection and measured results over memorized browser-version claims.
Attribution
UICraft is a derivative work of Impeccable by Paul Bakaus (Copyright 2025 Paul Bakaus), used under the Apache License 2.0. Files from the upstream project have been modified. Impeccable in turn is based on Anthropic's frontend-design skill.
See LICENSE for the license text. UICraft is not endorsed by or affiliated with the Impeccable project or its authors.
1---2name: uicraft3description: Create, improve, audit, and polish distinctive production-grade web interfaces, including marketing/landing pages and personal portfolio sites. Use for UI or frontend design, responsive layouts, typography, color, motion, UX copy, accessibility, performance, design-system alignment, onboarding, edge cases, or visual review of HTML/CSS/JavaScript and component-based web applications. Trigger for requests such as 界面设计、前端美化、响应式、动效、配色、排版、设计评审、无障碍、性能优化、设计系统、空状态、落地页/营销页、个人作品集网站和上线打磨. Do not trigger for backend-only work or frontend tasks with no interface-quality concern.4license: Apache-2.0. Derivative work of Impeccable (https://github.com/pb5---67# UICraft89Create interfaces with a clear design point of view while preserving usability, accessibility, performance, and the project's existing constraints.1011## Decision priority1213Apply guidance in this order:14151. Follow explicit user requirements and product constraints.162. Preserve the established brand and design system unless the user asks to change them.173. Protect task completion, accessibility, content clarity, and performance.184. Apply UICraft's aesthetic defaults only after the first three priorities are satisfied.1920Treat the recommendations in this skill as context-sensitive defaults, not universal style laws.2122## Establish design context2324Before making high-impact visual decisions, establish:2526- target audience and usage context;27- primary jobs and critical user flows;28- brand personality and desired emotional tone;29- technical, accessibility, performance, and browser constraints.3031Use context in this order:32331. Use a `Design Context` supplied by the user.342. Read `.uicraft.md` from the project root when it exists.353. Inspect README files, design tokens, existing components, and brand assets for explicit evidence.364. For missing high-impact product or brand information, ask a focused question. For low-risk gaps, state a conservative assumption and continue.3738Infer technical constraints and existing patterns from code. Do not invent audiences, brand values, business goals, or user needs from implementation details alone. For first-time setup, read [uicraft-init.md](references/uicraft-init.md).3940## Execute a verified UI workflow4142For implementation tasks:43441. Inspect the relevant code, framework, reusable components, tokens, and existing tests.452. Run or preview the current interface when practical and capture a baseline before substantial visual changes.463. Select one primary workflow reference and only the supporting foundation references needed for the task.474. Implement the smallest coherent change that fulfills the request. Preserve existing conventions unless changing them is part of the goal.485. Verify behavior, visual output, responsive states, keyboard access, reduced motion, loading/error/empty states, and relevant tests.496. Preview the result after implementation and iterate when the visual result differs from the intended design.507. Report what changed, what was verified, and any remaining assumptions or untested conditions.5152For review-only requests, inspect and report findings without modifying files. Separate measured facts from aesthetic judgment.5354When a request spans several concerns, work in this order unless the user specifies otherwise:55561. **Assess** with critique or audit.572. **Correct structure** with layout, typography, responsive, simplification, or hardening workflows.583. **Refine expression** with color, motion, intensity, or delight workflows.594. **Finish and verify** with performance checks and the polish workflow.6061Do not stack decorative effects before resolving task flow, hierarchy, accessibility, or structural problems.6263## Core design principles6465- Choose an intentional direction appropriate to the product; distinctiveness does not require visual intensity.66- Make hierarchy, spacing, typography, and interaction states carry the design before adding decoration.67- Avoid generic patterns when they are merely defaults: undifferentiated card grids, gratuitous glass effects, generic gradient text, decorative glow, or interchangeable dashboard layouts.68- Treat the absence of an explicit brand or design-system constraint as room to make a deliberate choice, not license to default to the most common convention in the product category (e.g., a blue SaaS accent color, or a "Most Popular" badge floating above the middle pricing card as the only way to spotlight a featured tier). A competently executed but conventional result is a missed opportunity when nothing was actually constraining it — when context is weak, pick a specific point of view and justify it, rather than reaching for the category median by default.69- Keep unfamiliar choices explainable in terms of user goals, brand, hierarchy, or interaction feedback.70- Prefer native semantics, progressive enhancement, feature detection, and graceful fallbacks.71- Measure accessibility and performance claims; do not rely on visual inspection alone.72- Follow the user's language for user-facing copy and explanations.7374## Select workflow references7576Choose one primary workflow. Add supporting references only when they materially help.7778### Visual direction7980| Need | Primary workflow | Supporting reference |81|---|---|---|82| Increase impact or personality | [bolder.md](references/bolder.md) | typography, spatial design, color |83| Reduce visual intensity | [quieter.md](references/quieter.md) | color, motion, cognitive load |84| Add purposeful color | [colorize.md](references/colorize.md) | color and contrast |85| Build ambitious visual effects | [overdrive.md](references/overdrive.md) | motion, performance, accessibility |8687### Layout, type, and adaptation8889| Need | Primary workflow | Supporting reference |90|---|---|---|91| Improve layout and spacing | [arrange.md](references/arrange.md) | [spatial-design.md](references/spatial-design.md) |92| Improve typography | [typeset.md](references/typeset.md) | [typography.md](references/typography.md) |93| Adapt across devices or contexts | [adapt.md](references/adapt.md) | [responsive-design.md](references/responsive-design.md) |9495### Page types9697| Need | Primary workflow | Supporting reference |98|---|---|---|99| Design a marketing/landing page | [landing-page.md](references/landing-page.md) | bolder, typography, color, motion |100| Design a personal portfolio/resume site | [portfolio.md](references/portfolio.md) | typography, color, ux-writing |101102### Motion and experience103104| Need | Primary workflow | Supporting reference |105|---|---|---|106| Add purposeful motion | [animate.md](references/animate.md) | [motion-design.md](references/motion-design.md) |107| Add personality and delight | [delight.md](references/delight.md) | motion, UX writing |108| Improve onboarding or empty states | [onboard.md](references/onboard.md) | UX writing, cognitive load |109110### Quality and resilience111112| Need | Primary workflow | Supporting reference |113|---|---|---|114| Technical quality review | [audit.md](references/audit.md) | interaction, responsive, performance |115| UX and design critique | [critique.md](references/critique.md) | heuristics, personas, cognitive load |116| Final pre-release pass | [polish.md](references/polish.md) | relevant domain references |117| Edge cases, i18n, and resilience | [harden.md](references/harden.md) | interaction, responsive |118| Frontend performance | [optimize.md](references/optimize.md) | current platform measurements |119120### Systems and content121122| Need | Primary workflow | Supporting reference |123|---|---|---|124| Extract reusable components or tokens | [extract.md](references/extract.md) | existing design-system conventions |125| Align with an existing design system | [normalize.md](references/normalize.md) | typography, color, spatial design |126| Simplify or remove noise | [distill.md](references/distill.md) | cognitive load, UX writing |127| Improve interface copy | [clarify.md](references/clarify.md) | [ux-writing.md](references/ux-writing.md) |128129## Foundation references130131- [typography.md](references/typography.md): type hierarchy, pairing, loading, and accessibility.132- [color-and-contrast.md](references/color-and-contrast.md): palettes, contrast, and themes.133- [spatial-design.md](references/spatial-design.md): spacing, grids, containers, and optical adjustment.134- [motion-design.md](references/motion-design.md): timing, easing, performance, and reduced motion.135- [interaction-design.md](references/interaction-design.md): states, focus, keyboard, forms, and overlays.136- [responsive-design.md](references/responsive-design.md): breakpoints, input modes, images, and real-device testing.137- [ux-writing.md](references/ux-writing.md): labels, errors, empty states, and localization.138- [heuristics-scoring.md](references/heuristics-scoring.md): heuristic review and severity guidance.139- [personas.md](references/personas.md): persona-based walkthroughs without invented user claims.140- [cognitive-load.md](references/cognitive-load.md): cognitive-load analysis and simplification.141142## Keep standards current143144Treat browser-support tables, Core Web Vitals, and accessibility thresholds as time-sensitive. Verify them against current primary sources when they affect implementation or release decisions. Prefer capability detection and measured results over memorized browser-version claims.145146## Attribution147148UICraft is a derivative work of [Impeccable](https://github.com/pbakaus/impeccable) by Paul Bakaus (Copyright 2025 Paul Bakaus), used under the Apache License 2.0. Files from the upstream project have been modified. Impeccable in turn is based on Anthropic's `frontend-design` skill.149150See [LICENSE](LICENSE) for the license text. UICraft is not endorsed by or affiliated with the Impeccable project or its authors.