Db core collection setup
tanstack/db
Creating typed collections with createCollection.
「データ、分析、リサーチ」分野のスキルです。Claude Code, Codex, OpenCode ほか 32 エージェント 向けのコマンドがあります。
詳細な説明
Creating typed collections with createCollection. Adapter selection: queryCollectionOptions (REST/TanStack Query), electricCollectionOptions (ElectricSQL real-time sync), powerSyncCollectionOptions (PowerSync SQLite), rxdbCollectionOptions (RxDB), trailbaseCollectionOptions (TrailBase), localOnlyCollectionOptions, localStorageCollectionOptions. CollectionConfig options: getKey, schema, sync, gcTime, autoIndex (default off), defaultIndexType, syncMode (eager/on-demand, plus progressive for Electric). StandardSchema validation with Zod/Valibot/ArkType. Collection lifecycle (idle/loading/ready/error). Adapter-specific sync patterns including Electric txid tracking, Query direct writes, and PowerSync query-driven sync with onLoad/onLoadSubset hooks.
- Skill
- データ、分析、リサーチ
- 35 エージェント
- 3,997 スター
- MIT
このエントリーは Skills-2M のオープンデータセットから集計しました。ANG はこのスキルを実行も監査もしていません。インストール前にソースを確認してください。