Skip to main content

sqb rules

Configured Rules run automatically through sqb compile and build planning. The rules command provides focused catalogue, inspection, execution, and guidance operations.

Usage

Add --json after rules for machine-readable list or run output:
Lifecycle progress is written to stderr so stdout remains valid JSON.

Commands

  • list: print built-in and repository-defined Rules.
  • show: print metadata for one exact code.
  • run: compile and evaluate only one exact code or family prefix.
  • skills: install guidance derived from configured Rules; --check verifies freshness without writing.
run accepts normal SQLBuild model selectors. Native built-ins execute before custom Python Rules.

Exit codes