Elixir Idioms and Patterns
CommunityWrite idiomatic Elixir that scales.
Authorirahardianto
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you avoid non-idiomatic Elixir code by teaching patterns that lead to clearer logic, safer concurrency, and maintainable OTP-based systems.
Core Features & Use Cases
- Pattern matching everywhere: Use function heads and
case/withto express branching and happy-path flows clearly. - OTP and supervision alignment: Structure stateful behavior with
GenServerand rely on supervisors for fault tolerance. - Pipe-friendly APIs and conventions: Design functions that compose well with
|>and follow consistent naming and boolean/raising semantics. - Testing and static analysis guidance: Apply ExUnit practices and common tooling commands for formatting, linting, and checks.
- Use case: Refactor a Phoenix/OTP service by converting nested control flow into
withpipelines andcasepattern matches, while restructuring workers under a supervision tree.
Quick Start
Use the Elixir Idioms and Patterns skill to review your module and propose idiomatic improvements for pattern matching, OTP supervision structure, pipe-friendly function APIs, and naming conventions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Elixir Idioms and Patterns Download link: https://github.com/irahardianto/awesome-agv/archive/main.zip#elixir-idioms-and-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.