| name | design-review |
| description | Review frontend component for hardcoded mockup placeholder data after align-design. Flags emails, dates, prices, and other user-specific values that should be dynamic. Use when user mentions /design-review command. |
/design-review - Mockup Placeholder Data Review
Usage
/design-review # Interactive — find component from current story progress
/design-review 12 # By story number
/design-review BoardPage.tsx # By component file
File Resolution
- By story number: Read
ProductSpecification/stories.md to resolve story name → find ProductSpecification/stories/NN-story-name/mockups/desktop/*.html for the mockup and frontend/src/features/{feature}/components/*.tsx for the component
- By component path: Find the component directly, locate the matching mockup from the story directory
- Interactive: Read current story's
progress.md, find the active align-design step, resolve from there
Workflow
- Load
.claude/agents/design-review-agent.md
- Locate the component TSX file(s) and the mockup HTML
- Run the agent's review workflow against the component
- Output the review table and verdict
Available Templates
| Template | Purpose |
|---|
.claude/tech/{browser-testing}/templates/design-review-patterns.md | Anti-patterns (BAD → GOOD), output format, verdict examples |
Gate Behavior
- PASS → proceed to
/refactor as normal
- FAIL → do NOT proceed to
/refactor. Fix the flagged violations in the component first, then re-run /design-review