new-hook
创建一个具有加载/错误状态的React Query钩子,并使用TypeScript类型进行数据获取
📖 中文导读:创建一个具有加载/错误状态的React Query钩子,并使用TypeScript类型进行数据获取 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
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
new-hook <command> [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 - Conversion notes and TODOs
- reference/examples.md - Usage examples (TODO)
Progressive Disclosure
Consider adding these reference files:
reference/api-reference.md- Detailed command documentationreference/troubleshooting.md- Common issues and solutions