Add real-time presence to an existing Convex app
언제 쓸까: You have an app and want Figma-style 'who's here' indicators without running a socket server.
흐름
-
Describe the featureUsing the Convex skillz — add presence to the documents page. Show cursors and usernames.✓ 복사됨→ Claude implements with Convex's presence pattern (mutation + reactive query), not a custom WebSocket
-
Handle disconnectionWhat about cleanup when users close the tab?✓ 복사됨→ Specific stale-presence cleanup strategy aligned with Convex conventions
결과: Working presence with proper cleanup.
함정
- Custom presence pattern that fights Convex's reactivity — Skill steers you toward the idiomatic version; don't override without a reason