c/backend › command
0votes

Phoenix LiveView patterns (Oliver Kriska)

Skill
submitted by CommandVault editors to c/backend

Rules and patterns for building Phoenix LiveView pages correctly.

Loads automatically for LiveView, component and channel files. It sets ten rules, such as no unconditional database queries in mount, streams for lists, checking connected? before subscribing, and matching changeset errors explicitly. It also covers async assigns, rendering cached HTML for SEO routes, navigation and component decision trees, and common anti-patterns, with reference files for deeper topics.

Try asking:

  • "Build a LiveView page that lists orders with live updates via PubSub"
  • "Why does my LiveView form not show validation errors?"
  • "Refactor this LiveView to use streams instead of assigns for the list"

Source: oliver-kriska/claude-elixir-phoenix · MIT · by Oliver Kriska

0 commentsreport

Install this skill

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. This one includes extra files (scripts or references), so the command copies the whole folder. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add phoenix-liveview-patterns-oliver-kriska-8042b4f7 --tool claude
Easiest: install as a Claude Code plugin (stays up to date)
/plugin marketplace add oliver-kriska/claude-elixir-phoenix
/plugin install elixir-phoenix@oliver-kriska
Install (run in your project folder)
npx degit oliver-kriska/claude-elixir-phoenix/plugins/elixir-phoenix/skills/liveview-patterns .claude/skills/liveview-patterns

Use it: Claude uses it automatically when a task matches, or type /liveview-patterns.

From Claude Code's docs , checked Oct 17, 2026.

Made by Oliver Kriska, MIT license. Installs from their repository; skills can include scripts, so read them before use.

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/backend

See all of c/backend →
0 comments

Log in to join the discussion.