ui-design-change
Use when modifying CSS, layout, components, icons, client-side JavaScript behavior, accessibility, responsive behavior, or design tokens.
SKILL.md.claude/skills/ui-design-change/SKILL.md
GitHubUI And Design Changes
Read First
/ops/style-design.md/ops/requirements.md- Relevant ADRs for the component or behavior being changed.
Rules
- No silent UX or visual design changes.
- Document IA, token, component, or behavior changes in
/opsor an ADR before implementation. - CSS lives in
src/styles/NN-<concern>.css(the number is the cascade order; tokens are in01-base.css). Edit the part that owns the component; a new part needs a number that keeps the cascade right. - Use existing CSS tokens and component patterns.
- JavaScript must remain ESM.
- Icons in
src/assets/icons/must haveviewBoxand inheritcurrentColor. - Preserve accessibility: focus states, labels, keyboard behavior, and reduced-motion behavior.
Checks
npm run check:assetsnpm run buildnpm run test:playwright
Pipeline
Check the result on localhost with preview-site, then release-check — layout and client JS changes need npm run test:playwright.
Design rules that outlive the change belong in /ops/style-design.md or an ADR via ia-nav-adr.