sqb kata
Compiles the project and applies its configured Kata architecture policy to compiled models. Built-in checks run offline and never connect to the warehouse or rewrite SQL. Kata reports coded, error-only faults with source locations and remediations. Repository-defined custom rules run in a bounded Python subprocess.Usage
Evaluation flags
Rule policy comes from
[kata].select in sqlbuild_project.toml; CLI --select and --exclude
scope models within that policy. Model selectors support names, tag:, path:, graph +, and
path-between syntax.
--exclude is applied only when --select is also provided. To evaluate all models except one,
start with an explicit broad selector such as --select path:models.Text output
A clean policy prints its model and cache counts:JSON output
Inspect a rule
rule prints metadata for any exact built-in or configured custom code. The rule does not need to
be active:
Generate policy skills
Generate agent guidance from the active rules, options, thresholds, naming vocabulary, and scoped deviations:.agents/skills/sqlbuild-kata/SKILL.md.claude/skills/sqlbuild-kata/SKILL.md.opencode/skills/sqlbuild-kata/SKILL.md

