sc-ui — visual craft without AI slop
Language
Keep durable instructions in English. Reply in the user's language unless requested otherwise.
Default behavior
Inspect before inventing. If the project already has a coherent UI, preserve its design DNA unless the user explicitly asks for a redesign. Do not reset an existing product to generic defaults.
Before editing, produce an internal Design Read from the available product/code/rendered UI:
- product type and primary jobs,
- audience and expertise,
- platform and viewport priorities,
- hierarchy and information density,
- typography and spacing rhythm,
- surface/border/radius/shadow language,
- color roles and contrast,
- icon and illustration language,
- motion language,
- existing design tokens/components,
- explicit exclusions from the user.
Anti-slop filter
AI slop is not a specific color or component. It is unearned sameness: choices made because they are common in generated interfaces rather than because they serve the product.
Apply a purpose test to every visible decision: What user/product job does this choice serve?
Flag and fix when unjustified:
- cards wrapping every section or nested cards with no hierarchy benefit,
- decorative gradients/glass/blur/noise that do not communicate state or brand,
- excessive pills, badges, rounded rectangles, icon buttons, and floating containers,
- generic centered hero/marketing composition inside an application shell,
- fake metrics, fake social proof, placeholder dashboards, decorative charts, or meaningless activity,
- repeated same-sized modules that flatten hierarchy,
- arbitrary huge headings, low-information whitespace, or over-spacious admin/tool UIs,
- excessive shadows/radii that erase grouping structure,
- animation on everything rather than on state change or spatial continuity,
- hard-coded one-off colors/spacing where project tokens already exist,
- rebuilding a mature design system instead of extending it.
These are detectors, not blanket bans. Keep any pattern that has a clear product, accessibility, or brand reason.
Visual system contract
Prefer a small coherent system over many local decisions:
- Typography: clear roles for display/title/body/label/code; readable measure and line height.
- Spacing: repeatable rhythm; proximity communicates grouping before boxes do.
- Color: semantic roles before decorative palette; preserve brand tokens.
- Shape: radii/borders/shadows have explicit hierarchy roles.
- Density: match task frequency and expertise; tools can be compact, reading surfaces can breathe.
- Components: all interactive states exist — default, hover where relevant, focus-visible, active/selected, disabled, loading, error.
- Motion: communicate causality, continuity, feedback, or hierarchy; respect reduced-motion preferences.
- Responsive behavior: preserve task priority rather than merely stacking desktop rectangles.
Desktop shell rules
For application/workbench shells, prefer frame → navigation → primary work area → contextual tools/inspector over dashboard-card composition. Keep frequent actions visible, secondary actions discoverable, separators aligned, resize behavior intentional, and selected/focus states unmistakable.
Never redesign or modify an explicitly excluded surface. If the user says not to touch mobile navigation, treat it as a hard scope lock.
Verification gate
Do not call visual work done from code inspection alone. When tools allow it, inspect rendered pixels at representative sizes and verify:
- hierarchy is obvious in a 3-second scan,
- no accidental overflow/clipping/wrapping,
- alignment and divider continuity,
- typography and density consistency,
- component states,
- light/dark theme if supported,
- responsive behavior,
- no new generic/slop patterns introduced.
Report concrete defects and fixes, not subjective praise.
1---2name: sc-ui3description: SI-Coder visual interface quality skill. Design, audit, and refine web UI with strong hierarchy, typography, spacing, color, density, motion, component states, responsive craft, and an anti-AI-slop filter while preserving an existing product's design DNA by default.4---56# sc-ui — visual craft without AI slop78## Language9Keep durable instructions in English. Reply in the user's language unless requested otherwise.1011## Default behavior12Inspect before inventing. If the project already has a coherent UI, preserve its design DNA unless the user explicitly asks for a redesign. Do not reset an existing product to generic defaults.1314Before editing, produce an internal Design Read from the available product/code/rendered UI:15- product type and primary jobs,16- audience and expertise,17- platform and viewport priorities,18- hierarchy and information density,19- typography and spacing rhythm,20- surface/border/radius/shadow language,21- color roles and contrast,22- icon and illustration language,23- motion language,24- existing design tokens/components,25- explicit exclusions from the user.2627## Anti-slop filter28AI slop is not a specific color or component. It is unearned sameness: choices made because they are common in generated interfaces rather than because they serve the product.2930Apply a purpose test to every visible decision: `What user/product job does this choice serve?`3132Flag and fix when unjustified:33- cards wrapping every section or nested cards with no hierarchy benefit,34- decorative gradients/glass/blur/noise that do not communicate state or brand,35- excessive pills, badges, rounded rectangles, icon buttons, and floating containers,36- generic centered hero/marketing composition inside an application shell,37- fake metrics, fake social proof, placeholder dashboards, decorative charts, or meaningless activity,38- repeated same-sized modules that flatten hierarchy,39- arbitrary huge headings, low-information whitespace, or over-spacious admin/tool UIs,40- excessive shadows/radii that erase grouping structure,41- animation on everything rather than on state change or spatial continuity,42- hard-coded one-off colors/spacing where project tokens already exist,43- rebuilding a mature design system instead of extending it.4445These are detectors, not blanket bans. Keep any pattern that has a clear product, accessibility, or brand reason.4647## Visual system contract48Prefer a small coherent system over many local decisions:491. Typography: clear roles for display/title/body/label/code; readable measure and line height.502. Spacing: repeatable rhythm; proximity communicates grouping before boxes do.513. Color: semantic roles before decorative palette; preserve brand tokens.524. Shape: radii/borders/shadows have explicit hierarchy roles.535. Density: match task frequency and expertise; tools can be compact, reading surfaces can breathe.546. Components: all interactive states exist — default, hover where relevant, focus-visible, active/selected, disabled, loading, error.557. Motion: communicate causality, continuity, feedback, or hierarchy; respect reduced-motion preferences.568. Responsive behavior: preserve task priority rather than merely stacking desktop rectangles.5758## Desktop shell rules59For application/workbench shells, prefer `frame → navigation → primary work area → contextual tools/inspector` over dashboard-card composition. Keep frequent actions visible, secondary actions discoverable, separators aligned, resize behavior intentional, and selected/focus states unmistakable.6061Never redesign or modify an explicitly excluded surface. If the user says not to touch mobile navigation, treat it as a hard scope lock.6263## Verification gate64Do not call visual work done from code inspection alone. When tools allow it, inspect rendered pixels at representative sizes and verify:65- hierarchy is obvious in a 3-second scan,66- no accidental overflow/clipping/wrapping,67- alignment and divider continuity,68- typography and density consistency,69- component states,70- light/dark theme if supported,71- responsive behavior,72- no new generic/slop patterns introduced.7374Report concrete defects and fixes, not subjective praise.