Skip to content

Phoenix and LiveView guide for building fault-tolerant, real-time Elixir web apps with minimal client JavaScript.

CCM score
48 of 100
skills.sh installs
440
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project setup with mix phx.new --live, OTP supervision trees, GenServer patterns, router pipelines, and Ecto contexts
  • Includes LiveView patterns for stateful UI, live components, stream/3 for large lists, and PubSub-driven updates
  • Explains PubSub broadcasting and Presence tracking for fan-out updates, online indicators, and collaboration features
  • Designed for teams building resilient real-time web apps on the BEAM without a heavy single-page application bundle

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill phoenix-liveview -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Phoenix + LiveView (Elixir/BEAM)

Phoenix builds on Elixir and the BEAM VM to deliver fault-tolerant, real-time web applications with minimal JavaScript. LiveView keeps UI state on the server while streaming HTML diffs over WebSockets. The BEAM provides lightweight processes, supervision trees, hot code upgrades, and soft-realtime scheduling.

Key ideas

  • OTP supervision keeps web, data, and background processes isolated and restartable.
  • Contexts encode domain boundaries (e.g., Accounts, Billing) around Ecto schemas and queries.
  • LiveView renders HTML on the server, syncing UI state over WebSockets with minimal client code.
  • PubSub + Presence enable fan-out updates, tracking, and collaboration features.

Environment and Project Setup

# Erlang + Elixir via asdf (recommended)
asdf install erlang 27.0
asdf install elixir 1.17.3
asdf global erlang 27.0 elixir 1.17.3

# Install Phoenix generator
mix archive.install hex phx_new

# Create project with LiveView + Ecto + esbuild
mix phx.new my_app --live
cd my_app
mix deps.get
mix ecto.create
mix phx.server

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Categories
Backend & APIs, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the phoenix-liveview skill do?

The phoenix-liveview skill guides agents through building real-time, fault-tolerant web apps with Phoenix Framework and LiveView on the BEAM. It covers OTP supervision trees, Ecto contexts and schemas, LiveView modules, and PubSub with Presence for live updates.

How do I install the phoenix-liveview skill?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill phoenix-liveview -y in your project. Once installed, the phoenix-liveview skill lets your agent write Phoenix LiveView code with minimal client-side JavaScript.

Where does the phoenix-liveview skill sit in its category?

The phoenix-liveview skill is listed in the Backend and APIs category on Claude Marketplaces. It sits alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics, and workers-best-practices.

What do I need before using the phoenix-liveview skill?

The phoenix-liveview skill assumes Erlang and Elixir are installed, typically through asdf or brew, plus the phx_new Hex archive. Its quick start then runs mix phx.new with the live option and starts the server on localhost port 4000.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Phoenix Liveview

More Backend & APIs