| name | reviewing-gel-component |
| description | Reviews GEL design system components for convention compliance, accessibility, and best practices. Use when reviewing a component, checking component quality, or auditing GEL components. |
Reviewing a GEL Component
Reviews components in packages/ui/src/components/ against the conventions defined in packages/ui/.agents/AGENTS.md.
When to Use
Use this skill when a maintainer asks to "review my component", "check my code", "audit this component", or "ensure this follows GEL conventions". This includes checking file structure, types, styles, component implementation, accessibility, and index exports for any component in packages/ui.
Use vercel skills first
Before continuing with this skill, check using vercel-react-best-practices and web-design-guidelines skills to catch common React and web development issues.
Project Review Checklist
The below checklist is based on project specific conventions that may not be covered by general best practices. Use this to review the component for compliance with GEL design system standards.
- File Structure
- Types
- Styles
- Component
- Accessibility
- Index
- Tests
- Stories
Severity Levels
Critical
- Missing
'use client' on components with hooks
- Hardcoded colors instead of design tokens
- Missing
forwardRef on components rendering native elements
- Custom focus styles instead of
focus-outline
- Missing
.js extensions in imports
Warnings
- Missing JSDoc
@default tags
- No responsive variant support where beneficial
- Minimal test coverage
- Missing
aria-* attributes on interactive elements
Style
- Using
React.FC instead of function declarations
- Inconsistent prop destructuring order
- Styles not using
slots for multi-element components
How to Run
- Read all files in the component directory
- Check each item above
- Report findings grouped by severity
- Suggest specific fixes with code examples