⚔

Dialyzer

Advanced Dialyzer skills for static analysis of Erlang/Elixir code

Installation

First, install the Han CLI tool:

npm install -g @thebushidocollective/han

Then install the plugin:

han plugin install buki-dialyzer

Overview

Advanced Dialyzer skills for static analysis of Erlang and Elixir code.

Skills

  • dialyzer-configuration: PLT management, analysis flags, warning filters
  • dialyzer-analysis: Type specifications, common warnings, success typing
  • dialyzer-integration: CI/CD setup, IDE integration, team workflows

Hooks

  • Stop/SubagentStop: Runs mix dialyzer validation on all Elixir projects

Installation

This plugin is part of the Han marketplace. Enable it in your .claude/settings.json:

{
  "enabledPlugins": {
    "buki-dialyzer@han": true
  }
}

Usage

The Dialyzer hook automatically runs when you complete a task, checking for type errors and discrepancies in your Elixir code.

Requirements

  • Elixir project with mix.exs
  • dialyxir dependency in mix.exs

Skills

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 dialyzer --halt-exit-status
🪝

SubagentStop

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 dialyzer --halt-exit-status