credo-configuration

Configure Credo static analysis rules in .credo.exs for Elixir projects.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill credo-configuration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: credo-configuration
Source: https://github.com/TheBushidoCollective/han/tree/main/jutsu/jutsu-credo/skills/credo-configuration
Command: npx skills add https://github.com/TheBushidoCollective/han --skill credo-configuration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Credo configuration helps enforce code quality and consistency across an Elixir codebase with tuned rules and exclusions.

Core Features & Use Cases

  • .credo.exs setup with configs
  • Enable/disable categories and individual checks
  • Guidelines for including or excluding files

Quick Start

Create a .credo.exs with core checks and progressively refine rules for your project.

Frequently Asked Questions about credo-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Credo for static analysis in my Elixir project?

Configure Credo by creating a .credo.exs file that defines enabled/disabled checks, file inclusion/exclusion patterns, and custom rules. The configuration maps Credo.Check modules to enforce code quality across your lib/, src/, test/, web/, and apps/*/lib/ directories while excluding _build/, deps/, and node_modules/.

Can I customize which Credo checks run on my Elixir codebase?

Yes. In .credo.exs, enable or disable individual Credo.Check modules and entire categories to match your project's standards. You can configure checks for consistency, readability, design quality, and refactoring opportunities with custom severity levels and exclusions.

What files and directories does Credo configuration cover in an Elixir project?

Credo configuration scans lib/, src/, test/, web/, and apps/*/lib/ and apps/*/test/ directories by default. It automatically excludes _build/, deps/, and node_modules/ to focus analysis on your project code.

How do I set up a .credo.exs file with Credo checks for code quality enforcement?

Create a .credo.exs map with name, strict, color, files, plugins, requires, parse_timeout, and an enabled/disabled checks list. Start with core checks and progressively refine rules referencing Credo.Check modules to enforce consistency and readability across your codebase.

Does Credo configuration work with umbrella applications in Elixir?

Yes. Credo configuration supports umbrella projects by scanning apps/*/lib/ and apps/*/test/ directories. You can define a single .credo.exs at the root to enforce consistent code quality rules across all umbrella applications.

What settings can I configure in the .credo.exs file?

The .credo.exs map includes name, strict mode, color output, file paths, plugins, required dependencies, parse timeout, and enabled/disabled Credo.Check modules. These settings let you tailor static analysis behavior to your project's standards.