Title here
Summary here
Validate a slash command file
Validate a slash command definition file against the command specification.
Checks for required fields, valid syntax, and common issues. Use –strict for additional checks beyond the basic requirements.
Exit codes: 0 - Valid command 1 - Invalid command or validation errors
aix command validate <path> [flags] # Validate a command file
aix command validate ./review.md
# Strict validation
aix command validate ./review.md --strict
# JSON output for CI/CD
aix command validate ./review.md --json
See Also:
aix command install - Install the command
aix command edit - Edit the command definition
aix command show - Show command details -h, --help help for validate
--json output results as JSON
--strict enable strict validation mode --log-file string write logs to file in JSON format
--log-format string log format: text, json (default "text")
-p, --platform strings target platform(s): claude, opencode (default: all detected)
-q, --quiet suppress non-error output
-v, --verbose count increase verbosity level (e.g., -v, -vv)