Nix Configuration Checker
When to Use
Use this skill when the user asks to check, validate, lint, or verify the nix configuration.
Instructions
Run the validation scripts in sequence:
-
Format Check - Verify code formatting:
./scripts/fmt.sh --check -
Lint Check - Check for linting issues and dead code:
./scripts/lint.sh -
Flake Check - Validate flake and do a dry-run build:
./scripts/check.sh
Reporting Results
- If all checks pass, report success
- If any check fails, report which check failed and show the relevant error output
- Suggest fixes for common issues (formatting can be auto-fixed with
./scripts/fmt.sh)
微信扫一扫