Elixir Idioms and Patterns

Community

Write 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/with to express branching and happy-path flows clearly.
  • OTP and supervision alignment: Structure stateful behavior with GenServer and 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 with pipelines and case pattern 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.