# 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.

Category: Code quality
Languages: Elixir

## Standard evidence

Rubric v1 · 3/8 verified · 5 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — Credo's MaxLineLength check compares lines to a configured limit and specifies which lines may be excluded. Reviewed 2026-11-28. [Cited source](https://hexdocs.pm/credo/Credo.Check.Readability.MaxLineLength.html)
- **Measurement** (verified) — Credo returns zero when the run succeeds. When it displays issues, its exit status encodes the categories of reported issues. Reviewed 2026-11-28. [Cited source](https://hexdocs.pm/credo/exit_statuses.html)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
  - What would demonstrate a violation? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Credo+%C2%B7+Conformance&body=Practice%3A+credo%0ACriterion%3A+conformance+%28rubric+v1%29%0AWhat+would+demonstrate+a+violation%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can a change trigger a useful check? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Credo+%C2%B7+CI+enforcement&body=Practice%3A+credo%0ACriterion%3A+ci+%28rubric+v1%29%0ACan+a+change+trigger+a+useful+check%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can a newcomer complete a first run? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Credo+%C2%B7+Getting+started&body=Practice%3A+credo%0ACriterion%3A+firstRun+%28rubric+v1%29%0ACan+a+newcomer+complete+a+first+run%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
  - Has another team put it to work? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Credo+%C2%B7+Real-world+adoption&body=Practice%3A+credo%0ACriterion%3A+adoption+%28rubric+v1%29%0AHas+another+team+put+it+to+work%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **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. Reviewed 2026-11-28. [Cited source](https://hexdocs.pm/credo/basic_usage.html)
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.
  - Does the practice work in two agent harnesses? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Credo+%C2%B7+Agent+portability&body=Practice%3A+credo%0ACriterion%3A+portability+%28rubric+v1%29%0ADoes+the+practice+work+in+two+agent+harnesses%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)

## Adoption

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.

### Tool command

```
mix credo --strict
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://hexdocs.pm/credo/)
- [Agent skill](/skills/credo/SKILL.md)
