GS/BS
← Standards directory
Code quality

Credo.

Keep Elixir code readable and consistent

Run checks for readability, consistency and design across umbrella apps. Document which warnings must pass and which invite discussion.

Elixir

Community rubric · v1

The evidence

Evidence coverage3 / 8
3 supported · 5 unresolved

One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.

Latest evidence review ·

  • Definition

    Verified

    Credo's MaxLineLength check compares lines to a configured limit and specifies which lines may be excluded.

    Cited source ↗
  • Measurement

    Verified

    Credo returns zero when the run succeeds. When it displays issues, its exit status encodes the categories of reported issues.

    Cited source ↗
  • Conformance

    Unknown

    No reviewed evidence is recorded for this dimension.

    What would demonstrate a violation? Contribute evidence ↗

  • CI enforcement

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a change trigger a useful check? Contribute evidence ↗

  • Getting started

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a newcomer complete a first run? Contribute evidence ↗

  • Real-world adoption

    Unknown

    No reviewed evidence is recorded for this dimension.

    Has another team put it to work? Contribute evidence ↗

  • Agent guidance

    Verified

    For one reported file and line, run mix credo explain with that location. Inspect the check's explanation and configuration, apply a scoped correction and rerun the same analysis.

    Cited source ↗
  • Agent portability

    Unknown

    No reviewed evidence is recorded for this dimension.

    Does the practice work in two agent harnesses? Contribute evidence ↗

Use this standard

Run the check with the tool installed and configured for your project.

mix credo --strict

Agent prompt

Use Credo in this repository to meet this standard: Keep Elixir code readable and consistent. Run checks for readability, consistency and design across umbrella apps. Document which warnings must pass and which invite discussion. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
Read the agent skill ↗

Primary source

Credo documentation ↗