elixir-conventions

Standardize Elixir coding practices for modules and GenServer systems.

17|5|Updated Mar 22, 2025
One-click install
npx skills add https://github.com/mariari/ElixirGtBridge --skill elixir-conventions
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: elixir-conventions
Source: https://github.com/mariari/ElixirGtBridge/tree/main/.claude/skills/elixir-conventions
Command: npx skills add https://github.com/mariari/ElixirGtBridge --skill elixir-conventions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Elixir-conventions distills common Elixir coding patterns into a shared set of rules to improve readability, maintainability, and collaboration across teams.

Core Features & Use Cases

  • Consistent control flow choices across modules to reduce cognitive load.
  • Structured typing guidance and module organization to improve readability.
  • GenServer guidelines for predictable life cycle and clear callbacks.

Quick Start

Create a new Elixir module following the conventions and structure shown, then add a moduledoc and type specs for public API.

Frequently Asked Questions about elixir-conventions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for structuring Elixir modules and GenServers?▼

Standardize Elixir module structure by enforcing consistent function organization, type specs, and moduledocs to ensure predictable GenServer life cycles, clear callbacks, and improved maintainability across your codebase.

How do I write clean Elixir code with consistent pattern matching?▼

Apply standardized pattern matching and control flow choices across modules to reduce cognitive load, enforce consistent style, and improve the readability of your Elixir codebase for team collaboration.

Does this Elixir conventions guidance cover type specs and documentation?▼

Yes, Elixir conventions cover types and documentation by enforcing rules for adding moduledocs and type specs to your public API, ensuring consistent style and debuggability across both small modules and GenServer systems.

How do I set up a new Elixir module following standard coding conventions?▼

Create a new Elixir module following the standard structure provided, then add a moduledoc and type specs for your public API to ensure readability, maintainability, and consistent coding style across the project.

When should I standardize control flow choices in my Elixir project?▼

Standardize control flow choices in Elixir projects ranging from small modules to GenServer systems to reduce cognitive load, enforce consistent style, and ensure predictable behavior across team collaboration.