Credo: Your Team’s Robot Mentor
summary
Credo parses Elixir AST and uses pre_walk pattern matches to surface concrete issues like IEx.pry check via AST pattern match and produces human explanations with trigger, code excerpt and config. Custom checks can read params (for example an exclude files list) to suppress warnings per-check. Plugins modify Credo’s execution struct and pipeline (they register defaults, commands and CLI switches) so a plugin can append a task to determine_issues to filter results or run a tool like inch on compiled BEAM files and convert its grades into Credo issues.
AI-written summary · about
chapters (9)
- 0:00Introduction to Credo
- 1:10The philosophy of Credo
- 6:33How Credo works
- 9:31Analyzing code with ASTs
- 16:01Implementing custom checks
- 18:52Configuration and extensibility
- 21:55Understanding plugins
- 31:06Advanced plugin integration
- 38:31Roadmap and conclusion







