| name | data-fetching-architecture |
| description | 前端数据获取架构 - SWR/React Query模式、缓存策略、乐观更新和错误处理 |
| version | 0.2.0 |
| status | active |
| category | frontend |
| tags | ["data-fetching","react","architecture"] |
data-fetching-architecture
Overview
前端数据获取架构 - SWR/React Query模式、缓存策略、乐观更新和错误处理
Category
frontend
When to Use
Trigger when user needs help with data fetching architecture tasks or concepts.
Workflow
1. Understand
- Parse what the user is asking about data fetching architecture
- Identify specific sub-tasks or questions
2. Execute
- Use appropriate tools (exec, web_fetch, browser, read/write) to complete the task
- Reference best practices and patterns from this skill's knowledge domain
3. Deliver
- Format output clearly with code examples where helpful
- Provide rationale and alternatives when applicable
- Default output language: Chinese (可切换英文)
Constraints
- Follow OpenClaw skill conventions
- Handle errors with actionable feedback
- Never expose sensitive data in output
Dependencies
- OpenClaw runtime >= 1.0
- Category-specific tools as needed
Related Skills
- Browse other skills under
frontend category
- Use
skills-audit to discover available skills