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.
development
Branch-per-initiative git discipline for all delivery workflows. Defines branch naming by workflow, the propose-confirm creation protocol, dirty-tree and detached-HEAD handling, the always user-gated merge protocol, worktree support for parallel sessions, and abandonment cleanup. Activates only in git repositories — silently inactive everywhere else. Use when starting /build, /fix, /architect, or /build-x at Standard+ scope, when resuming an initiative, when offering a merge at a completion checkpoint, or when the user wants a second concurrent initiative.
development
Drives task-by-task execution from an approved plan with quality gates between each task. Reads the plan, finds the next incomplete task, dispatches implementation, validates, updates progress, and continues. Use after a plan is approved and the user says "go", "start building", "execute the plan", or "implement the feature".
testing
Preserves and restores context across agent sessions using plan file checkboxes as source of truth. Use when starting a new session, resuming previous work, ending a session, or when the user says "continue from last time", "what was I doing", or "save progress".
tools
Captures agent mistakes, corrections, and discovered gotchas so they are not repeated. Use when: (1) a command or operation fails unexpectedly, (2) the user corrects the agent, (3) the agent discovers non-obvious behavior through debugging, (4) an API or tool behaves differently than expected, (5) a better approach is found for a recurring task. Also searches past learnings before starting tasks to avoid known pitfalls. Activate alongside the sage-memory skill — they share the same MCP backend but serve different purposes (sage-memory = codebase knowledge, sage-self-learning = agent mistakes and gotchas).