elixir

Guide BEAM-compliant Elixir and Phoenix app development with LiveView, Ecto, and Oban.

5|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/katsutoo/dotfiles --skill elixir-katsutoo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elixir
Source: https://github.com/katsutoo/dotfiles/tree/main/config/opencode/skills/elixir
Command: npx skills add https://github.com/katsutoo/dotfiles --skill elixir-katsutoo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Elixir/Phoenix BEAM guidance helps teams build resilient, scalable web apps by applying OTP structures, LiveView patterns, and robust testable architectures.

Core Features & Use Cases

  • BEAM-aligned architecture with supervised processes, contexts, and LiveView-centric UI
  • End-to-end guidance on Oban-backed background jobs, PubSub messaging, and deployment with Mix releases
  • Practical patterns for changesets, validations, and testing with ExUnit in Phoenix apps

Quick Start

Create a new Phoenix 1.8+ project and configure it to follow the BEAM way with LiveView, Oban, and a tiered architecture.

Frequently Asked Questions about elixir

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

FAQPage Schema
How do I structure a Phoenix LiveView app with OTP supervision and contexts?

Structure a Phoenix LiveView app by organizing business logic into contexts, wrapping processes in OTP supervision trees, and managing UI state through LiveView. This approach enforces BEAM-compliant architecture with resilient, scalable web apps.

What's the best way to configure Oban background jobs in a Phoenix application?

Configure Oban background jobs in Phoenix by integrating the Oban library into your application supervision tree. This setup provides robust, reliable asynchronous processing for background tasks and scheduled workflows within your BEAM application.

How do Ecto changesets handle data validation and testing in Phoenix?

Ecto changesets handle data validation in Phoenix by casting and filtering external parameters, applying validation constraints, and producing structured error reports. You test these changesets directly with ExUnit to ensure robust data integrity before persistence.

Does this Elixir guidance support Mix release deployment workflows with Bandit and Finch?

Yes, this Elixir guidance supports Mix release deployment workflows. It enforces a recommended toolchain including the Bandit web server and Finch HTTP client, ensuring modern, production-ready BEAM application releases.

Why should I use Phoenix PubSub for messaging in BEAM applications?

Use Phoenix PubSub for messaging in BEAM applications to enable real-time communication across distributed nodes and LiveView components. It provides a decentralized, fault-tolerant pub/sub mechanism that aligns with OTP supervision and BEAM philosophy.

Can I use this workflow to build resilient web apps with Phoenix 1.8+?

Yes, you can use this workflow to build resilient web apps with Phoenix 1.8+. It provides end-to-end guidance on tiered architecture, supervised processes, and LiveView-centric UI to ensure scalable, fault-tolerant BEAM applications.