new-hook

Community

Scaffold robust React hooks quickly.

Authorgwpjp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creating consistent, well-documented React hooks is tedious and error-prone; this skill scaffolds new hooks following project conventions, generating TS types, JSDoc, and robust error handling.

Core Features & Use Cases

  • Type-safe scaffolding: Generates TypeScript types for hook params and return values.
  • Documentation & patterns: Adds JSDoc comments and aligns with layer-appropriate templates from hook-patterns.md.
  • Seamless placement: Creates the hook under src/hooks/, respecting optional subfolders for organization.

Quick Start

Use the new-hook skill to create a hook named useExample in the appropriate subfolder, and let it generate the hook file with type definitions and docs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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/gwpjp/Web3-Claude/archive/main.zip#new-hook

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.