用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aibot88/sec_skill_store --skill design-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | design-review |
| description | Review UI components for design system compliance, accessibility, and visual consistency |
| user-invocable | true |
Perform a comprehensive design system review of the frontend changes.
Analyze files in:
frontend/src/components/ - React componentsfrontend/src/index.css - Component CSS definitionstemplates/ - OAuth HTML templates (if modified)Search for anti-patterns in changed files:
# Find raw button elements (should use <Button>)
grep -r "<button" frontend/src/components/ --include="*.tsx" | grep -v "// allowed"
# Find raw div cards (should use <Card>)
grep -rE "className=\"[^\"]*border[^\"]*rounded" frontend/src/components/ --include="*.tsx"
# Find custom spinners (should use pierre-spinner)
grep -r "animate-spin" frontend/src/components/ --include="*.tsx"
# Find raw hex colors (should use design tokens)
grep -rE "bg-\[#|text-\[#|border-\[#" frontend/src/components/ --include="*.tsx"
# Find non-pierre colors
grep -rE "(bg|text|border)-(red|green|blue|yellow|purple|gray)-[0-9]" frontend/src/components/ --include="*.tsx" | grep -v "pierre-"
Verify all component variants have CSS definitions:
Badge.tsx variants against .badge-* classes in index.cssButton.tsx variants against .btn-* classes in index.css.focus-ring utilitygradient-pierre or pillar gradientspierre-spinner=== Pierre Design System Review ===
📁 Files Analyzed: [count]
== Component Compliance ==
✅/❌ Button usage: [details]
✅/❌ Card usage: [details]
✅/❌ Badge usage: [details]
✅/❌ Loading states: [details]
✅/❌ Color tokens: [details]
== Accessibility ==
✅/❌ Focus states: [details]
✅/❌ ARIA labels: [details]
✅/❌ Contrast ratios: [details]
== CSS Completeness ==
✅/❌ All variants defined: [details]
== Issues Found ==
1. [file:line] - [issue description]
2. [file:line] - [issue description]
== Recommendations ==
- [specific improvement with code example]
== Verdict ==
[PASS / NEEDS WORK - X issues to address]
If issues are found, provide specific code fixes following the patterns in .claude/skills/frontend-design/SKILL.md.
Run this review after any frontend changes before committing.