home/categories/debugging/blockscout-blockscout-agents-skills-elixir-clause-grouping-skill-md
debuggingtools

elixir-clause-grouping

Use when refactoring Elixir multi-clause functions, extracting helper functions, or fixing Credo readability warnings caused by placing `defp` helpers between clauses of the same function. Keeps function clauses contiguous and moves helpers below the full clause group.

blockscout
maintainer
blockscout
Updated 4/9/2026
Stars
4492
Forks
3032
quick start

Installation and usage

Use when refactoring Elixir multi-clause functions, extracting helper functions, or fixing Credo readability warnings caused by placing `defp` helpers between clauses of the same function. Keeps function clauses contiguous and moves helpers below the full clause group.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use elixir-clause-grouping