optimistic-updates
楽観的更新(Optimistic Updates)パターンの実装スキル。サーバーレスポンス前にUIを即座更新し、失敗時のロールバック機構を提供することで、レスポンシブなユーザー体験を実現します。Anchors:• Designing Data-Intensive Applications (Martin Kleppmann) / 適用: 分散システムにおける楽観的並行制御 / 目的: 競合検出とロールバック戦略の設計• React Query (TanStack) / 適用: onMutate/onError/onSettledフック / 目的: 楽観的更新とロールバックの自動化• SWR Documentation (Vercel) / 適用: optimisticDataとrollbackOnError / 目的: 宣言的な楽観的更新の実装Trigger:Use when implementing instant UI feedback before server response, hiding CRUD latency, implementing optimistic updates with React Query/SWR, designing rollback strategies, or handling conflict states.optimistic update, UI feedback, rollback, React Query, SWR, mutation, conflict resolution
$ 설치
git clone https://github.com/daishiman/AIWorkflowOrchestrator /tmp/AIWorkflowOrchestrator && cp -r /tmp/AIWorkflowOrchestrator/.claude/skills/optimistic-updates ~/.claude/skills/AIWorkflowOrchestrator// tip: Run this command in your terminal to install the skill
Repository

daishiman
Author
daishiman/AIWorkflowOrchestrator/.claude/skills/optimistic-updates
2
Stars
0
Forks
Updated1d ago
Added6d ago