odjaramillo/custom-rules/erlang

Claude Code and agent skill by odjaramillo/custom-rules

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Erlang/OTP patterns for concurrent and fault-tolerant systems. Trigger: When writing Erlang/OTP applications.

Install

npx vskill@latest install odjaramillo/custom-rules/erlang

SKILL.md

The same SKILL.md was published earlier as odjaramillo/custom-rules/erlang.

Critical Patterns

OTP GenServer (REQUIRED)
erlang
-module(counter).
-behaviour(gen_server).
-export([start_link/0, increment/0, get/0]).
-export([init/1, handle_call/3, handle_cast/2]).
start_link() ->
gen_server:start_link({local, ?MODULE}, ?MODULE, [], []).
init([]) -> {ok, 0}.
handle_call(get, _From, State) ->
{reply, State, State}.
handle_cast(increment, State) ->
{noreply, State + 1}.
Supervisor (REQUIRED)
erlang
-module(my_sup).
-behaviour(supervisor).
-export([start_link/0, init/1]).
start_link() ->
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
init([]) ->
SupFlags = #{strategy => one_for_one, intensity => 5, period => 10},
Children = [
#{id => worker, start => {my_worker, start_link, []}}
],
{ok, {SupFlags, Children}}.

Decision Tree

Need request/response? → Use gen_server call
Need fire-and-forget? → Use gen_server cast
Need supervision? → Use supervisor behavior
Need state machine? → Use gen_statem
Need event handling? → Use gen_event

Commands

bash
erl # Start REPL
erlc module.erl # Compile
rebar3 compile # Build project
rebar3 shell # Interactive shell

Resources

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/odjaramillo/custom-rules/erlang/badge)](https://verified-skill.com/skills/odjaramillo/custom-rules/erlang)

Something wrong with this skill or its page? Tell us.