
This is comprehensive coverage of Elixir development, from language fundamentals through OTP primitives and Phoenix framework patterns. You get working examples of GenServers, supervisors, Ecto queries, and LiveView implementations that show real concurrent system design. The code samples are production-grade, covering things like dynamic query building, proper error handling with pattern matching, and supervision trees. If you're building fault-tolerant systems or real-time Phoenix apps, this gives you the reference implementations and OTP patterns you actually need. The focus on concurrency primitives and supervisor strategies is especially solid for anyone moving beyond Rails-style CRUD into proper distributed systems.
$ npx -y skills add personamanagmentlayer/pcl --skill elixir-expert --agent claude-codeInstalls into .claude/skills of the current project.
Expert guidance for Elixir programming, Phoenix framework, OTP, and building highly concurrent, fault-tolerant systems.
# Pattern matching
{:ok, result} = {:ok, 42}
[head | tail] = [1, 2, 3, 4]
# Functions
defmodule Math do
def add(a, b), do: a + b
def factorial(0), do: 1
def factorial(n) when n > 0, do: n * factorial(n - 1)
end
# Pipe operator
"hello"
|> String.upcase()
|> String.reverse()
# "OLLEH"
# Anonymous functions
add = fn a, b -> a + b end
add.(1, 2) # 3
# Capture operator
add = &(&1 + &2)
Enum.map([1, 2, 3], &(&1 * 2))
# Structs
defmodule User do
defstruct [:id, :name, :email, age: 0]
end
user = %User{id: "123", name: "John", email: "john@example.com"}
# Pattern matching with structs
%User{name: name} = user
Sponsors