ワンクリックで
learn-state-sync
IDB/server sync, optimistic concurrency, and conflict resolution
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
IDB/server sync, optimistic concurrency, and conflict resolution
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
SQLAlchemy-first DB patterns, Alembic migrations, ParentChildEdges partition handling, and UDF policy
FastAPI + SQLModel conventions, request dependencies, transaction safety, and backend architecture
Next.js best practices - RSC boundaries, data patterns, async APIs, error handling, route handlers, directives, runtime selection
Upgrade Next.js to the latest version following official migration guides and codemods
Auth0 scopes, recaptcha verification, and share/edit token security patterns
CMS editing/review workflows, TipTap extensions, and comment moderation
| name | learn-state-sync |
| description | IDB/server sync, optimistic concurrency, and conflict resolution |
| user-invocable | false |
Sync model between local IndexedDB, in-memory stores, and server state, including conflict detection and resolution.
app/src/app/utils/api/apiHandlers/fetchDocument.tsapp/src/app/hooks/useDocumentWithSync.tsxapp/src/app/store/assignmentsStore.tsapp/src/app/store/mapStore.tsapp/src/app/utils/idb/idb.tsapp/src/app/hooks/useIdbDocument.tsxapp/src/app/components/SyncConflictModal.tsxapp/src/app/components/SaveConflictModal.tsxupdated_at (server) and clientLastUpdated (local) semantics must remain distinct.use-local, use-server, keep-local, fork).parent_path, parent/child maps).fetchDocument + useDocumentWithSync.clientLastUpdated as equivalent to server updated_at.cd app && bun run build