constitution — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited constitution (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The Constitution skill manages the architectural DNA of a project through two shared documents:
| File | Purpose |
|---|---|
docs/specs/architecture.md | Technology stack, infrastructure, architectural rules, security constraints, AI guardrails |
docs/specs/ontology.md | Domain glossary (Ubiquitous Language) — terms, definitions, bounded contexts |
These files live at docs/specs/ and are shared across all specifications. Unlike a monolithic constitution.md, these are created/enriched by brainstorm (Phase 6.8.6) and spec-to-tasks (Phase 1.5).
$ARGUMENTS or user intent: create, update, check, or show.AskUserQuestion, then write the files using the templates below.Last Updated date.# Create constitution before first brainstorm
/developer-kit-specs:constitution create
# Validate a spec against architecture and ontology
/developer-kit-specs:constitution check --target=docs/specs/001/2024-01-15--user-auth.md
# Update the security constraints section
/developer-kit-specs:constitution update --file=architecture --section=security
# Show current constitution
/developer-kit-specs:constitution show| Scenario | Operation |
|---|---|
| New project — define stack and domain language before first brainstorm | create |
| Stack or security rules changed | update |
| Validate a spec, task, or file against architecture and ontology | check |
| Review current architecture and ontology | show |
Trigger phrases:
AskUserQuestion (domains, infrastructure, stack, data, style, rules)Template lookup order:
${CLAUDE_PLUGIN_ROOT}/templates/architecture.mdskills/constitution/references/architecture.md--file=architecture|ontology and --section=<name>Last Updated date--target=<path>)docs/specs/architecture.md and docs/specs/ontology.mdThe Constitution survives context rot through file-based storage:
docs/specs/architecture.md and docs/specs/ontology.mdFor detailed scenarios and recovery protocols, see references/context-rot-prevention.md.
archived/ — never let specs become stalebrainstorm (Phase 6.8.6) and spec-to-tasks (Phase 1.5)## Constitution Check Report
Target: <file path>
Date: YYYY-MM-DD
### Security Check (CWE/OWASP Compliance)
| Rule | Level | Status | Location | CWE/OWASP |
|------|-------|--------|----------|-----------|
| No SQL injection | CRITICAL | ✅ OK | - | CWE-89 |
### CWE Compliance Report
| CWE | OWASP | Status | Location |
|-----|-------|--------|----------|
| CWE-89 | A03 | ✅ OK | - |
### Architecture Check
| Rule | Status | Detail |
|------|--------|--------|
| Constructor injection | ✅ OK | - |
### Library Verification Check
| Library | Status | Detail |
|---------|--------|--------|
| bcrypt | ✅ OK | Using hash(password, 12) |
### Ontology Check
| Term | Status | Detail |
|------|--------|--------|
| "User" used consistently | ✅ OK | - |
### Summary
- CRITICAL violations: 0
- WARNING violations: 0
- Compliant rules: NFor detailed security patterns (CWE/OWASP mappings), see references/security-patterns.md.
[Session Start] → Read Constitution files
↓
[Optional] constitution create ← this skill (pre-brainstorm setup)
↓
brainstorm ← Constitution loaded before brainstorming
↓
spec-to-tasks ← Constitution validates spec
↓
task-implementation ← Constitution guardrails active
↓
task-review ← Constitution check validates
↓
[Session End] → Constitution files updated if neededRequired loading before:
specs.brainstorm — Validate requirements align with architecturespecs.spec-to-tasks — Check stack compatibilityspecs.task-implementation — Apply AI guardrailsspecs.task-review — Constitution check| File | Purpose |
|---|---|
references/architecture.md | Full architecture template |
references/ontology.md | Full ontology template |
references/security-patterns.md | CWE/OWASP patterns, verification format |
references/context-rot-prevention.md | Detailed scenarios and recovery protocols |
references/constitution-check-report.md | Complete report examples |
For complete templates and detailed reference material, consult the references/ directory.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.