Elixir static analysis plugin that wires Credo's style checks into Claude Code sessions.
- CCM score
- 42 of 100
- GitHub stars
- 201
Own this plugin? Claim it
What it does
- Adds 3 skills (
credo-configuration,credo-checks,credo-custom-checks) and ahooks.jsonhook for Credo runs - Covers setup and priority levels, fixes for common check issues, and authoring project-specific custom checks
- Runs
mix credo --stricton Stop and SubagentStop events when the project has a.credo.exsfile - Designed for Elixir projects that need customized code quality rules and consistent style enforcement
Credo skills for Elixir code analysis and style checking
Add marketplace
/plugin marketplace add TheBushidoCollective/hanRun it inside Claude Code once, then install the plugin below.
Install
/plugin install credo@hanRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceCredo Checks
Understanding and fixing common Credo issues.
Check Categories
Consistency Checks
Ensure consistent code style across the project.
Design Checks
Identify design issues and anti-patterns.
Readability Checks
Improve code readability and maintainability.
Refactoring Checks
Highlight refactoring opportunities.
Warning Checks
Catch potential bugs and issues.
Common Issues
Module Documentation
# Issue: Missing module documentation
defmodule MyModule do
end
# Fixed
@moduledoc """
This module handles user authentication.
"""
defmodule MyModule do
end
Function Complexity
# Issue: High cyclomatic complexity
def complex_function(x) do
if x > 10 do
if x < 20 do
if rem(x, 2) == 0 do
:even_mid
else
:odd_mid
end
else
:high
end
else
:low
end
end
# Fixed: Extract to separate functions
def classify_number(x) do
case {x > 10, x < 20, rem(x, 2) == 0} do
{false, _, _} -> :low
{true, false, _} -> :high
{true, true, true} -> :even_mid
{true, true, false} -> :odd_mid
end
end
Pipe Chain
# Issue: Single pipe
list |> Enum.map(&(&1 * 2))
# Fixed
Enum.map(list, &(&1 * 2))
Unused Variables
# Issue
def process({:ok, result}, _context) do
result
end
# Fixed: Prefix with underscore
def process({:ok, result}, _context) do
result
end
Readme
Credo
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 --stricton projects with .credo.exs
Installation
han plugin install credo
Details
- Marketplace
- TheBushidoCollective/han
- Source
- plugins/validation/credo
- Category
- Validation
- Keywords
- elixir, linting, style, analysis
- Listed since
- Apr 7, 2026
Questions
What does the credo plugin add to Claude Code?
The credo plugin gives Claude Code skills for Elixir code analysis and style checking. Its skills cover credo-configuration for setup and priority levels, credo-checks for common issues and fixes, and credo-custom-checks for project-specific checks. It also adds a Stop and SubagentStop hook that runs mix credo --strict on projects with a .credo.exs file.
How do I install the credo plugin?
Run /plugin marketplace add TheBushidoCollective/han and then /plugin install credo@han inside Claude Code. These commands register the han marketplace and then install the credo plugin from it. Once installed, the plugin's Elixir checks and Credo hook are available in Claude Code sessions.
Which plugins lead the Code Review & Quality category, and where does credo stand?
Credo sits in the Code Review & Quality category alongside code-review, pr-review-toolkit, open-code-review, and code-modernization. Its focus is narrower than those, centered on Elixir linting and style checks with Credo. It is the plugin to reach for when your project is written in Elixir and uses Credo.
More from TheBushidoCollective/han
All 340- crystal
- csharp
- cucumber
- cypress
- data-engineering
- database-engineering
- dialyzer
- django
- do-accessibility
- do-accessibility-engineering
- do-api
- do-api-engineering
- do-architecture
- do-backend
- do-backend-development
- do-blockchain
- do-blockchain-development
- do-compiler-development
- do-compilers
- do-content
- do-content-creator
- do-data-engineering
- do-database-engineering
- do-databases
Similar to credo
More Code Review & Qualityjutsu-credoTheBushidoCollective/han201 starsCredo skills for Elixir code analysis and style checking
dialyzerTheBushidoCollective/han201 starsDialyzer skills for static analysis of Erlang/Elixir code
mix-credogeorgeguimaraes/claude-code-elixir192 starsRun Credo static analysis after editing Elixir files
superpowersobra/superpowers326K starsCore skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
code-reviewopenshift-eng/ai-helpers123 starsAutomated code quality review with language-aware analysis, pre-commit verification, and multi-specialist deep review
code-analysis-suitelifangda/claude-plugins43 stars代码分析套件:静态/动态审查与全量评估,聚焦真实问题而非表面修饰