Structure

structure compile

structure compile [--repo <path>] [--write] [--commit] [--targets a,b] [--force]
                  [--check] [--no-smart]
                                           emit agent dialects from the canon:
                                           AGENTS.md, CLAUDE.md, .cursorrules,
                                           the pre-commit hook, and for Codex
                                           (target codex) departments/*/AGENTS.md
                                           and .agents/skills/ (+ maintainer
                                           workflow when structure.yml declares
                                           it). --targets a,b compiles only those;
                                           a list without codex leaves its files
                                           and AGENTS.md's review rules alone
                                           --check writes nothing and exits nonzero
                                           if compiling would change anything — the
                                           committed files still say what the canon
                                           says. For CI, and it never writes
                                           --target qm emits qm-pack/ — canon as a
                                           SKILL.md tree for QM pinned skill packs
                                           A pack's application: --write first
                                           writes each compiled field for the reader
                                           with this machine's model, kept in the
                                           answers file; --no-smart compiles from the
                                           documents as they are
structure compile [--repo <path>] [--write] [--commit] [--targets a,b] [--force]
[--check] [--no-smart]

emit agent dialects from the canon: AGENTS.md, CLAUDE.md, .cursorrules, the pre-commit hook, and for Codex (target codex) departments/*/AGENTS.md and .agents/skills/ (+ maintainer workflow when structure.yml declares it). --targets a,b compiles only those; a list without codex leaves its files and AGENTS.md's review rules alone --check writes nothing and exits nonzero if compiling would change anything — the committed files still say what the canon says. For CI, and it never writes --target qm emits qm-pack/ — canon as a SKILL.md tree for QM pinned skill packs A pack's application: --write first writes each compiled field for the reader with this machine's model, kept in the answers file; --no-smart compiles from the documents as they are