review-web-design
关于
This skill analyzes web designs for layout, typography, color, spacing, responsiveness, and brand consistency. It's useful for reviewing mockups before development, evaluating implemented sites, and testing across breakpoints. The skill accepts URLs, mockups, or screenshots and can reference brand guidelines for comprehensive feedback.
快速安装
Claude Code
推荐npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/review-web-design在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Review Web Design
Eval web design → visual quality, consistency, cross-device.
Use When
- Mockup|prototype pre-dev review
- Implemented site|app design quality
- Design review session feedback
- Brand consistency multi-page
- Responsive behavior across breakpoints
In
- Required: Design (URL|mockup|screenshot|src)
- Optional: Brand guidelines|design system
- Optional: Target audience
- Optional: Reference|competitor designs
- Optional: Concerns
Do
Step 1: Visual Hierarchy
Guides eye → importance.
- Focal point: Obvious entry per page?
- Heading hierarchy: H1→H2→H3 logical?
- Size contrast: Important > supporting?
- Color contrast: CTAs prominent?
- Whitespace: Separates groups?
- Reading flow: F|Z pattern?
## Visual Hierarchy Assessment
| Page/Section | Focal Point | Hierarchy Clear? | Issues |
|-------------|-------------|-----------------|--------|
| Homepage | Hero section CTA | Yes | Secondary CTA competes with primary |
| Product page | Product image | Mostly | Price not prominent enough |
| Contact form | Submit button | No | Form title same size as body text |
→ Each page assessed.
If err: no mockups → live code via dev tools.
Step 2: Typography
- Font selection: Right for brand+content?
- Pairing: Heading+body complement (max 2-3 families)?
- Scale: Consistent (1.25 maj 2nd, 1.333 4th)?
- Line height: Body 1.4-1.6, headings 1.1-1.3
- Line length: 45-75 chars (~66 optimal)
- Weight: Used for hierarchy
- Size: ≥16px body
/* Example well-structured type scale (1.25 ratio) */
:root {
--text-xs: 0.64rem; /* 10.24px */
--text-sm: 0.8rem; /* 12.8px */
--text-base: 1rem; /* 16px */
--text-lg: 1.25rem; /* 20px */
--text-xl: 1.563rem; /* 25px */
--text-2xl: 1.953rem; /* 31.25px */
--text-3xl: 2.441rem; /* 39.06px */
}
→ Typo consistent, readable, hierarchical.
If err: >3 families → consolidate.
Step 3: Color
- Palette: Limited (3-5 + neutrals)?
- Brand: Matches guidelines?
- Contrast: WCAG AA (4.5:1 normal, 3:1 large)
- Semantic: Consistent (red=err, green=ok)?
- Color blind: Not sole means?
- Dark/light: Both readable + brand consistent?
## Colour Assessment
| Usage | Colour | Contrast Ratio | WCAG AA | Notes |
|-------|--------|----------------|---------|-------|
| Body text on white | #333333 | 12.6:1 | Pass | Good |
| Link text on white | #2563eb | 5.2:1 | Pass | Good |
| Muted text on light gray | #9ca3af on #f3f4f6 | 2.1:1 | FAIL | Increase contrast |
| CTA button text | #ffffff on #22c55e | 3.1:1 | FAIL for small text | Use darker green or larger text |
→ Palette coherent + accessible + semantic.
If err: contrast checker tool (WebAIM).
Step 4: Layout + Spacing
- Grid: Consistent (12-col, auto, custom)?
- Spacing scale: Systematic (4|8px base, Tailwind)?
- Alignment: To grid (no "almost")?
- Density: Right for content?
- Whitespace: Intentional?
- Consistency: Similar = same spacing?
## Spacing Consistency Check
| Element Pair | Expected Gap | Actual Gap | Consistent? |
|-------------|-------------|------------|-------------|
| Section title to content | 24px | 24px | Yes |
| Card to card | 16px | 16px/24px | No — inconsistent |
| Form label to input | 8px | 4px/8px/12px | No — varies |
→ Systematic grid + spacing.
If err: inconsistent → adopt scale (Tailwind space-*).
Step 5: Responsive
| Breakpoint | Width | Represents |
|---|---|---|
| Mobile | 375px | iPhone SE / small phones |
| Mobile L | 428px | iPhone 14 / large phones |
| Tablet | 768px | iPad portrait |
| Desktop | 1280px | Standard laptop |
| Wide | 1536px+ | Desktop monitor |
Per breakpoint:
- Layout adapt: Reflows (stack mobile, side desktop)?
- Touch targets: ≥44x44 mobile?
- Text: Right size?
- Images: Scale w/o distortion?
- Nav: Mobile accessible?
- No h-scroll
## Responsive Review
| Breakpoint | Layout | Touch Targets | Text | Images | Navigation | Issues |
|-----------|--------|---------------|------|--------|------------|--------|
| 375px | OK | OK | OK | Overflow on hero | Hamburger | Hero image clips |
| 768px | OK | OK | OK | OK | Hamburger | None |
| 1280px | OK | N/A | OK | OK | Full nav | None |
| 1536px | OK | N/A | Line length too long | OK | Full nav | Add max-width to content |
→ All breakpoints tested + documented.
If err: no tools → review CSS media queries.
Step 6: Brand Consistency
- Logo: Right size, spacing, clear zone
- Color: Matches spec (hex, not "close")
- Typo: Matches guidelines
- Tone: UI copy matches personality
- Icons: Consistent set
- Photo: Matches brand
→ Brand verified vs guidelines.
If err: no guidelines → note + assess internal consistency.
Step 7: Write Review
## Web Design Review
### Overall Impression
[2-3 sentences: overall quality, strongest and weakest aspects]
### Visual Hierarchy: [Score/5]
[Key findings with specific references]
### Typography: [Score/5]
[Key findings with specific references]
### Colour: [Score/5]
[Key findings with specific references]
### Layout & Spacing: [Score/5]
[Key findings with specific references]
### Responsive Design: [Score/5]
[Key findings with specific references]
### Brand Consistency: [Score/5]
[Key findings with specific references]
### Priority Improvements
1. [Most impactful change — specific and actionable]
2. [Second priority]
3. [Third priority]
### Positive Notes
1. [What works well and should be preserved]
→ Specific, visual-reference feedback + prioritized improvements.
If err: scoring arbitrary → pass|concern|fail.
Check
- Visual hierarchy all major pages
- Typo readable + consistent + scaled
- Color contrast vs WCAG AA
- Layout + spacing grid consistent
- Responsive 3+ breakpoints
- Brand vs guidelines (or internal)
- Specific feedback w/ visual refs
Traps
- Subjective no reason: "Don't like color" → not actionable. Explain why.
- Ignore access: Must include WCAG contrast. Beautiful + excludes ≠ good.
- Mockups only: Test responsive, hover, transitions — not static.
- Prescribe: Describe problem, not specific fix.
- No context: Banking ≠ gaming. Review against context.
→
review-ux-ui— usability + interaction + accesssetup-tailwind-typescript— Tailwind CSS implscaffold-nextjs-app— Next.js scaffold
GitHub 仓库
相关推荐技能
evaluating-llms-harness
测试该Skill通过60+个学术基准测试(如MMLU、GSM8K等)评估大语言模型质量,适用于模型对比、学术研究及训练进度追踪。它支持HuggingFace、vLLM和API接口,被EleutherAI等行业领先机构广泛采用。开发者可通过简单命令行快速对模型进行多任务批量评估。
cloudflare-cron-triggers
测试这个Claude Skill提供了关于Cloudflare Cron Triggers的完整知识库,用于通过cron表达式定时执行Workers。它支持配置周期性任务、维护作业和自动化工作流,并能处理常见的cron触发错误。开发者可以用它来设置定时任务、测试cron处理器,并集成Workflows和Green Compute功能。
webapp-testing
测试该Skill为开发者提供了基于Playwright的本地Web应用测试工具集,支持自动化测试前端功能、调试UI行为、捕获屏幕截图和查看浏览器日志。它包含管理服务器生命周期的辅助脚本,可直接作为黑盒工具运行而无需阅读源码。适用于需要快速验证本地Web应用界面和交互功能的开发场景。
finishing-a-development-branch
测试这个Skill用于开发分支完成后的集成决策,当代码实现完成且测试通过时,它会引导开发者选择合适的工作流。它首先验证测试状态,然后提供合并、创建PR或清理等结构化选项。核心价值在于确保代码质量的同时,标准化分支收尾流程。
