otp-essentials
Installation
SKILL.md
OTP Essentials
Use before any GenServer, Supervisor, Task, Agent, Registry, or ETS work.
Processes isolate and schedule work. Modules organize code. Put business logic in pure modules; call them from thin callbacks.
Canonical FP bar: docs/fcis-engineering-rules.md.
Quick Reference
| Concern | Do this |
|---|---|
| Process purpose | Concurrency / state / isolation — not module layout |
| Callbacks | Thin; pure modules compute |
| Startup I/O | handle_continue, not blocking init/1 |
| Naming | Registry, not dynamic atoms |
| Batch tasks | Handle async_stream {:exit, _} |
| ETS | :protected; writes via owner |