elixir-guidelines

Identify Elixir language guidelines for code quality across common pitfalls.

1|1|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/code0100fun/botfiles --skill elixir-guidelines-code0100fun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elixir-guidelines
Source: https://github.com/code0100fun/botfiles/tree/main/plugins/elixir-phoenix/skills/elixir-guidelines
Command: npx skills add https://github.com/code0100fun/botfiles --skill elixir-guidelines-code0100fun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Elixir developers frequently encounter subtle pitfalls across list access, immutability, module organization, struct access, date/time handling, and OTP patterns. This guide consolidates core Elixir language guidelines to help avoid these pitfalls during writing or code reviews.

Core Features & Use Cases

  • List Access
  • Variable Rebinding in Block Expressions
  • Module Organization
  • Struct Access
  • Date and Time
  • Naming Conventions
  • OTP Patterns
  • Concurrency
  • Mix Guidelines
  • Test Guidelines

Quick Start

Review these guidelines before writing or reviewing Elixir code to ensure best practices are followed.

Frequently Asked Questions about elixir-guidelines

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

FAQPage Schema
What are the best practices for Elixir module organization and struct access?

Elixir best practices for module organization and struct access involve grouping related functions into cohesive modules and using structs to define clear data shapes. Following these guidelines reduces common pitfalls and ensures safer, cleaner code across typical Elixir projects.

How do I handle immutability and list access correctly in Elixir?

To handle immutability and list access in Elixir, avoid mutating existing data and use proper list traversal functions. Core Elixir language guidelines dictate treating data as immutable, which prevents subtle bugs during concurrent operations and improves overall code quality.

What Elixir OTP patterns and concurrency guidelines should I follow for safer code?

Elixir OTP patterns and concurrency guidelines recommend using GenServer and Supervisor behaviors to manage state and process isolation. Applying these best practices ensures safer concurrency, reduces common pitfalls, and maintains cleaner code across typical Elixir projects.

Can I use these Elixir guidelines for automated linting and code reviews?

Yes, you can use these Elixir guidelines for automated linting and code reviews. The guide provides rules, examples, and best-practice checks suitable for code review, onboarding, and automated linting to identify and reduce common pitfalls across typical Elixir projects.

Does this guide cover Elixir date and time handling best practices?

Yes, this guide covers Elixir date and time handling best practices. It consolidates core language guidelines for date and time handling, alongside list access, naming conventions, and mix guidelines, to help developers avoid subtle pitfalls during writing or code reviews.

What mix and test guidelines should I follow for typical Elixir projects?

For typical Elixir projects, mix and test guidelines recommend following standardized naming conventions and testing patterns. Reviewing these specific guidelines before writing or reviewing Elixir code ensures best practices are followed and reduces common testing pitfalls.