core/capabilities/verification/design-check/SKILL.md
Quick design quality scan of changed frontend files. Checks for hardcoded colors (when design system exists), missing interactive states, and AI slop indicators. Code-only — does not use Lightpanda. Advisory only — never blocks. Invisible when no frontend files in diff.
npx skillsauth add xoai/sage design-checkInstall 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.
Quick scan within quality-gates. Catches common design quality issues in changed frontend files. Code-only — does not require a browser.
FIRST: Check if the diff contains frontend files: .html, .css, .scss, .less, .jsx, .tsx, .vue, .svelte, .astro
If NO frontend files in diff:
Scan in order (stop at first match):
sage/skills/ or .claude/skills/DESIGN.md or design-system.md in project root or .sage/docs/--color-*, --spacing-*, --font-*)If found → enable token compliance checks. If not found → skip token checks, still run general quality checks.
Detection is automatic and INVISIBLE — do not announce whether a design system was found. Just use it (or don't) silently.
Scan changed files for raw hex colors (#fff, #333, rgb(), hsl()) that should be design system token references.
Finding: note — "N hardcoded colors in [file] (consider using tokens)"
Search changed component files for:
:hover styles on interactive elements (buttons, links, cards):focus or :focus-visible on focusable elementsdisabled attribute handling with visual distinctionFinding: note — "[file] has no :focus style on [element]"
In new or heavily modified components, check for:
Each indicator: warning (awareness, not judgment)
If findings exist:
✓ Design check: PASS ({N} notes)
- Note: {finding 1}
- Note: {finding 2}
- Warning: {AI slop indicator}
If clean:
✓ Design check: PASS
If no frontend files:
No output. Invisible.
testing
Root cause diagnosis with evidence, Reproducing test, Minimal patch
tools
Session resumption with context
tools
Configure Sage preset and project settings. Switch between base, startup, enterprise, or opensource constitution presets. Use when the user says "configure sage", "change preset", or "sage settings".
development
Brief (medium+ tasks), Spec, Implementation plan