nix-linting
CommunityStreamline Nix linting and static analysis.
AuthorJylhis
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Statix, deadnix, nixfmt, treefmt, nom, and nix-instantiate require manual orchestration to lint and format Nix code; this skill provides a consolidated guide to perform Nix linting, formatting, and static analysis consistently across projects.
Core Features & Use Cases
- statix: check and fix anti-patterns and style issues
- deadnix: detect dead code and provide --edit for automated cleanup
- nixfmt: canonical Nix formatter for consistent code style
- treefmt-nix: multi-formatter orchestration to run several formatters in one pass
- nom: real-time build progress display for Nix projects
- nix-instantiate: parse/evaluate Nix expressions for syntax validation
- nix flake check: perform flake-level evaluation and checks
- devenv pre-commit hooks: integrate linting into pre-commit workflows
- CI integration: guidelines for format check, lint, and build in CI
Quick Start
Run statix check . to begin linting your Nix project.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: nix-linting Download link: https://github.com/Jylhis/skills/archive/main.zip#nix-linting Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.