ReferenceCLI commands
BetaYou are reading docs for the beta channel (
2.4.1-beta.1) — updated automatically on every beta release.Switch to stable →CLI commands
ak kit validate
Validate kit.yaml files in a kits directory
Validate kit.yaml files in a kits directory, reporting schema and inheritance violations.
When to use it: Before a PR touching kits/, and in CI to catch kit definition errors early.
Read-only.
Usage
ak kit validate [kits-dir] [flags]Examples
ak kit validate # default: ./kits
ak kit validate ./kits # explicit dir argument
ak kit validate --json | jq .violations # scripted CI consumptionGlobal flags, output modes, and the standard exit codes (0–3) are shared by every command — see CLI conventions. The sections below list only what is specific to this command.
Exit codes
| Code | Meaning |
|---|---|
1 | one or more violations found, or internal validator panic |
Related commands
ak kit— Kit management commands