realtime-ux

Implement optimistic UI, presence indicators, and reconnection patterns in Phoenix LiveView.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/hwatkins/my-skills --skill realtime-ux
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: realtime-ux
Source: https://github.com/hwatkins/my-skills/tree/main/skills/realtime-ux
Command: npx skills add https://github.com/hwatkins/my-skills --skill realtime-ux

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LiveView-based interfaces often struggle with latency perception, presence visibility, and resilience during disconnects. This skill provides UX patterns to make real-time interactions feel instantaneous and reliable across multi-user scenarios.

Core Features & Use Cases

  • Optimistic UI patterns across events and actions to reduce perceived latency
  • Presence indicators, avatars, typing signals, and activity status for collaborative contexts
  • Conflict resolution strategies including optimistic locking, real-time broadcasting, and merge approaches
  • Reconnection and recovery mechanisms using phx-auto-recover, automatic retries, and graceful degradation
  • State recovery, offline safety, and UX guidelines for edge cases such as disconnections and lag
  • Practical guidelines for ordering, animation, color-coding, and privacy in presence features
  • Real-time broadcasting of edits to keep all users in sync

Quick Start

Implement real-time UX by combining optimistic UI, presence indicators, and reconnection handling to create a responsive LiveView experience.

Frequently Asked Questions about realtime-ux

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

FAQPage Schema
How do I implement optimistic UI in Phoenix LiveView to reduce perceived latency?

Optimistic UI in Phoenix LiveView reduces perceived latency by immediately reflecting expected state changes before server confirmation. This Skill provides structured Level 0-5 optimistic patterns to make real-time interactions feel instant across events and actions.

What is the best way to manage user presence and typing indicators in a collaborative LiveView dashboard?

Managing user presence in collaborative LiveView dashboards involves broadcasting visibility, avatars, and typing signals. This Skill supplies UX patterns for presence indicators, activity status, and privacy guidelines for multi-user editing contexts.

How does Phoenix LiveView handle conflict resolution during real-time multi-user editing?

Conflict resolution during real-time multi-user editing handles simultaneous data modifications to prevent overwrites. This Skill addresses conflict resolution strategies including optimistic locking, real-time broadcasting, and merge approaches.

How do I build resilient reconnection and state recovery for LiveView disconnects?

Resilient reconnection for LiveView disconnects uses phx-auto-recover, automatic retries, and graceful degradation to restore sessions. This Skill provides robust recovery mechanisms and UX guidelines for edge cases like lag and disconnections.

Does Phoenix LiveView need special patterns for offline safety and live feed broadcasting?

Phoenix LiveView requires special UX patterns for offline safety and live feed broadcasting to maintain interaction quality during network drops. This Skill provides state recovery mechanisms and real-time broadcasting of edits to keep users in sync.

Why does my real-time LiveView UX feel sluggish during collaborative dashboard interactions?

Real-time LiveView UX feels sluggish during collaborative interactions due to unmanaged latency perception, presence visibility, and disconnect resilience. This Skill solves these challenges using structured optimistic UI, presence indicators, and robust reconnection patterns.