new-hook
CommunityGenerate React Query hooks in TypeScript.
Authoralexanderjamesmcleod
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Creating React Query hooks for data fetching is repetitive and error-prone. This skill automates the generation of standardized, typed hooks to reduce boilerplate and ensure consistency across entities.
Core Features & Use Cases
- Query Hook: generates a typed use[Entity] hook to fetch data with loading and error handling.
- Mutation Hook: provides create/update/delete mutations with consistent typings and cache invalidation patterns.
- Directory Layout: places generated hooks in a defined hooks directory for easy discovery and reuse.
Quick Start
Run new-hook query <EntityName> to generate a React Query hook for that entity.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: new-hook Download link: https://github.com/alexanderjamesmcleod/makecents/archive/main.zip#new-hook Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.