Elixir
The Elixir programming language, OTP, Phoenix framework, and BEAM ecosystem
Phoenix LiveView: UUID vs Integer ID Type Mismatch Error
When migrating a {{Phoenix LiveView}} app from integer to {{UUID}} primary keys, leftover `String.to_integer/1` calls on ID params crash with `ArgumentError` because {{Phoenix}} params arrive as strings and {{Ecto}} accepts UUID strings natively.
Elixir MCP Libraries: anubis_mcp vs hermes_mcp
{{anubis_mcp}} (the {{zoedsoupe}} fork) is the preferred {{Elixir}} {{Model Context Protocol}} SDK as of May 2026, having shipped active 1.x releases tracking the current {{MCP}} spec, while the original {{hermes_mcp}} from {{CloudWalk}} has not cut a Hex release since August 2025 even though its repo still sees occasional commits.
UsageRules: Auto-Generated AGENTS.md from Hex Dependencies for Elixir Projects
usage_rules is a dev-only Elixir mix tool (by the Ash Framework team) that gathers usage-rules.md files from Hex dependencies and consolidates them into AGENTS.md and CLAUDE.md files. This gives LLM coding agents automatic context about how to use your project's dependencies correctly. Library authors include a usage-rules.md in their Hex package; consuming projects run mix usage_rules.sync to generate consolidated agent instructions.
Elixir and Phoenix Project Visualization Tools
Key Elixir project visualization tools: Swark (AI-powered Mermaid diagrams), mix xref graph (built-in dependencies), DepViz (recompilation), and LiveDashboard (runtime supervision trees).