⚔

Credo

Advanced Credo skills for code analysis and style checking in Elixir

Installation

First, install the Han CLI tool:

npm install -g @thebushidocollective/han

Then install the plugin:

han plugin install buki-credo

Overview

Advanced Credo skills for code analysis and style checking in Elixir.

Skills

  • credo-configuration: Setup, check configuration, priority levels
  • credo-checks: Common issues and how to fix them
  • credo-custom-checks: Creating project-specific checks

Hooks

  • Stop/SubagentStop: Runs mix credo --strict on projects with .credo.exs

Installation

Enable in .claude/settings.json:

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

Skills

Hooks

🪝

Stop

Runs when the main Claude Code agent has finished responding.

npx -y @thebushidocollective/han hook run --fail-fast --dirs-with .credo.exs -- mix credo --strict
🪝

SubagentStop

Runs when a Claude Code subagent (Task tool call) has finished responding.

npx -y @thebushidocollective/han hook run --fail-fast --dirs-with .credo.exs -- mix credo --strict