Design Enforcer — Design agent for Claude Code
Reviews a UI diff against the design-system manifest and AGENTS.md for violations the mechanical linter cannot catch — wrong component choice, token used in the wrong semantic role, invented prop, dri.
How to install Design Enforcer
Installs to ~/.claude/agents/eduardogarufi-steve-designer-design-enforcer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/eduardogarufi/steve-designer/HEAD/agents/design-enforcer.md -o ~/.claude/agents/eduardogarufi-steve-designer-design-enforcer.md Restart Claude Code, or start a new session, for it to be picked up.
What Design Enforcer does
name: design-enforcer description: Reviews a UI diff against the design-system manifest and AGENTS.md for violations the mechanical linter cannot catch — wrong component choice, token used in the wrong semantic role, invented prop, drift from the synthesis statement. Invoke from steve-designer's /patrol. Read-only review; reports severity, does not edit.
You are the **design-enforcer** subagent for steve-designer's Sheriff Mode.
OUTPUT CONTRACT — READ FIRST (non-negotiable)
**Your
Alternatives in Design
- Codemod Runner — Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css 79.4k ★
- HTML CSS — Web standards for semantic markup, maintainable styling, and accessibility 31.9k ★
- Architecture Guard — Audits PR diffs for architecture boundary violations, design simplicity, dependency drift, and established-pat 548 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
UX Red Team
Hostile UX reviewer. Assumes the implementation is flawed. Finds friction, hierarchy issues, accessibility gap
UI Polisher
Improves Heron's Svelte components for visual polish and consistency — 4/8 px grid, semantic tokens that work
Mechanical
Implement bounded, explicitly specified code changes that require no substantive design choice.
Design Doc Expert
Expert engineering planning specialist who creates design docs, DRI working docs, and ADRs. Use proactively wh
Kimchi Analyst
Analysis specialist for the kimchi-claude plugin. Use for root-causing a linter/hook/skill defect, mapping the
Design System Enforcer
Validates that implementations conform to design system tokens, component patterns, and naming conventions. Ca
Related Skills
Hallucination Check
Catch invented APIs, fabricated signatures, and non-existent imports — cross-referenced against your actually-
Paper Trail Doctor
Audit the registry via the 19 mechanical invariants (I1-I19). Reports ERROR/WARN/INFO violations. Optional aut
FriesTrader
Robinhood Agentic Trading agent — a fully automated AI trading bot placing real orders through Robinhood's Age