realtime-engineer

Implement real-time features using Supabase Realtime and XState state machines.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/vctplatform/vct-erp --skill realtime-engineer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: realtime-engineer
Source: https://github.com/vctplatform/vct-erp/tree/main/vct-erp/.agents/skills/realtime-engineer
Command: npx skills add https://github.com/vctplatform/vct-erp --skill realtime-engineer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables real-time updates for live scoring, collaborative features, and user presence tracking in racing events, ensuring all participants and viewers have the most up-to-date information.

Core Features & Use Cases

  • Live Scoring Engine: Manages and broadcasts race progress, checkpoint times, and athlete statuses in real-time.
  • Real-time Notifications: Pushes updates to clients as events occur in the database or via broadcast channels.
  • Presence Tracking: Shows who is currently viewing the live race, enhancing engagement.
  • Use Case: During a marathon, spectators can see athlete positions and split times update instantly on their devices, while race officials can manage the scoring state machine from a central dashboard.

Quick Start

Use the realtime-engineer skill to subscribe to live score updates for race ID 'race-123'.

Frequently Asked Questions about realtime-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement live scoring updates with Supabase Realtime and WebSockets?

Live scoring updates are implemented by broadcasting race progress and checkpoint times through Supabase Realtime channels, using WebSocket patterns and event-driven architecture to push database changes to clients instantly.

What is the best way to track user presence during a live racing event?

User presence tracking uses Supabase Presence channels to identify who is currently viewing the live race, allowing you to broadcast participant statuses and spectator engagement metrics in real time.

How does XState manage the state machine for real-time race scoring?

XState manages the live scoring state machine by orchestrating race progress transitions, athlete statuses, and checkpoint validations, ensuring event-driven updates broadcast consistently across all connected clients.

Can I use PostgreSQL NOTIFY and LISTEN for backend event-driven pub/sub messaging?

PostgreSQL NOTIFY and LISTEN handle backend event-driven messaging by triggering database changes that Supabase Realtime channels capture and forward to subscribed clients via pub/sub patterns.

Does Supabase Realtime support broadcasting live updates to multiple spectators simultaneously?

Supabase Realtime supports broadcasting to multiple spectators by utilizing Broadcast channels to push live race updates, athlete positions, and split times to all connected client devices simultaneously.

When should I use Supabase Realtime channels instead of custom WebSocket connections for live updates?

Supabase Realtime channels are preferred when you need integrated Postgres Changes, Presence tracking, and Broadcast messaging without managing custom WebSocket infrastructure or manual pub/sub event routing.