Mandatory audit workflow for UI/UX changes that reads current state FIRST, checks for redundancy, respects clean design philosophy, and identifies genuine gaps before implementation. Auto-invoked when user mentions UI, UX, design, layout, homepage, page improvements, visual changes, or interface modifications.
Purpose: Prevent redundant implementations and cluttered designs by auditing current state FIRST.
When to invoke: Automatically when user mentions:
Order of execution:
Before making ANY recommendations, read these files:
# Target page file
Read: src/app/[target-page]/page.tsx
# Related components (if modifying existing sections)
Read: src/components/sections/[component].tsx
# Related data files
Read: src/data/[related-data].tsx
Read: src/data/page-content/[page]-content.ts
# Check for existing similar functionality
Grep: Search for keywords related to proposed feature
Example:
User: "Improve homepage"
MUST READ FIRST:
- src/app/page.tsx
- src/components/sections/Hero.tsx
- src/data/page-content/home-content.ts
THEN analyze what EXISTS before proposing anything
Create inventory of current state:
## Current State Audit: [Page Name]
### Existing Components
- Component 1: [Description, location, purpose]
- Component 2: [Description, location, purpose]
### Existing Data Display
- Portfolio metrics: [Where shown, format]
- CTAs: [Location, text, purpose]
- Content sections: [List all sections]
### Design Characteristics
- Layout: [Grid, flex, columns]
- White space: [Generous, tight, balanced]
- Information density: [Minimal, moderate, dense]
- Visual style: [Clean, busy, colorful, minimal]
### Evidence
[Show actual code snippets proving what exists]
Before proposing ANY addition, verify:
Anti-Patterns to Avoid (from October 2025 lessons):
❌ Portfolio Visualization when impact cards already show portfolio breakdown ❌ Large AI Assistant card when primary CTAs already exist in hero ❌ Metric sidebars on document-style pages (like /brief) ❌ Dashboards on intentionally minimal pages (like /ai-lab) ❌ Duplicate data displays in multiple sections ❌ Bulk additions without clear value proposition
Only propose additions for:
✅ Missing functionality (proven by code audit) ✅ Genuine UX problems (demonstrated, not assumed) ✅ Clear value add (specific benefit articulated) ✅ Respects clean design (doesn't add bulk)
Template:
## Genuine Gaps Identified
### Gap 1: [Specific missing element]
- Evidence: [Code shows this doesn't exist]
- User need: [Why user needs this]
- Value: [Specific benefit]
- Simple solution: [Minimal approach]
- No redundancy: [Confirmed doesn't duplicate X]
### Gap 2: [Next gap]
...
This portfolio has a CLEAN, MINIMAL aesthetic by design:
Check against these principles:
Questions to ask:
Present findings in this format:
# UI/UX Audit Report: [Page Name]
## Current State Summary
[2-3 sentences describing current design]
## What Already EXISTS
1. [Component/feature]: [Description with code location]
2. [Component/feature]: [Description with code location]
3. [Component/feature]: [Description with code location]
Evidence: [Code snippets proving these exist]
## Redundancy Check Results
✅ No redundancy detected: [Explain]
OR
⚠️ Potential redundancy: [Show what duplicates what]
## Genuine Gaps Identified
### Priority 1: [Most important gap]
- Evidence: [Why this is missing]
- User impact: [Specific problem it solves]
- Proposed solution: [Minimal approach]
- No redundancy: [Confirmed]
### Priority 2: [Next gap]
...
## NOT Recommended (Would Create Redundancy)
❌ [Proposed feature]: Already exists as [existing feature]
❌ [Proposed feature]: Would duplicate [existing data]
## Design Philosophy Compliance
✅ Respects clean, minimal aesthetic
✅ Adds value without adding bulk
✅ No information duplication
OR
⚠️ Concerns: [List any design philosophy violations]
## Recommendation
**Recommended:** Implement Priority 1 gap ([brief description])
**Not Recommended:** [List features that would add redundancy]
**Next Steps:**
1. User review of findings
2. (Optional) Invoke ui-ux-designer agent for design critique
3. Implement approved changes incrementally
Before completing audit, verify:
If any answer is NO, STOP and reassess.
User: "Improve homepage"
Bad Response:
"I recommend adding:
1. Portfolio visualization showing $156M breakdown
2. Large dashboard with metrics
3. Section transitions between content
4. Enhanced testimonials with animations"
Problem: Didn't read current state, didn't check for redundancy
User: "Improve homepage"
Good Response:
"Let me audit the current homepage first..."
[Reads src/app/page.tsx]
"Current State Audit:
What EXISTS:
- Impact cards already display portfolio breakdown ($156M, $91M, etc.)
- Hero has primary CTAs (View Work, See Skills, Get In Touch)
- Testimonials section exists
- EKG dividers separate sections
Redundancy Check:
⚠️ Adding portfolio visualization would DUPLICATE impact card data
GENUINE Gap:
✅ No CTA after testimonials section (natural conversion point)
Recommendation:
- Add single strategic CTA after testimonials
- Do NOT add portfolio visualization (redundant)
- Keep clean, minimal design
Would you like to proceed with the CTA addition?"
This skill enforces the mandatory rules from CLAUDE.md:
Auto-invoke this skill when user says:
UI/UX Terms:
Page Terms:
Component Terms:
General Improvement:
Question Form:
What went wrong that day:
This skill prevents those mistakes by:
This skill includes additional resources for comprehensive audits:
When to read:
Contains:
Read with: Read: [skill-directory]/REFERENCE.md
When to read:
Contains:
Read with: Read: [skill-directory]/FORMS.md
When to read:
Contains:
examples/good-audit-example.md - Gold standard auditexamples/bad-audit-example.md - What NOT to docase-studies/october-2025-incident.md - Real incident that inspired this skillREADME.md - Navigation guideRead with: Read: [skill-directory]/resources/[filename]
This is not optional. When user mentions UI/UX work, this skill MUST run first to audit current state before any implementation begins.
The goal: Prevent redundant implementations, respect existing design, propose targeted improvements only.
New to UI/UX audits? Start with resources/examples/good-audit-example.md to see the process in action.