# Statix

Lint Nix expressions for common mistakes

Analyze Nix expressions for error-prone patterns and redundant constructs. Run the selected checks alongside evaluation of the project's supported outputs.

Category: Code quality
Languages: Nix

## Standard evidence

Rubric v1 · 2/8 verified · 6 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — Statix defines named Nix anti-patterns such as empty_let_in and empty_inherit. Its supported syntax is limited to what its parser accepts. Reviewed 2026-11-28. [Source](https://raw.githubusercontent.com/nerdypepper/statix/master/readme.md)
- **Measurement** (verified) — statix check analyzes the selected Nix sources with its enabled lints, which statix list enumerates. Reviewed 2026-11-28. [Source](https://raw.githubusercontent.com/nerdypepper/statix/master/readme.md)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use Statix in this repository to meet this standard: Lint Nix expressions for common mistakes. Analyze Nix expressions for error-prone patterns and redundant constructs. Run the selected checks alongside evaluation of the project's supported outputs. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
statix check
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://github.com/nerdypepper/statix)
- [Agent skill](/skills/nix-statix/SKILL.md)
