npx skills add sickn33/agentic-awesome-skills --skill elixir --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Elixir / Erlang: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for elixir. ## Table of Contents 1. [Pattern Matching & Guards](#patterns) 2. [Pipe Operator & Transforms](#pipes) 3. [Processes & OTP](#otp) 4. [Error Handling](#errors) 5. [Collections & Enum](#collections) 6. [Structs & Protocols](#structs) 7. [Anti-patterns specific to Elixir/Erlang](#antipatterns) --- ## 1. Pattern Matching & Guards {#patterns} ```elixir # ❌ Extracting with Map.get then checking value = Map.get(map, :key) if value != nil do process(value) end # ✅ — pattern match directly case map do %{key: value} -> process(value) _ -> :noop end # or with if: if value = map[:key], do: process(value) ``` ```elixir # ❌ Nested case for multiple conditions case fetch_user(id) do {:ok, user} -> case validate(user) do {:ok, valid_user} -> save(valid_user) {:error, reason} -> {:error, reason} end {:error, reason} -> {:error, reason} end # ✅ — with clause with {:ok, user} <- fetch_user(id), {:ok, valid_user} <- validate(user) do save(valid_user) end ``` ```elixir # ❌ if/else for known shapes def area(shape) do if shape.type =
- When to Use
- Table of Contents
- 1. Pattern Matching & Guards {#patterns}
- 2. Pipe Operator & Transforms {#pipes}
- 3. Processes & OTP {#otp}
- 4. Error Handling {#errors}
- 5. Collections & Enum {#collections}
- 6. Structs & Protocols {#structs}
- 7. Anti-patterns specific to Elixir/Erlang {#antipatterns}
- Limitations
What does the elixir skill do?
Language-specific super-code guidelines for elixir.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill elixir --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.