Design Build
Published by rschuft in ai-frontend-skill-packs
What this skill does
Implement or refine frontend visual design, CSS, layout, typography, color tokens, and component states. Use when creating or styling an interface.
Add Design Build to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "design-build" from https://github.com/rschuft/ai-frontend-skill-packsInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/rschuft/ai-frontend-skill-packs --skill design-buildSkill instructions
Build coherent, aesthetic, accessible frontend design
Scope
Implement visual design decisions within the existing product requirements and design system. Use specialist guidance for the specific composition problem.
Procedure
- Read before styling: existing brand/semantic tokens, component library, themes, accessibility target, user workflows, supported locales and responsive breakpoints. Do not invent a new visual identity if one exists.
- Choose the screen's purpose and focal point. Sketch content hierarchy and source/DOM order first. Select grouping, grid, whitespace and type roles before decoration.
- Read only the specialist playbooks matching the design problem. Use
../design-diagnose/references/remediation_recipes.jsonfor relevant repairs; avoid loading all ten specialists. Map visual primitives to semantic roles and existing components. Prefer scoped variables,minmax,clamp, flexible measures and maintained theme tokens over hardcoded one-off values. - Implement complete visual states: default, hover, focus-visible, active, disabled, loading, empty, error and success, plus dark theme if supported. Color is not the only indicator; focus rings and meaningful contrast must remain clear.
- Verify screenshot comparisons at representative content lengths, mobile/tablet/desktop, zoom, themes and loading states. Check actual task behavior with
ux-buildand accessibility withwcag-build. Design tokens are not a shortcut around interactive or WCAG tests. - Deliver a narrow component/style diff, explicit rules for reuse, and a short verification record. Avoid a giant custom design-system framework for one simple page.
Defaults are hypotheses, not mandates
A modest modular type scale, restrained palette, consistent spacing tokens, one main accent and intentional negative space are good starting points. Do not enforce 60/30/10 color area, a golden ratio, one hero or two fonts as immutable constraints. Dense dashboards, localized interfaces and critical operations may demand different treatments.
Use references/implementation-contracts.md for CSS/token examples and state/viewport acceptance checks.
Files included
- references/implementation-contracts.md
- SKILL.md

