--- name: new-hook description: Create a React Query hook with loading/error states and TypeScript types for data fetching --- # new-hook ## Overview Create a React Query hook with loading/error states and TypeScript types for data fetching This skill was converted from a bash script to follow Anthropic's Agent Skills best practices. ## Usage ```bash new-hook [options] ``` ## Commands TODO: Extract and document commands from the script Run `new-hook --help` to see available commands. ## When to Use TODO: Add specific use cases ## Scripts - `scripts/main.sh` - Main functionality (converted from original new-hook) Claude can execute this script directly without loading it into context. ## Additional Resources For detailed information, see: - [reference/migration-notes.md](reference/migration-notes.md) - Conversion notes and TODOs - [reference/examples.md](reference/examples.md) - Usage examples (TODO) ## Progressive Disclosure Consider adding these reference files: - `reference/api-reference.md` - Detailed command documentation - `reference/troubleshooting.md` - Common issues and solutions