Skip to content
Back to skills

Elixir

ASecurity

Elixir language skill covering OTP, Phoenix, Ecto, pipe operator, pattern matching, and Mix. Use when building Elixir applications.

  • 47 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
toolsshellreactnodeapidatabase

Works with

  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill elixir --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Elixir?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Elixir
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-elixir/badge)](https://www.skillsdirectory.com/skills/skeletorflet-elixir)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: elixir
description: Elixir language skill covering OTP, Phoenix, Ecto, pipe operator, pattern matching, and Mix. Use when building Elixir applications.
trigger: elixir, phoenix, ecto, otp, genserver, supervisor, elixir pipe, elixir pattern matching, mix, liveview
---

## elixir

### Core Concepts
- OTP: GenServer for stateful server processes, Supervisor for fault tolerance trees, Application for system startup
- Pattern Matching: = operator is match not assignment, pin operator (^) matches existing value, case/function clause destructuring
- Pipe Operator: |> chains function calls, first argument flows as next function's first parameter, improves readability
- Immutability: all data is immutable, rebinding name to new value, persistent data structures for efficiency

### Phoenix & Ecto
- Phoenix: HTTP + WebSocket framework, router (pipeline/browser/api scopes), controllers, LiveView for real-time UI
- LiveView: server-rendered reactive UI, stateful processes, OTA updates via WebSocket, no JS required
- Ecto: database wrapper and query generator, schemas map to DB tables, changesets for validation, Repo for queries
- Contexts: bounded module groups for domain logic, explicit public interfaces, prevent leaky dependencies

### Tooling
- Mix: project generator, dependency management, custom tasks, test runner with ExUnit
- IEx: interactive shell with recompilation, debugger, process inspection
- Hex: package registry, publishes libraries, dependency resolution

### Common Patterns
- Supervised process tree (Application -> Supervisor -> Children)
- Enum.map/Enum.filter with pipe for data transformation
- with/else for complex pipeline error handling
- Phoenix PubSub for real-time messaging across nodes

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.