whinc/my-claude-plugins/ahooks
Claude Code and agent skill by whinc/my-claude-plugins
- community
Checking that the SKILL.md file is still in the repository.
Comprehensive ahooks React hooks library specialist. Expert in all 76+ ahooks hooks including state management, effects, data fetching, performance optimization, DOM utilities, and advanced patterns. Use when working with ahooks library, need React hooks utilities or want to learn best practices.
Install
npx vskill@latest install whinc/my-claude-plugins/ahooksSKILL.md
The same SKILL.md was published earlier as majiayu000/claude-skill-registry-data/ahooks.
Ahooks React Hooks Library
This skill provides comprehensive expertise for the ahooks React hooks library, covering all 76+ hooks with detailed documentation, examples, and best practices.
Quick Start
Basic Usage
Common Patterns
- State Management:
useSetState,useToggle,useBooleanfor complex state - Data Fetching:
useRequestfor API calls with caching, retry, polling - Performance:
useDebounce,useThrottlefor optimization - Lifecycle:
useMount,useUnmount,useUpdateEffectfor component lifecycle
Hook Categories
This skill organizes hooks into 9 main categories:
📊 State Management (12 hooks)
State utilities for complex state handling. See: state-hooks.md
🔄 Lifecycle Effects (9 hooks)
Component lifecycle and effect management. See: effect-hooks.md
🌐 Data Fetching (6 hooks)
API calls, pagination, infinite scroll, and data caching. See: request-hooks.md
⚡ Performance Optimization (9 hooks)
Debounce, throttle, memoization, and RAF optimizations. See: performance-hooks.md
🎨 DOM & UI (12 hooks)
Event listeners, sizing, scrolling, and UI interactions. See: dom-hooks.md
💾 Storage (4 hooks)
Local storage, session storage, cookies, and URL state. See: dom-hooks.md
🌍 Browser APIs (8 hooks)
Network status, visibility, keyboard events, and browser features. See: dom-hooks.md
⏰ Timers (4 hooks)
Intervals, timeouts, and countdown utilities. See: advanced-hooks.md
🚀 Advanced Utilities (12 hooks)
WebSockets, history management, reactive data, and complex patterns. See: advanced-hooks.md
Getting Help
Ask About:
- Hook Usage: "How to use useRequest with pagination?"
- Migration: "How to migrate from useState to useSetState?"
- Best Practices: "Performance tips for React hooks?"
- Integration: "How to combine useRequest with useAntdTable?"
- Troubleshooting: "Why is my useDebounce not working?"
- TypeScript: "Type definitions for useBoolean?"
Comprehensive Guides
- Migration Guide - From React built-ins
- Best Practices - Performance and patterns
Quick Reference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ahooks/skills/ahooks/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/whinc/my-claude-plugins/ahooks)