react-hook-builder
Installation
SKILL.md
React Hook Builder
Build production-ready custom React hooks following best practices and TypeScript patterns.
Core Workflow
- Identify the pattern: Determine what logic to encapsulate
- Design the API: Define inputs, outputs, and options
- Add TypeScript types: Full type safety with generics
- Handle edge cases: Loading, errors, cleanup
- Optimize performance: Memoization where needed
- Write tests: Cover all states and scenarios