liveview-guidelines

Community

Standardize LiveView patterns for robust UI.

Authorcode0100fun
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Phoenix LiveView patterns and best practices to reduce complexity, improve streaming data handling, JS interop, testing, and form handling across LiveView features.

Core Features & Use Cases

  • Provides guidelines for using LiveView streams instead of regular assigns to manage collections.
  • Outlines JavaScript interop practices including colocated hooks, phx-hook management, and colocation of scripts.
  • Includes testing approaches using Phoenix.LiveViewTest and LazyHTML for reliable UI verification.
  • Use Case: Teams reviewing or building LiveView features in apps like dashboards, chats, or real-time forms.

Quick Start

Review an existing LiveView page and apply the streams, hooks, and testing patterns outlined here to your feature.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: liveview-guidelines
Download link: https://github.com/code0100fun/botfiles/archive/main.zip#liveview-guidelines

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.