elixir-thinking
Installation
SKILL.md
Elixir Thinking
Resumo (pt-BR): Guia mental para escrever Elixir evitando padrões OOP. Regra de ouro: nenhum processo sem necessidade de runtime (estado mutável, concorrência ou isolamento de falha).
Mental shifts required before writing Elixir. These contradict conventional OOP patterns.
The Iron Law
NO PROCESS WITHOUT A RUNTIME REASON
Before creating a GenServer, Agent, or any process, answer YES to at least one:
- Do I need mutable state persisting across calls?
- Do I need concurrent execution?
- Do I need fault isolation?
All three are NO? Use plain functions. Modules organize code; processes manage runtime.