Erlang
Erlang concurrent programming with OTP. Use for .erl files.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill erlangAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 252 tokens by cl100k_base, as published. Nobody here has run it
Erlang
Erlang powered WhatsApp and the telecom backbone. OTP 27 (2024) adds a JSON module and triple-quoted strings. It is the foundation of Elixir.
When to Use
- 99.9999999% Reliability: Hot code reloading, supervision trees.
- Massive Concurrency: Lightweight processes (millions per node).
- Distributed Systems: Distributed Erlang nodes connect natively.
Core Concepts
OTP
Open Telecom Platform. Behaviors like gen_server (Generic Server).
Let it Crash
Don't catch exceptions. Let the supervisor restart the process.
Message Passing
Pid ! Message. No shared memory.
Best Practices (2025)
Do:
- Use
rebar3: The standard build tool. - Use
maybe: The new monadic-like flow control (enabled by default in 27). - Use
json: The new stdlib JSON parser (faster/safer).
Don't:
- Don't optimize pre-maturely: Profile first. Messages are copied.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.