OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add aj-geddes/useful-ai-prompts --skill react-component-architecture
Design scalable React components using functional components, hooks, composition patterns, and TypeScript. Use when building reusable component libraries and maintainable UI systems.
npx skills add aj-geddes/useful-ai-prompts --skill react-component-architecture
Build scalable, maintainable React components using modern patterns including functional components, hooks, composition, and TypeScript for type safety.
Minimal working example:
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Functional Component with Hooks | Functional Component with Hooks |
| Custom Hooks Pattern | Custom Hooks Pattern |
| Composition Pattern | Composition Pattern |
| Higher-Order Component (HOC) | Higher-Order Component (HOC) |
| Render Props Pattern | Render Props Pattern |