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