Help us improve
Share bugs, ideas, or general feedback.
From biz
Polishes HTML wireframes into production UIs via typography, color, spacing, motion, interactions. Performs audits, critiques, colorizing, typesetting on any HTML files.
npx claudepluginhub digital-stoic-org/agent-skills --plugin bizHow this skill is triggered — by the user, by Claude, or both
Slash command
/biz:ux-polishsonnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
1. **Parse** `$ARGUMENTS` → `{subcommand}` + `{target}` + options. Default subcommand = `polish`. Missing target → AskUserQuestion.
21 focused actions for auditing, refining, and elevating frontend UI quality. Each action targets a specific design concern: layout, typography, color, UX copy, performance, animation, resilience, consistency, etc.
Designs, critiques, and refines production-grade frontend interfaces. Handles UX review, visual hierarchy, typography, accessibility, animation, responsive behavior, and design systems.
Designs, redesigns, critiques, audits, polishes frontend UIs for websites, dashboards, components, forms. Covers UX review, accessibility, performance, responsive design, theming, typography, layout, color, motion, micro-interactions.
Share bugs, ideas, or general feedback.
Parse $ARGUMENTS → {subcommand} + {target} + options. Default subcommand = polish. Missing target → AskUserQuestion.
Resolve target — in order:
*.html in itdev/ux/wireframes/{target}/*.htmlLoad context:
dev/ux/design-system.yaml → read design tokens (required for colorize/polish)biz/ux/empathy-map-{subject}.md → emotional tone hints (optional)polish/colorize → AskUserQuestion or create defaultsRead HTML — Read each target file. Assess current state.
Execute subcommand — Read references/design-rules.md first, then apply per subcommand:
| Subcommand | Action | Reference sections |
|---|---|---|
audit | Report all design issues: contrast failures, spacing inconsistencies, anti-pattern violations (§3), heuristic violations (§10). Output structured markdown report grouped by severity. | §1-3, §10 |
critique | Opinionated design suggestions with priority ranking. Like audit but prescriptive — "increase CTA size by 20%", "add shadow to separate card from background". Include rationale from Gestalt/hierarchy principles. | §1-3, §10 |
| Subcommand | Focus | What to apply | Reference sections |
|---|---|---|---|
polish | Full pass — the "do everything" command | Typography + color + spacing + motion + interaction + responsive. Apply all rules. | All sections |
colorize | Color only | Read design-system.yaml palette. Apply color harmony algorithm (§5): analogous secondary, complementary accent, tinted neutrals, semantic colors. Test WCAG AA contrast. Apply 60-30-10 rule. | §5, §3 color anti-patterns |
typeset | Typography only | Font pairing (serif+sans), modular scale, line-height per size, measure (45-75ch body, 20-35ch hero), tracking, OpenType features (tabular-nums, small-caps, hanging-punctuation), baseline grid. | §4, §3 typography anti-patterns |
space | Spacing only | Apply 4px scale system. Fix Gestalt Proximity violations (space within group < space between groups). Vertical rhythm. White space hierarchy (micro/meso/macro). Section breathing room. | §6, §1 Gestalt, §2 White Space |
animate | Motion only | Add CSS transitions: hover states (100-150ms ease-out), focus-visible, enter/exit animations (ease-out/ease-in), stagger siblings (+50ms), skeleton loading. Include prefers-reduced-motion. | §7, §8 interaction states |
adapt | Responsive only | Mobile-first breakpoints (375/768/1024/1440). Container queries. Touch targets 44px. Thumb zone. Stack columns on mobile. Fluid typography with clamp(). Max content width 1200px. | §9 |
bolder | Increase assertiveness | Increase type scale ratio, strengthen contrast, enlarge CTAs, add bolder shadows, increase font-weight on headings, more saturated primary color. Push Von Restorff effect. | §2 hierarchy, §4, §5 |
quieter | Reduce visual noise | Desaturate palette toward monochromatic, increase whitespace, reduce border-radius variation, soften shadows, lighter font-weights on non-critical elements, remove decorative elements. | §2 hierarchy, §5 monochromatic, §6 macro whitespace |
delight | Add micro-delights | Subtle hover animations beyond defaults, success state celebrations (checkmark animation), empty state illustrations/messages, loading skeleton with brand-tinted pulse, stagger entrance on list items. | §7 motion, §8 affordance, §11 UX writing |
extract | Reverse-engineer design system | Parse all CSS values from HTML. Identify color palette, font families, spacing values, border-radius values. Detect inconsistencies (ad-hoc values). Generate dev/ux/design-system.yaml with detected tokens. Report deviations. | §12 |
extract is unique: outputs YAML, not modified HTML. Does NOT require existing design-system.yaml.audit/critique never modify files — output to console only--scope, --tone, --preserve-structure, --diff optionstypeset then colorize then animate for incremental polish instead of full polishApply options:
--scope {area} → only modify matching section (header/hero/cta/forms/cards/nav/footer/all)--tone {tone} → override emotional direction (professional/friendly/urgent/celebratory)--preserve-structure → CSS-only changes, never modify HTML tags/attributes--diff → show before/after diff, don't overwriteWrite output — Write modified HTML in-place. Preserve all hx-* attributes, data-* attributes, and HTML structure (unless structure changes are needed and --preserve-structure not set).
Open — xdg-open / open the modified file(s).
Every decision in this skill traces back to these frameworks (full rules in references/design-rules.md):
audit/critique: system status visibility, user control, consistency, error prevention, recognition over recall.hx-* attributes are sacred#1E293B not #000, #FAFAFA not #FFFprefers-reduced-motion always/ux-wireframe: Both skills share design foundations (spacing scale, breakpoints, typography rules). When updating design rules here, check /ux-wireframe references for consistency. Both must agree on token values, spacing scale, and responsive breakpoints.