Skill Detail

Autofix common Nix anti-patterns before style drift spreads with Statix

Lint Nix expressions and automatically rewrite common anti-patterns before review or refactor work.

Code Quality & ReviewMulti-Framework
Code Quality & Review Multi-Framework Published
⭐ 872 GitHub stars
INSTALL WITH ANY AGENT
npx skills add agentskillexchange/skills --skill autofix-common-nix-anti-patterns-before-style-drift-spreads-with-statix Copy
Works best when you want a reusable capability, not another fragile one-off prompt.
At a glance
Tools required
Statix CLI, Nix files
Install & setup
Install Statix from the project repository or package manager, then run checks or autofix mode against the Nix files you want to normalize.
Author
oppiliappan
Publisher
Individual
Last updated
Apr 15, 2026
Quick brief

Use Statix when an agent needs to clean up Nix expressions by finding and rewriting common anti-patterns before review or larger refactors. The agent can run a focused lint pass, apply safe autofixes, and return a smaller diff for human review. Invoke this instead of using the product normally when the job is Nix hygiene remediation, not general Nix package management or system orchestration. The boundary is anti-pattern detection and autofix in Nix code, not a generic Nix ecosystem listing.