state-management
✓用于状态管理的 React Query 和 Zustand 模式。在实现数据获取、缓存、突变或客户端状态时使用。在涉及 useQuery、useMutation、Zustand 存储、缓存或状态管理的任务上触发。
SKILL.md
Note: This document provides comprehensive patterns for AI agents and LLMs working with React Query (TanStack Query) and Zustand. Optimized for automated refactoring, code generation, and state management best practices.
Comprehensive patterns for server state (React Query) and client state (Zustand). Contains 26+ rules for efficient data fetching and state management.
| 1 | React Query Basics | CRITICAL | rq- | | 2 | Zustand Store Patterns | CRITICAL | zs- | | 3 | Caching & Invalidation | HIGH | cache- | | 4 | Mutations & Updates | HIGH | mut- | | 5 | Optimistic Updates | MEDIUM | opt- | | 6 | DevTools & Debugging | MEDIUM | dev- | | 7 | Advanced Patterns | LOW | adv- |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/asyrafhussin/agent-skills --skill state-management- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 state-management?
用于状态管理的 React Query 和 Zustand 模式。在实现数据获取、缓存、突变或客户端状态时使用。在涉及 useQuery、useMutation、Zustand 存储、缓存或状态管理的任务上触发。 来源:asyrafhussin/agent-skills。
如何安装 state-management?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/asyrafhussin/agent-skills --skill state-management 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/asyrafhussin/agent-skills
详情
- 分类
- {}数据分析
- 来源
- skills.sh
- 收录时间
- 2026-02-01