Nils CLI Verify Required Checks
Contract
Prereqs:
- Run inside the
nils-cligit work tree (the script resolves the repo root viagit). cargoand a Rust toolchain available onPATH(includingrustfmtandclippycomponents).zshavailable onPATH.
Inputs:
- Optional flag:
--docs-only(documentation-only fast path).
Outputs:
- Runs the required pre-delivery checks from
DEVELOPMENT.md:bash scripts/ci/docs-placement-audit.sh --strictbash scripts/ci/docs-hygiene-audit.sh --strictbash scripts/ci/test-stale-audit.sh --strictbash scripts/ci/completion-asset-audit.sh --strictcargo fmt --all -- --checkcargo clippy --all-targets --all-features -- -D warningscargo test --workspacebash scripts/ci/completion-flag-parity-audit.sh --strictzsh -f tests/zsh/completion.test.zsh
- In
--docs-onlymode, runs only:bash scripts/ci/docs-placement-audit.sh --strictbash scripts/ci/docs-hygiene-audit.sh --strict
- Prints the failing command (if any) and exits non-zero on failure.
Exit codes:
0: all checks passed1: a check failed2: usage error (invalid arguments) or missing prerequisites
Failure modes:
- Not in a git work tree (cannot resolve repo root).
- Missing required tools on
PATH(git,cargo,zsh,rg). - Any of the required lint/tests fail.
Scripts (only entrypoints)
.agents/skills/nils-cli-verify-required-checks/scripts/nils-cli-verify-required-checks.sh
Workflow
- Run before you claim a task is done.
- For docs-only changes (
README.md/docs/**/*.mdonly), prefer:.agents/skills/nils-cli-verify-required-checks/scripts/nils-cli-verify-required-checks.sh --docs-only
- If it fails, fix the reported issue and re-run until it exits
0.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.