一键导入
constitution-checks
Audit a PLAN against the architecture-constitution checks (system-of-record YAML) and emit a pass/fail report with file:line evidence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit a PLAN against the architecture-constitution checks (system-of-record YAML) and emit a pass/fail report with file:line evidence.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Keep commits atomic — split a mixed change set into scoped, reviewable commits.
The one-time procedure to take an exported project to live — understand it, confirm the name/goal/stack with the user, run the deterministic `aspis bootstrap`, enrich the judgment files (AGENTS.md, ARCHITECTURE, context), verify, and let the package self-clean. Followed by the bootstrap agent.
Keep per-subsystem architectural intent current through the planning loop — read before designing, record an impact report on change, confirm with the user, apply a dated update, and verify the build against approved intent.
Audit a plan's task dependency graph for structural integrity — circular dependencies, missing prerequisites, orphan tasks, and dependency classification (hard/soft/warning). Produces a pass/warn/fail audit report per dependency so planners catch graph errors before build starts.
Every editing agent should start on a clean working tree so parallel work never collides.
Verify hooks ran, no secrets, protected paths untouched, and commit message valid before committing. Owned by the reviewer.
| name | constitution-checks |
| description | Audit a PLAN against the architecture-constitution checks (system-of-record YAML) and emit a pass/fail report with file:line evidence. |
Before a plan is approved, audit it against the architecture-constitution checks the planning-lead owns — catch architecture violations at planning time when they're cheapest to fix, not at review time when code is already written.
The system of record for the rules is
src/aspis/data/catalog/config/policy/constitution-checks.yaml — load the
rule list from it, never re-derive it from the prose constitution document. R-006
single-source: one fact, one owner; this skill walks the YAML, not its own
hard-coded list.
src/aspis/data/catalog/config/policy/constitution-checks.yaml. Walk every
checks[] entry — the YAML defines id, statement, enforced_by, and
review_question. The set evolves; do not hand-maintain a separate list.constitution-checks skill
evaluates the checks where enforced_by includes planning (currently:
C-COST, C-AUTOMATION, C-LOCAL-CHANGE, C-PLUGIN-FIRST, C-TESTABLE,
C-ARCH-BEFORE-FEATURES). Skip rules the planning-lead does not own — the
reviewer enforces those at review time.review_question against the PLAN.
Record the verdict, the file:line in the PLAN where the concern is visible,
and any suggested fix. Cost-of-change test (from C-COST): count the existing
files the plan would change. 1–3 = healthy, 5–10 = warning, 10+ = problem,
20+ = critical.CONSTITUTION_CHECK: C-<ID> — <verdict> — <finding> — in <plan section> — fix: <suggestion>. Group by verdict at the end (PASS / WARN / FAIL).CONSTITUTION_CHECK report with per-rule findings, verdict, and cost-of-change
score.system-rules.md
"Applying these rules").enforced_by includes planning apply to this skill.