practical-ui-design/SKILL.md
Rules-based visual UI design system covering colour (HSB palettes, light/dark mode), typography (type scales, line height), layout (spacing tokens, 12-column grid), copywriting, buttons, and forms. Load alongside any platform skill...
npx skillsauth add peterbamuhigire/skills-web-dev practical-ui-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
practical-ui-design or would be better handled by a more specific companion skill.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.| Companion Skill | When to Load |
|---|---|
| webapp-gui-design | Web app dashboards, admin panels, SaaS UIs |
| jetpack-compose-ui | Android native (Kotlin/Compose) |
| form-ux-design | Deep form patterns (this skill covers quick reference only) |
| healthcare-ui-design | Clinical-grade interfaces with strict accessibility |
| pos-sales-ui-design | Point-of-sale and retail entry screens |
| ux-psychology | Cognitive science foundations behind these rules |
| laws-of-ux | Named-law quick reference (Fitts, Hick, Miller, etc.) |
| ai-slop-prevention | Quality gate to catch generic AI-generated UI patterns |
| motion-design | Animation timing, easing, and micro-interaction standards |
| ux-writing | Microcopy standards for buttons, errors, empty states |
| responsive-design | Mobile-first, container queries, pointer detection |
| frontend-performance | Core Web Vitals, image and rendering optimisation |
| design-audit | Comprehensive UI quality audit with severity ratings |
Usage: This skill provides the visual system (colour, type, spacing, components). Platform skills provide implementation code. Load both.
Use HSB (Hue 0-360, Saturation 0-100, Brightness 0-100) for all design decisions. HSB maps to how humans perceive colour: pick a hue, adjust richness with saturation, adjust lightness with brightness. Convert to HEX/RGB only at implementation time.
For perceptually uniform colour manipulation, consider OKLCH (oklch(L C H)) instead of HSB. OKLCH ensures equal perceived brightness across hues (unlike HSB where blue looks darker than yellow at the same B value). Use OKLCH for generating palettes, ensuring consistent visual weight. Convert final values to HEX/RGB for implementation. Tint all neutrals — add 2-5% of brand hue to greys; never use pure grey.
Design the interface without colour first. Focus on spacing, size, layout, and contrast. Colour is added last, purposefully.
Choose a single distinctive brand colour. Apply it only to interactive elements (buttons, text links, active states). Do not apply brand colour to headings or non-interactive elements -- users will mistake them for links.
All you need: 1 brand colour + 5 tonal variations sharing the same hue.
| Token | HSB | Purpose | Contrast Req. | |---|---|---|---| | Primary | 230, 70, 80 | Buttons, links, interactive | >= 4.5:1 vs Lightest | | Darkest | 230, 60, 20 | Heading text | >= 4.5:1 vs Lightest | | Dark | 230, 30, 45 | Secondary/body text | >= 4.5:1 vs Lightest | | Medium | 230, 20, 66 | Non-decorative borders, icons | >= 3:1 vs Lightest | | Light | 230, 10, 95 | Decorative borders, dividers | Decorative -- no req. | | Lightest | 230, 2, 98 | Alternate backgrounds | Base surface | | White | 0, 0, 100 | Main background | Base surface |
| Token | HSB | Purpose | Contrast Req. | |---|---|---|---| | Primary | 166, 50, 90 | Buttons, links, interactive | >= 4.5:1 vs Dark | | White | 0, 0, 100 | Heading text | >= 4.5:1 vs Dark | | Lightest | 166, 4, 80 | Secondary/body text | >= 4.5:1 vs Dark | | Light | 166, 6, 65 | Non-decorative borders | >= 3:1 vs Dark | | Medium | 166, 8, 33 | Decorative borders | Decorative -- no req. | | Dark | 166, 10, 23 | Alternate backgrounds | Base surface | | Darkest | 166, 12, 15 | Main background | Base surface |
| Colour | Meaning | Usage | |---|---|---| | Red | Error | Negative messages, failures, urgent alerts | | Amber | Warning | Caution, risky actions | | Green | Success | Positive messages, completed actions | | Blue | Info | Neutral informational messages |
| Element | Min. Ratio | |---|---| | Small text (<= 18px regular, <= 14px bold) | 4.5:1 | | Large text (> 18px bold or > 24px regular) | 3:1 | | UI components (fields, radios, checkboxes) | 3:1 | | Decorative-only elements | No requirement |
APCA (WCAG 3 draft): 90 preferred body, 75 minimum body, 60 other text, 45 large text + UI, 30 placeholders, 15 non-text.
Extended guidance for practical-ui-design was moved to references/skill-deep-dive.md to keep this entrypoint compact and fast to load.
Use that deep dive for:
2. Typography Rules3. Layout and Spacing4. Copywriting for UI5. Buttons6. Forms (Quick Reference)7. Component Patterns (Kuleszo)8. Dark Mode Rules9. Anti-Patterns10. Design Checklistdata-ai
Use when adding AI-powered analytics to a SaaS platform — semantic search over business data, natural language queries, trend detection, anomaly alerts, and AI-generated insights for dashboards. Covers embeddings, NL2SQL, and per-tenant analytics...
data-ai
Design AI-powered analytics dashboards — what metrics to show, how to display AI predictions and confidence, drill-down patterns, KPI cards, trend visualisation, AI Insights panels, export design, and role-based dashboard variants. Invoke when...
development
Use when designing, building, reviewing, or upgrading production software systems that must be secure, performant, maintainable, scalable, and user-centered. Apply before writing specs, code, architecture, APIs, databases, mobile apps, SaaS platforms, or ERP systems.
development
Professional web app UI using commercial templates (Tabler/Bootstrap 5) with strong frontend design direction when needed. Use for CRUD interfaces, dashboards, admin panels with SweetAlert2, DataTables, Flatpickr. Clone seeder-page.php, use...