elixir-development
Installation
SKILL.md
Elixir Development Skill
Modern Elixir Idioms (Version-Adaptive)
Pattern Matching and Guards
Basic Pattern Matching:
# Function heads with pattern matching
defmodule MyApp.User do
def greet(%User{name: name, status: :active}) do
"Hello, #{name}!"
end
def greet(%User{status: :inactive}) do
"Account suspended"
end