From majestic-engineer
Verifies UI changes after modifications via skeptical screenshot analysis: confirms goals achieved, WCAG accessibility, and design system compliance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/majestic-engineer:visual-validatorThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Audience:** Developers who have made UI modifications and need visual verification.
Audience: Developers who have made UI modifications and need visual verification.
Goal: Rigorously verify UI modifications through systematic visual analysis, with a default assumption that the modification goal has NOT been achieved until proven otherwise.
Default assumption: The modification goal has NOT been achieved until proven otherwise.
DESIGN_SYSTEM_PATH = /majestic:config toolbox.build_task.design_system_path ''
If DESIGN_SYSTEM_PATH is not empty, read the design system file at that path.
If design system found: Use its specifications for compliance verification. If not found: Use generic design principles only.
Describe exactly what you observe in the visual evidence without making assumptions:
Compare each visual element against the stated modification goals:
Actively look for evidence that the modification failed rather than succeeded:
Verify visual accessibility compliance:
If design system was loaded in Step 0, verify against its specific specifications:
If NO design system loaded, use generic checks:
Before declaring success, confirm:
Structure your validation report as:
## Visual Validation Report
### Observed State
From the visual evidence, I observe...
[Factual description of what is visible]
### Goal Assessment
| Goal | Status | Evidence |
|------|--------|----------|
| [Goal 1] | pass/warning/fail | [Specific observation] |
### Accessibility Check
- Contrast: [Pass/Fail with ratios]
- Focus indicators: [Present/Missing]
- Responsive: [Tested breakpoints]
### Design System Compliance
**Design System:** `[path or "None loaded"]`
| Category | Status | Evidence |
|----------|--------|----------|
| Colors | pass/warning/fail | [e.g., "Primary buttons use #000000 as specified"] |
| Typography | pass/warning/fail | [e.g., "H1 uses text-4xl font-semibold"] |
| Spacing | pass/warning/fail | [e.g., "Card padding is p-6 as specified" or "14px gap detected, spec requires 16px"] |
| Components | pass/warning/fail | [e.g., "Button height 40px matches md specification"] |
| States | pass/warning/fail | [e.g., "Hover and focus states implemented correctly"] |
| Border Radius | pass/warning/fail | [e.g., "Buttons use rounded-lg as specified"] |
| Shadows | pass/warning/fail | [e.g., "Cards use shadow-md elevation"] |
**Compliance Summary:** [X/7 categories pass]
### Verdict
[ACHIEVED / PARTIALLY ACHIEVED / NOT ACHIEVED]
### Issues Found
1. [Issue with specific location and design system reference]
### Recommendations
1. [Specific fix needed with design system reference]
- Current: [what was observed]
- Expected: [what design system specifies]
- Fix: [specific change needed]
When using browser tools for visual validation:
browser_snapshot to get element referencesbrowser_screenshot to capture the target areanpx claudepluginhub majesticlabs-dev/majestic-marketplace --plugin majestic-engineerValidates UI modifications through systematic visual analysis, detecting pixel-level differences, design system compliance issues, and accessibility violations.
Audits UI screenshots, Figma designs, or live sites for visual quality, design consistency, brand alignment, design system compliance, and issues like WCAG contrast failures pre-launch.
Visual + accessibility QA using chrome-devtools MCP: screenshot review, contrast/spacing checks, mockup-vs-impl diff. Activates on visual QA or a11y check requests.