phoenix-liveview

Standardize Phoenix LiveView CRUD contexts, ownership validation, and real-time UI updates.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/andrewnovykov/total-66 --skill phoenix-liveview-andrewnovykov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phoenix-liveview
Source: https://github.com/andrewnovykov/total-66/tree/main/.claude/skills/phoenix-liveview
Command: npx skills add https://github.com/andrewnovykov/total-66 --skill phoenix-liveview-andrewnovykov

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Build modern, real-time Elixir/Phoenix applications efficiently by standardizing LiveView architecture, patterns, and best practices across contexts, migrations, UI components, and testing.

Core Features & Use Cases

  • Context patterns for CRUD with ownership checks and batched queries
  • LiveView patterns for mount, events, PubSub updates, and stream-based UI
  • Migration, router, and testing patterns to ensure production-grade reliability
  • Reference materials in dedicated docs to deepen knowledge (liveview-patterns.md, ecto-patterns.md, testing-patterns.md)

Quick Start

Create a new Phoenix project, wire in the documented LiveView patterns, and bootstrap a sample LiveView page with a context-backed CRUD workflow.

Frequently Asked Questions about phoenix-liveview

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

FAQPage Schema
How do I structure Phoenix LiveView contexts with ownership checks and CRUD?

Phoenix LiveView contexts should use standardized CRUD patterns with ownership validation and batched queries. This Skill provides production-ready context patterns for Phoenix 1.7+ projects using Ecto, ensuring robust data access and real-time UI updates.

What's the best way to handle real-time UI updates in Phoenix LiveView with PubSub?

Real-time UI updates in Phoenix LiveView are handled using stream-based UI patterns and PubSub. This Skill standardizes mount, events, and PubSub update patterns to ensure reliable real-time rendering across your Elixir application.

Does this Phoenix LiveView pattern set work with Ecto migrations and testing?

Yes, this pattern set works with Ecto migrations and testing. It includes dedicated reference materials in ecto-patterns.md and testing-patterns.md to ensure production-grade reliability for your Phoenix 1.7+ LiveView application.

Can I use these patterns for an existing Phoenix 1.7 project, or is it only for new apps?

These patterns apply to Phoenix 1.7+ projects using LiveView, Ecto, and PubSub. You can wire the documented patterns into an existing project to standardize your context, schema, and UI architecture for production readiness.

Why do I need standardized patterns for Elixir Phoenix LiveView development?

Standardized patterns solve the problem of inconsistent architecture across LiveView, contexts, and testing. They enforce best practices for ownership validation, preloading, and batched queries to build modern, real-time Elixir applications efficiently.

What limitations should I expect when applying LiveView patterns to batched queries and preloading?

Implementation requires strict adherence to documented patterns in liveview-patterns.md and ecto-patterns.md. You must follow the standardized context, preloading, and ownership validation rules to maintain production-grade reliability across your LiveView app.