$npx -y skills add aaddrick/claude-pipeline --skill review-uiComprehensive UI/CSS review using parallel agents. Each agent reviews against a specific UI design fundamentals section. Use when reviewing frontend code, CSS, Blade templates, or components.
| 1 | # UI Review Skill |
| 2 | |
| 3 | ## Overview |
| 4 | |
| 5 | Reviews frontend code against the complete UI design fundamentals specification using parallel `bulletproof-frontend-developer` agents. Each agent focuses on one design domain, producing a comprehensive, multi-perspective review. |
| 6 | |
| 7 | ## Usage |
| 8 | |
| 9 | ``` |
| 10 | /review-ui <scope> |
| 11 | ``` |
| 12 | |
| 13 | **Scope can be:** |
| 14 | - File path: `/review-ui resources/css/components/buttons.css` |
| 15 | - Component: `/review-ui resources/views/components/landing/` |
| 16 | - Glob pattern: `/review-ui resources/css/**/*.css` |
| 17 | - Description: `/review-ui "the pricing section on the welcome page"` |
| 18 | |
| 19 | ## How It Works |
| 20 | |
| 21 | 1. **Scope Identification**: Determines what files/components to review |
| 22 | 2. **Parallel Dispatch**: Launches independent agent tasks, each focused on one UI fundamentals section |
| 23 | 3. **Compilation**: Aggregates findings into a prioritized action list |
| 24 | 4. **Summary**: Produces executive summary with critical issues highlighted |
| 25 | |
| 26 | ## Review Domains |
| 27 | |
| 28 | Each parallel agent reviews against one of these UI design fundamentals sections: |
| 29 | |
| 30 | | Domain | Reference File | Focus Areas | |
| 31 | |--------|----------------|-------------| |
| 32 | | **Grid & Spacing** | `grid-and-spacing.md` | 8pt grid compliance, margins, gutters, white space, alignment | |
| 33 | | **Typography** | `typography.md` | Type scale, font weights, line heights, hierarchy, readability | |
| 34 | | **Colors** | `colors.md` | WCAG contrast (4.5:1+), color roles, 60-30-10 balance, dark mode | |
| 35 | | **Buttons** | `buttons.md` | Anatomy, states, hierarchy, tap targets (44px+), CTAs | |
| 36 | | **Forms** | `forms.md` | Labels, validation, input states, accessibility, sizing | |
| 37 | | **Cards** | `cards.md` | Anatomy, spacing consistency, content truncation, hover states | |
| 38 | | **Navigation** | `navigation.md` | Active states, sticky behavior, mobile patterns, hover | |
| 39 | | **Hero Sections** | `hero-sections.md` | Above the fold, headline hierarchy, CTA placement, social proof | |
| 40 | | **Modals & Dropdowns** | `modals-and-dropdowns.md` | Close methods, focus trap, keyboard nav, overlay | |
| 41 | | **Search** | `search.md` | Placement, autocomplete, no-results handling | |
| 42 | | **Shadows & Depth** | `shadows-and-depth.md` | Elevation levels, shadow direction, dark mode shadows | |
| 43 | | **Pricing** | `pricing.md` | Plan highlighting, feature lists, risk reducers | |
| 44 | | **Style Consistency** | `style-guides.md` | Token usage, naming conventions, component patterns | |
| 45 | |
| 46 | ## Agent Prompt Template |
| 47 | |
| 48 | Each agent receives this structured prompt: |
| 49 | |
| 50 | ```markdown |
| 51 | Review the following files for **{DOMAIN}** compliance: |
| 52 | |
| 53 | **Files to review:** |
| 54 | {FILE_LIST} |
| 55 | |
| 56 | **Reference standard:** |
| 57 | .claude/skills/ui-design-fundamentals/{REFERENCE_FILE} |
| 58 | |
| 59 | **Review criteria from {DOMAIN}:** |
| 60 | {CRITERIA_SUMMARY} |
| 61 | |
| 62 | **Your task:** |
| 63 | 1. Read each file and identify {DOMAIN}-related patterns |
| 64 | 2. Compare against the reference standard |
| 65 | 3. List issues found with: |
| 66 | - Severity (Critical/Warning/Suggestion) |
| 67 | - Location (file:line or component name) |
| 68 | - Issue description |
| 69 | - Recommended fix |
| 70 | 4. Note any exemplary patterns worth preserving |
| 71 | |
| 72 | **Output format:** |
| 73 | ## {DOMAIN} Review |
| 74 | |
| 75 | ### Critical Issues |
| 76 | - ... |
| 77 | |
| 78 | ### Warnings |
| 79 | - ... |
| 80 | |
| 81 | ### Suggestions |
| 82 | - ... |
| 83 | |
| 84 | ### Exemplary Patterns |
| 85 | - ... |
| 86 | ``` |
| 87 | |
| 88 | ## Execution Flow |
| 89 | |
| 90 | ``` |
| 91 | /review-ui <scope> |
| 92 | │ |
| 93 | ▼ |
| 94 | ┌──────────────────────┐ |
| 95 | │ 1. Identify files │ |
| 96 | │ to review │ |
| 97 | └──────────────────────┘ |
| 98 | │ |
| 99 | ▼ |
| 100 | ┌──────────────────────────────────────────────────────────────┐ |
| 101 | │ 2. Dispatch parallel bulletproof-frontend-developer agents │ |
| 102 | ├──────────────────────────────────────────────────────────────┤ |
| 103 | │ Task 1: Grid & Spacing review │ |
| 104 | │ Task 2: Typography review │ |
| 105 | │ Task 3: Colors review │ |
| 106 | │ Task 4: Buttons review │ |
| 107 | │ Task 5: Forms review │ |
| 108 | │ Task 6: Cards review │ |
| 109 | │ Task 7: Navigation review │ |
| 110 | │ Task 8: Hero Sections review (if applicable) │ |
| 111 | │ Task 9: Modals/Dropdowns review (if applicable) │ |
| 112 | │ Task 10: Search review (if applicable) │ |
| 113 | │ Task 11: Shadows & Depth review │ |
| 114 | │ Task 12: Pricing review (if applicable) │ |
| 115 | │ Task 13: Style Consistency review │ |
| 116 | └──────────────────────────────────────────────────────────────┘ |
| 117 | │ |
| 118 | ▼ |
| 119 | ┌──────────────────────┐ |
| 120 | │ 3. Collect results │ |
| 121 | │ from all agents │ |
| 122 | └──────────────────────┘ |
| 123 | │ |
| 124 | ▼ |
| 125 | ┌──────────────────────┐ |
| 126 | │ 4. Compile unified │ |
| 127 | │ review report │ |
| 128 | └──────────────────────┘ |
| 129 | ``` |
| 130 | |
| 131 | ## Output Format |
| 132 | |
| 133 | ### Executive Summary |
| 134 | ```markdown |
| 135 | ## UI Review Summary: {SCOPE} |
| 136 | |
| 137 | **Files Reviewed:** X files |
| 138 | **Review Domains:** X |