Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

staff-level-elixir

БесплатноБез исполняемых скриптовНе проверен

Use this skill when writing, reviewing, or refactoring Elixir, OTP, Ecto, or Phoenix/LiveView code. It corrects the staff-level judgment calls a capable model…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

Staff-Level Elixir

Distilled staff-level judgment for Elixir on the BEAM — the design decisions Elixir, OTP, Ecto, and Phoenix force, and how an experienced engineer settles them, written so an agent applies them while writing or reviewing code. Each rule corrects a specific wrong default; there is no rule for things the model already gets right (syntax, basic idioms, the standard library).

When to Apply

  • Writing or reviewing OTP code — deciding whether something needs a process, and which (GenServer, Task, Agent, ETS, supervisor)
  • Handling failure — choosing between tagged tuples, exceptions, with, and letting a process crash
  • Writing Ecto — queries, associations, transactions, changesets, large result sets
  • Building Phoenix controllers and LiveViews — context boundaries, socket state, mount lifecycle
  • Running concurrent work — parallel fan-out, fire-and-forget tasks, handling untrusted input
  • Any request to make Elixir code more idiomatic, more fault-tolerant, or "staff-level"

Rule Categories

# Category Prefix Covers
1 Process & OTP Design otp- Whether a problem needs a process, and which one; supervision
2 Error Handling & Let-It-Crash err- Signalling failure; when to raise, rescue, or crash
3 Idioms & Design Choices data- Pattern matching, Stream/Enum, iolists, pipes, macros
4 Concurrency & the Scheduler conc- Bounded/isolated parallelism; atom-table safety
5 Ecto & Data Access ecto- N+1, atomic writes, constraint races, large sets
6 Phoenix & LiveView phx- Context boundaries, socket memory, mount lifecycle

Quick Reference

1. Process & OTP Design

2. Error Handling & Let-It-Crash

3. Idioms & Design Choices

4. Concurrency & the Scheduler

5. Ecto & Data Access

6. Phoenix & LiveView

Полный SKILL.md на GitHub

Установить staff-level-elixir в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.mdassets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/conc-async-stream-bounded.mdreferences/conc-atom-exhaustion.mdreferences/conc-task-supervised-nolink.mdreferences/data-functions-over-macros.mdreferences/data-iolists-over-concat.mdreferences/data-pattern-match-over-conditionals.mdreferences/data-pipe-idioms.mdreferences/data-stream-vs-enum.mdreferences/ecto-atomic-counters.mdreferences/ecto-db-constraints-over-validation.mdreferences/ecto-multi-for-transactions.mdreferences/ecto-preload-n-plus-one.mdreferences/ecto-stream-large-sets.mdreferences/err-let-it-crash.mdreferences/err-tagged-tuples-vs-raise.mdreferences/err-with-happy-path.mdreferences/otp-ets-for-shared-reads.mdreferences/otp-genserver-not-default.mdreferences/otp-handle-continue-init.mdreferences/otp-supervise-over-manual-restart.mdreferences/phx-context-boundary.mdreferences/phx-liveview-streams.mdreferences/phx-mount-twice-connected.md

FAQ

Что делает скилл staff-level-elixir?

Use this skill when writing, reviewing, or refactoring Elixir, OTP, Ecto, or Phoenix/LiveView code. It corrects the staff-level judgment calls a capable model gets wrong by default — reaching for a GenServer as the universal tool, rescuing instead of letting processes crash, N+1 Ecto access, non-atomic writes, unbounded/linked Task fan-out, atom exhaustion from user input, eager Enum where Stream fits, and calling Repo from the web layer. Applies whenever the work touches process design, error handling, concurrency, data access, or LiveView, even if the user doesn't name them.

Как установить скилл staff-level-elixir?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл staff-level-elixir запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить staff-level-elixir с