Agent skill

Elixir Conventions

by Goldziher in Goldziher/ai-rulez

Elixir code conventions covering Elixir 1.14+/OTP 25+, pattern matching, mix format, Credo/Dialyzer, ExUnit, ExDoc, OTP process patterns, and dependency security.

MITAuto-check passedDevelopment

Install Elixir Conventions

skills CLI
$ npx skills add Goldziher/ai-rulez --skill elixir-conventions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Goldziher/ai-rulez elixir-conventions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Goldziher/ai-rulez.git skills-src && mkdir -p .claude/skills && cp -r skills-src/internal/builtins/languages/elixir/skills/elixir-conventions .claude/skills/elixir-conventions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
elixir-conventions
GitHub stars
158
Token cost
~316 tokens
SKILL.md length
125 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

Elixir code conventions covering Elixir 1.14+/OTP 25+, pattern matching, mix format, Credo/Dialyzer, ExUnit, ExDoc, OTP process patterns, and dependency security.

  • Development work in your project
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Elixir Conventions is an agent skill from Goldziher/ai-rulez. Elixir code conventions covering Elixir 1.14+/OTP 25+, pattern matching, mix format, Credo/Dialyzer, ExUnit, ExDoc, OTP process patterns, and dependency security. Load when writing or reviewing Elixir code.

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Elixir. The repository describes itself as: One source of truth for AI assistant configs: 14 built-in presets (Claude, Cursor, Copilot, Codex, Gemini, Xum, …), full-parity custom presets, and distributable plugin bundles… The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/elixir-conventions”

What it can do on your machine

Read from SKILL.md and the folder at commit 01417cf. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Elixir Conventions loads about 316 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 125 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~316

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Goldziher/ai-rulez at commit 01417cf, republished under its MIT licence (© Goldziher). 125 words, ~316 tokens.

Download SKILL.mdSave it as .claude/skills/elixir-conventions/SKILL.md (or your agent's skills folder).
name
elixir-conventions
description
Elixir code conventions covering Elixir 1.14+/OTP 25+, pattern matching, mix format, Credo/Dialyzer, ExUnit, ExDoc, OTP process patterns, and dependency security. Load when writing or reviewing Elixir code.
  • Elixir 1.14+ OTP 25+, pattern matching extensively, mix format non-negotiable.
  • Configure .formatter.exs with :inputs and :import_deps for consistent formatting across team.
  • Linting: a linter (e.g., Credo --strict), type checking: Dialyzer (via dialyxir).
  • Security: mix_audit for dependency CVE scanning, a SAST tool (e.g., Sobelow) for static analysis. Run both in CI.
  • Testing: ExUnit with describe blocks, doctest for examples, a coverage tool (e.g., excoveralls) at 80%+.
  • Documentation: ExDoc for generation, @moduledoc on all modules, @doc + @spec on public functions.
  • {:ok, value} / {:error, reason} tuples — never raise for expected errors.
  • with for multi-step ops, guard clauses for function overloading.
  • OTP: GenServer for state, Supervisor for fault tolerance, |> pipe for transforms.
  • Dependencies: commit mix.lock, hex with ~> constraints.
  • Anti-patterns: mutable state outside processes, long-running NIFs, String.to_atom with user input.

© Goldziher, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in internal/builtins/languages/elixir/skills/elixir-conventions of Goldziher/ai-rulez.

Open the folder on GitHubat commit 01417cf

Compare with similar skills

Elixir Conventions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Elixir Conventions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Elixir Conventions this skillGoldziher/ai-rulez158—~316Automated safety check: PassMIT
Membrane Frameworkmembraneframework/membrane_core1.5k—~4.2kAutomated safety check: PassApache-2.0
Elixirstreamband/hydra-srt146—~804Automated safety check: PassApache-2.0
Idiomatic Elixirgeorgeguimaraes/elixir-agent-tools184—~2.1kAutomated safety check: PassApache-2.0
Releasedmkenney/xamal106—~873Automated safety check: PassMIT
Change CleanupSimon-Initiative/oli-torus119—~3.7kAutomated safety check: PassMIT

Similar skills

  • Membrane Framework

    membraneframework/membrane_core

    Work with the Membrane multimedia streaming framework in Elixir.

    1.5k GitHub stars~4.2k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Elixir

    streamband/hydra-srt

    A skill your agent uses for Elixir/Phoenix development in this repo: implementing features, refactors, debugging, tests, Ecto changes, and production-safe fixes.

    146 GitHub stars~804 tokensUpdated 22 days ago
    DevelopmentAuto-check passed
  • Idiomatic Elixir

    georgeguimaraes/elixir-agent-tools

    Writes and refactors idiomatic Elixir modules and functions, with rules for pattern matching, error handling, protocols and when a process is really needed.

    184 GitHub stars~2.1k tokensUpdated 18 days ago
    DevelopmentAuto-check passed
  • Release

    dmkenney/xamal

    Cut a Xamal release end-to-end (maintainer-only). An agent skill from dmkenney/xamal.

    106 GitHub stars~873 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Change Cleanup

    Simon-Initiative/oli-torus

    Clean up and harden code introduced by the current branch without drifting into broad refactors.

    119 GitHub stars~3.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Elixir Antipatterns

    Gentleman-Programming/Gentleman-Skills

    Core catalog of 8 critical Elixir/Phoenix anti-patterns covering error handling, separation of concerns, Ecto queries, and testing.

    657 GitHub stars~2.1k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed

More from Goldziher/ai-rulez

All 11 skills in this repo
  • AI Rulez

    Goldziher/ai-rulez

    Manage AI assistant governance rules across 52 harnesses (Claude Code, Cursor, Codex, Copilot, Gemini CLI, OpenCode, Devin, and more) using ai-rulez.

    158 GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • Code Quality Standards

    Goldziher/ai-rulez

    Concrete code-quality thresholds and anti-patterns: 120-char lines, max 20 cyclomatic complexity, max 4 nesting levels, max 50 lines per function, no magic numbers, no global state, composition over…

    158 GitHub stars~486 tokensUpdated today
    Auto-check passed
  • Rust Conventions

    Goldziher/ai-rulez

    Rust code conventions covering edition 2024, cargo fmt/clippy, Result-based error handling, unsafe discipline, async with tokio, API-guideline naming, trait implementations, benchmarking, and…

    158 GitHub stars~746 tokensUpdated today
    Auto-check passed
  • Testing Conventions

    Goldziher/ai-rulez

    How to write a good test: behaviour-describing names (shouldreturnerrorwheninputisempty, givenwhenthen), exact-value assertions over truthiness, snapshot and property-based testing…

    158 GitHub stars~473 tokensUpdated today
    Auto-check passed
  • Vite Plus Conventions

    Goldziher/ai-rulez

    vite+ unified TypeScript toolchain conventions: the vp CLI for package/node management, oxlint/oxfmt, type-aware linting, vitest, rolldown/tsdown bundling, task caching, and migration.

    158 GitHub stars~567 tokensUpdated today
    Auto-check passed
  • Bindings

    Goldziher/ai-rulez

    Cross-language binding architecture rules: bindings as minimal glue, canonical API surface ordering (core, ABI, language), per-language test suites in CI, generated-code discipline, and error/async…

    158 GitHub stars~265 tokensUpdated today
    Auto-check passed

Works with

Questions about Elixir Conventions

What does Elixir Conventions do?

Elixir code conventions covering Elixir 1.14+/OTP 25+, pattern matching, mix format, Credo/Dialyzer, ExUnit, ExDoc, OTP process patterns, and dependency security. Elixir Conventions is an agent skill from Goldziher/ai-rulez.14+/OTP 25+, pattern matching, mix format, Credo/Dialyzer, ExUnit, ExDoc, OTP process patterns, and dependency security.

When should I use Elixir Conventions?

Elixir Conventions fits situations like: development work in your project.

How do I install Elixir Conventions in Claude Code?

Run `npx skills add Goldziher/ai-rulez --skill elixir-conventions -a claude-code`. Or copy the skill folder (internal/builtins/languages/elixir/skills/elixir-conventions in Goldziher/ai-rulez) into .claude/skills/elixir-conventions in your project. Claude Code loads it when a task matches its description.

How do I install Elixir Conventions in Codex?

Run `npx skills add Goldziher/ai-rulez --skill elixir-conventions -a codex`. Or copy the skill folder (internal/builtins/languages/elixir/skills/elixir-conventions in Goldziher/ai-rulez) into .agents/skills/elixir-conventions in your project. Codex loads it when a task matches its description.

Can I use Elixir Conventions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Goldziher/ai-rulez --skill elixir-conventions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/elixir-conventions, .gemini/skills/elixir-conventions, .github/skills/elixir-conventions and .opencode/skills/elixir-conventions in your project.

What does Elixir Conventions need to run?

SKILL.md names no scripts, command-line tools or credentials: Elixir Conventions is instructions for the agent only.

Does Elixir Conventions access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Elixir Conventions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Elixir Conventions use?

Elixir Conventions is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Elixir Conventions use?

About 316 tokens (SKILL.md is roughly 1.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Elixir Conventions?

Skills that share tags, products or a category with Elixir Conventions: Membrane Framework (membraneframework/membrane_core, 1.5k stars), Elixir (streamband/hydra-srt, 146 stars), Idiomatic Elixir (georgeguimaraes/elixir-agent-tools, 184 stars) and Release (dmkenney/xamal, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Elixir Conventions?

Goldziher (a GitHub user) maintains it in Goldziher/ai-rulez, which has 158 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 8, 2026.

Source: Goldziher/ai-rulez on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.