/elixir:updating-dependenciesfrom elixir
Update Elixir/Phoenix dependencies safely. Use when running mix hex.outdated, updating mix.exs version constraints, handling breaking version changes, reviewing changelogs for upgrades, or verifying updates with compile and test.
Ships in elixir. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Update all outdated dependencies, handling both safe updates and breaking changes.
Run mix hex.outdated to get a list of all outdated dependencies. Parse the output to identify:
Run mix deps.update --all to update within version constraints in mix.exs.
For each dependency with a major version change:
Update version constraint in mix.exs to allow the new major version
Find changelog/upgrade guide:
https://hexdocs.pm/{package_name}/changelog.htmlhttps://hexdocs.pm/{package_name} sidebar for:
Review breaking changes and apply necessary code modifications
Run verification after each breaking change before next update
After updates, run and fix any issues:
mix compile --warnings-as-errors # Compile with warnings as errors
mix format --check-formatted # Check formatting
mix test # Run tests
If verification fails:
mix formatOnce all verifications pass:
Run mix hex.outdated again to confirm all up to date
Check diff.hex.pm for suspicious changes:
https://diff.hex.pm/diff/{package}/{old_version}..{new_version}https://diff.hex.pm/diff/phoenix/1.8.2..1.8.3Summarize updates:
| Command | Purpose |
|---|---|
mix hex.outdated | List outdated deps |
mix deps.update --all | Update within constraints |
mix deps.update {dep} | Update single dependency |
mix deps.get | Fetch updated deps |
mix deps.clean {dep} --build | Clean and rebuild single dep |
# In mix.exs deps
{:phoenix, "~> 1.8"} # >= 1.8.0 and < 2.0.0
{:ecto, "~> 3.12.0"} # >= 3.12.0 and < 3.13.0
{:plug, ">= 1.0.0"} # Any version >= 1.0.0
{:jason, "~> 1.0", optional: true} # Optional dependency
Phoenix: Check config/ files, router syntax, LiveView lifecycle changes
Ecto: Check changeset functions, query syntax, repo callbacks
LiveView: Check mount/3 signature, event handling, component patterns
Oban: Check worker callbacks, queue configuration, telemetry events
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub xu-chris/ai-setup --plugin elixir5 skills in this plugin
/beam-security-hardeningHardens Elixir/Erlang/Phoenix code and deployments and answers Zero Trust architecture questions. Use when writing or reviewing code that parses untrusted input, deserializes terms, shells out, handles secrets, compares tokens, parses XML, or makes TLS connections; when adding LiveView routes, live_session, on_mount hooks, or authorization in mount/handle_event; when hardening releases, Erlang distribution, EPMD, or crash dumps; or when asked about the NSA Zero Trust Implementation Guidelines (ZIG), pillars, capabilities, activities, or technology mappings./codebase-cleanupRun focused, pass-based remediation on an Elixir/BEAM codebase to eliminate unsafe patterns and harden runtime boundaries. Use when auditing or cleaning up OTP supervision, DTO/boundary integrity, atom safety, ambient configuration, secret/error redaction, unsafe deserialization or runtime eval, GenServer state and backpressure, serialization and event versioning, persistence backends, package boundaries, or observability. Triggers on "clean up codebase", "remediation pass", "audit OTP/supervision", "remove String.to_atom", "boundary/DTO cleanup", "redact secrets", "ban binary_to_term", "backpressure cleanup". Each invocation targets one pass and produces a focused PR with red-first tests, exit-gate scans, and documented exceptions.Other plugins' skills for the same job