Build reusable, maintainable UI components following modern design patterns. Use when creating component libraries, implementing design systems, or building scalable frontend architectures. Handles React patterns, composition, prop design, TypeScript, and component best practices.
79
73%
Does it follow best practices?
Impact
88%
1.20xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./.agent-skills/ui-component-patterns/SKILL.mdCompound component with context and file structure
Compound pattern: static attachment
0%
100%
Context for shared state
100%
100%
Context error guard
100%
100%
TypeScript interfaces
100%
100%
Optional props with defaults
100%
100%
Component folder structure
0%
62%
Storybook story file
0%
0%
CSS module file
0%
0%
forwardRef usage
0%
0%
displayName set
0%
0%
JSDoc with @example
0%
100%
Accessibility attributes
100%
100%
No inline objects/functions in JSX
0%
0%
Performance optimization and logic separation
Custom hook for filtering logic
100%
100%
No business logic in UI component
100%
100%
React.memo on ProductCard
100%
100%
useMemo for derived data
100%
100%
useCallback for event handler
100%
100%
No inline objects/functions in JSX
60%
70%
TypeScript interfaces
100%
100%
Component folder structure
0%
100%
Accessibility attributes
28%
100%
Single responsibility
100%
100%
Render props and polymorphic component design
Render props on Feed
100%
100%
renderItem signature with index
100%
100%
Generic Feed typing
100%
100%
Polymorphic 'as' prop on Text
100%
100%
Polymorphic HTML attribute forwarding
100%
100%
Storybook story files
100%
100%
Component folder structure
0%
100%
TypeScript interfaces
100%
100%
Accessibility attributes
100%
100%
Composition over props
100%
100%
No inline objects/functions in JSX
100%
100%
displayName set
100%
100%
c033769
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.