[Sprint 9] feat: Create design-reviewer.md agent (viz-platform) #358

Closed
opened 2026-02-01 22:49:21 +00:00 by lmiranda · 0 comments
Owner

Description

Create the design reviewer agent that uses viz-platform MCP tools to audit code for design system compliance.

Implementation

Wiki: Change V5.6.0 (Sprint 9 Implementation)

File: plugins/viz-platform/agents/design-reviewer.md

Acceptance Criteria

  • Create agent file with proper header/visual branding
  • Skills to Load: skills/design-system-audit.md
  • MCP Tools section listing tools to use:
    • validate_component - Check component prop validity
    • get_component_props - Get expected props for component
    • theme_validate - Validate theme configuration
    • accessibility_validate_colors - Check color contrast
    • accessibility_validate_theme - Full accessibility audit
  • Audit Protocol section (how to scan files)
  • Report Format section with FAIL/WARN/INFO severity levels
  • Output template for structured reports

Technical Notes

The agent produces structured reports like:

Design System Audit Report
==========================
Path: <scanned path>
Files Scanned: N
Violations Found: N

FAIL: [component.py:42] Invalid prop 'colour' - did you mean 'color'?
WARN: [theme.py:15] Color contrast ratio 3.8:1 below AA standard (4.5:1)
INFO: [layout.py:8] Consider using responsive breakpoints for mobile

Dependency: Requires design-system-audit.md skill (#2)
Risk: Low - uses existing MCP tools

## Description Create the design reviewer agent that uses viz-platform MCP tools to audit code for design system compliance. ## Implementation **Wiki:** [Change V5.6.0 (Sprint 9 Implementation)](https://gitea.hotserv.cloud/personal-projects/leo-claude-mktplace/wiki/Change-V5.6.0%3A-Domain-Advisory-Pattern-%28Sprint-9-Implementation%29) **File:** `plugins/viz-platform/agents/design-reviewer.md` ## Acceptance Criteria - [ ] Create agent file with proper header/visual branding - [ ] Skills to Load: `skills/design-system-audit.md` - [ ] MCP Tools section listing tools to use: - `validate_component` - Check component prop validity - `get_component_props` - Get expected props for component - `theme_validate` - Validate theme configuration - `accessibility_validate_colors` - Check color contrast - `accessibility_validate_theme` - Full accessibility audit - [ ] Audit Protocol section (how to scan files) - [ ] Report Format section with FAIL/WARN/INFO severity levels - [ ] Output template for structured reports ## Technical Notes The agent produces structured reports like: ``` Design System Audit Report ========================== Path: <scanned path> Files Scanned: N Violations Found: N FAIL: [component.py:42] Invalid prop 'colour' - did you mean 'color'? WARN: [theme.py:15] Color contrast ratio 3.8:1 below AA standard (4.5:1) INFO: [layout.py:8] Consider using responsive breakpoints for mobile ``` **Dependency:** Requires design-system-audit.md skill (#2) **Risk:** Low - uses existing MCP tools
lmiranda added this to the Sprint 9 - Domain Advisory Pattern (viz-platform) milestone 2026-02-01 22:50:09 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: personal-projects/leo-claude-mktplace#358