Adds Credo, Dialyxir, Dialyzer PLT layout, and mix lint / mix lint:quick aliases to an existing Elixir project. Use when bootstrapping CI lint, typecheck, or reproducing the diode-drive mix lint workflow in another repo.
Creates or extends bash `run` scripts with `run rpc <expression>` and `scripts/rpc` for remote Elixir/Erlang RPC on running nodes. Detects iex/mix dev vs release (`bin/app rpc`) patterns. Use when adding run/rpc/remsh scripts, remote RPC over SSH, or unifying split run+remsh scripts.
Use when the user asks to review a branch, review code changes, code review a PR, check branch quality, or evaluate changes against project guidelines.
Installs the GitHub cursor issue workflow (workflow.exs and README) into `.cursor/issue-workflow/`, installs the `branch-code-review` project skill into `.cursor/skills/`, runs `workflow.exs --create-labels` once for GitHub labels, then prompts about workflow tweaks. Use when bootstrapping issue/PR automation, setting up cursor labels, copying the issue workflow into a repo, or installing branch review plus label workflow.
Configure rotated and compressed file logging for Elixir/Phoenix projects using :logger_std_h. Use when setting up production logging, configuring logger rotation, or when the user asks to add file logging to an Elixir project.
Debug and investigate concrete issues on a running Elixir/Erlang node using live RPC (run rpc, remsh rpc, scripts/rpc, or bin/app rpc). Forms hypotheses from user symptoms, runs read-only checks, interprets output. Use when debugging production/staging/dev node behavior, inspecting process state, or investigating user-reported live system issues.
Review branch changes against AGENTS.md guidelines. Fetch intended goal from PR/issue, check correctness (logic, goal alignment, conciseness), focus on new changes only, pull GitHub PR comments if available via gh CLI. Output summary, alignment score (1-10), and LLM prompts to fix issues. Propose posting the review as a PR comment when one exists. Use when the user asks to review a branch, code review a PR, or review changes.
Autonomous Goal-directed Iteration. Apply Karpathy's autoresearch principles to ANY task. Loops autonomously — modify, verify, keep/discard, repeat forever until stopped.