Installation
First, install the Han CLI tool:
npm install -g @thebushidocollective/hanThen install the plugin:
han plugin install buki-elixirOverview
Advanced Elixir skills for OTP, pattern matching, and Ecto.
Skills
This plugin provides the following skills:
- Ecto Patterns
- Otp Patterns
- Pattern Matching
Usage
Once enabled, Claude will automatically apply these skills when working with relevant code. The plugin provides context and expertise that Claude uses to:
- Write idiomatic code following best practices
- Suggest appropriate patterns and architectures
- Catch common mistakes and anti-patterns
- Provide framework-specific guidance
License
Licensed under MIT - see repository for details.
Skills
elixir-ecto-patterns
Use when Elixir Ecto patterns including schemas, changesets, queries, and transactions. Use when building database-driven Elixir applications.
elixir-otp-patterns
Use when Elixir OTP patterns including GenServer, Supervisor, Agent, and Task. Use when building concurrent, fault-tolerant Elixir applications.
elixir-pattern-matching
Use when Elixir pattern matching including function clauses, case statements, with statements, and destructuring. Use for elegant control flow.
Hooks
Stop
Runs when the main Claude Code agent has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with mix.exs -- mix compile --warnings-as-errorsnpx -y @thebushidocollective/han hook run --fail-fast --dirs-with mix.exs -- mix format --check-formattednpx -y @thebushidocollective/han hook run --fail-fast --dirs-with mix.exs -- mix test --staleSubagentStop
Runs when a Claude Code subagent (Task tool call) has finished responding.
npx -y @thebushidocollective/han hook run --fail-fast --dirs-with mix.exs -- mix compile --warnings-as-errorsnpx -y @thebushidocollective/han hook run --fail-fast --dirs-with mix.exs -- mix format --check-formattednpx -y @thebushidocollective/han hook run --fail-fast --dirs-with mix.exs -- mix test