review-ui
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "review-ui":https://skillpi.com/zh/skills/deepskill-03c57dc14bdc6bdd6097c0b32085e4531184162dbc6d0e631ab0df747e21012f。安装前核对上游来源和版本:https://github.com/aaddrick/claude-pipeline。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
使用并行代理对 UI/CSS 进行全面审查。每个代理基于特定的 UI 设计基础部分进行检查,适用于审查前端代码、CSS、Blade 模板或组件时使用。
介绍来源: third_party · aaddrick · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: review-ui
description: Comprehensive 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.UI Review Skill
Overview
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.
Usage
/review-ui <scope>
Scope can be:
- File path:
/review-ui resources/css/components/buttons.css - Component:
/review-ui resources/views/components/landing/ - Glob pattern:
/review-ui resources/css/**/*.css - Description:
/review-ui "the pricing section on the welcome page"
How It Works
- Scope Identification: Determines what files/components to review
- Parallel Dispatch: Launches independent agent tasks, each focused on one UI fundamentals section
- Compilation: Aggregates findings into a prioritized action list
- Summary: Produces executive summary with critical issues highlighted
Review Domains
Each parallel agent reviews against one of these UI design fundamentals sections:
| Domain | Reference File | Focus Areas |
|---|---|---|
| Grid & Spacing | grid-and-spacing.md |
8pt grid compliance, margins, gutters, white space, alignment |
| Typography | typography.md |
Type scale, font weights, line heights, hierarchy, readability |
| Colors | colors.md |
WCAG contrast (4.5:1+), color roles, 60-30-10 balance, dark mode |
| Buttons | buttons.md |
Anatomy, states, hierarchy, tap targets (44px+), CTAs |
| Forms | forms.md |
Labels, validation, input states, accessibility, sizing |
| Cards | cards.md |
Anatomy, spacing consistency, content truncation, hover states |
| Navigation | navigation.md |
Active states, sticky behavior, mobile patterns, hover |
| Hero Sections | hero-sections.md |
Above the fold, headline hierarchy, CTA placement, social proof |
| Modals & Dropdowns | modals-and-dropdowns.md |
Close methods, focus trap, keyboard nav, overlay |
| Search | search.md |
Placement, autocomplete, no-results handling |
| Shadows & Depth | shadows-and-depth.md |
Elevation levels, shadow direction, dark mode shadows |
| Pricing | pricing.md |
Plan highlighting, feature lists, risk reducers |
| Style Consistency | style-guides.md |
Token usage, naming conventions, component patterns |
Agent Prompt Template
Each agent receives this structured prompt:
Review the following files for **{DOMAIN}** compliance:
**Files to review:**
{FILE_LIST}
**Reference standard:**
.claude/skills/ui-design-fundamentals/{REFERENCE_FILE}
**Review criteria from {DOMAIN}:**
{CRITERIA_SUMMARY}
**Your task:**
1. Read each file and identify {DOMAIN}-related patterns
2. Compare against the reference standard
3. List issues found with:
- Severity (Critical/Warning/Suggestion)
- Location (file:line or component name)
- Issue description
- Recommended fix
4. Note any exemplary patterns worth preserving
**Output format:**
## {DOMAIN} Review
### Critical Issues
- ...
### Warnings
- ...
### Suggestions
- ...
### Exemplary Patterns
- ...
Execution Flow
/review-ui <scope>
│
▼
┌──────────────────────┐
│ 1. Identify files │
│ to review │
└──────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────────┐
│ 2. Dispatch parallel bulletproof-frontend-developer agents │
├──────────────────────────────────────────────────────────────┤
│ Task 1: Grid & Spacing review │
│ Task 2: Typography review │
│ Task 3: Colors review │
│ Task 4: Buttons review │
│ Task 5: Forms review │
│ Task 6: Cards review │
│ Task 7: Navigation review │
│ Task 8: Hero Sections review (if applicable) │
│ Task 9: Modals/Dropdowns review (if applicable) │
│ Task 10: Search review (if applicable) │
│ Task 11: Shadows & Depth review │
│ Task 12: Pricing review (if applicable) │
│ Task 13: Style Consistency review │
└──────────────────────────────────────────────────────────────┘
│
▼
┌──────────────────────┐
│ 3. Collect results │
│ from all agents │
└──────────────────────┘
│
▼
┌──────────────────────┐
│ 4. Compile unified │
│ review report │
└──────────────────────┘
Output Format
Executive Summary
## UI Review Summary: {SCOPE}
**Files Reviewed:** X files
**Review Domains:** X domains (Y applicable, Z not applicable)
**Total Issues:** X (Y critical, Z warnings, W suggestions)
### Critical Issues (Fix Immediately)
1. [Colors] Contrast ratio 2.1:1 on `.btn--secondary` text (requires 4.5:1)
2. [Buttons] Touch target 32px on mobile nav (requires 44px minimum)
### Top 5 Priority Fixes
1. ...
2. ...
### Exemplary Patterns
- [Typography] Consistent type scale using CSS custom properties
- [Cards] Proper BEM naming and hover states
Detailed Findings
## Detailed Review by Domain
### Grid & Spacing
**Status:** ⚠️ 2 warnings, 3 suggestions
**Warnings:**
- `card.css:15` - Padding 12px breaks 8pt grid (use 8px or 16px)
- `layout.css:42` - Inconsistent section gaps (64px vs 72px)
**Suggestions:**
- Consider container queries for card grid
- ...
---
### Typography
**Status:** ✅ 1 suggestion
**Suggestions:**
- Add `text-wrap: balance` to headings
---
[... continues for each domain ...]
Smart Filtering
Not all domains apply to all code. The skill intelligently skips irrelevant domains:
| Scope Contains | Applicable Domains |
|---|---|
| CSS only | Grid, Typography, Colors, Shadows, Style Consistency |
| Component with form | + Forms, Buttons |
| Landing page | + Hero, Pricing, Cards, Navigation |
| Dashboard | + Cards, Navigation, Modals |
| Single button | Buttons, Colors, Typography |
Configuration Options
Optionally pass flags to customize the review:
# Focus on specific domains only
/review-ui resources/css/buttons.css --domains=buttons,colors,accessibility
# Skip certain domains
/review-ui resources/views/components/ --skip=pricing,hero
# Critical issues only
/review-ui resources/css/ --severity=critical
# Generate fix suggestions with code
/review-ui resources/css/ --with-fixes
Integration with Code Review
Use this skill before creating PRs:
- Run
/review-uion changed files - Address critical issues
- Document intentional deviations
- Create PR with review results in description
Related Skills
- bulletproof-frontend — CSS implementation patterns, Tailwind refactoring
- ui-design-fundamentals — Design values and specifications (referenced by this skill)
- requesting-code-review — General code review workflow
Reference Files
All review criteria come from:
.claude/skills/ui-design-fundamentals/
├── SKILL.md # Overview and core principles
├── grid-and-spacing.md # 8pt grid, layouts, white space
├── typography.md # Type scales, hierarchy, fonts
├── colors.md # WCAG contrast, palettes, dark mode
├── buttons.md # Anatomy, states, CTAs
├── forms.md # Labels, validation, inputs
├── cards.md # Anatomy, consistency, types
├── navigation.md # Nav bars, mobile, breadcrumbs
├── hero-sections.md # Above fold, headlines, CTAs
├── modals-and-dropdowns.md # Dialogs, dropdowns, accordions
├── search.md # Search bars, autocomplete
├── pricing.md # Pricing sections, psychology
├── shadows-and-depth.md # Elevation, shadows, gradients
└── style-guides.md # Tokens, documentation, naming
Example Session
User: /review-ui resources/views/components/landing/
Claude: Starting UI review of landing components...
**Scope identified:** 8 files
- how-it-works.blade.php
- resources.blade.php
- hero.blade.php
- pricing.blade.php
- testimonials.blade.php
- features.blade.php
- cta-banner.blade.php
- footer.blade.php
**Applicable domains:** Grid, Typography, Colors, Buttons, Cards, Hero, Navigation, Pricing, Shadows, Style Consistency
**Dispatching 10 parallel review agents...**
[Agents complete reviews in parallel]
## UI Review Summary: Landing Components
**Files Reviewed:** 8 Blade templates + associated CSS
**Review Domains:** 10 domains applied
**Total Issues:** 12 (3 critical, 5 warnings, 4 suggestions)
### Critical Issues (Fix Immediately)
1. **[Colors]** `hero.blade.php` - CTA button text contrast is 3.8:1 (requires 4.5:1)
- Location: `.hero__cta` with `color: #7c8db0` on `background: #4f46e5`
- Fix: Change text to `#ffffff` for 8.1:1 contrast
2. **[Buttons]** `pricing.blade.php` - "Get Started" button is 36px height on mobile
- Location: `.pricing-card__cta`
- Fix: Add `min-height: 44px` for touch target compliance
3. **[Forms]** `cta-banner.blade.php` - Email input has no visible label
- Location: `.cta-banner__input`
- Fix: Add `<label>` element or `aria-label` attribute
### Top 5 Priority Fixes
1. Fix CTA button contrast in hero section
2. Increase touch targets on pricing buttons
3. Add labels to form inputs
4. Standardize section padding to 8pt grid
5. Add focus-visible states to all interactive elements
[... detailed findings by domain ...]当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决前端开发中UI审查的核心痛点
- 支持多种文件类型和范围选择
- 提供详细的审查标准和修复建议
亮点
- 触发词覆盖全面,支持文件路径、组件、glob模式和描述
- 边界清晰,不会与其他技能混淆
亮点
- 结构清晰,包含完整的执行流程和输出格式
- 提供了详细的示例和使用场景
- frontmatter完整且规范
亮点
- 工具来源明确,基于bulletproof-frontend-developer代理
- 参数正确,支持多种配置选项
- 覆盖了主要异常情况
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。