Create Ontology Document
Repository continuity composition
For repository-scoped work, compose maintain-repository-continuity in
Resume mode before selecting work. After an authorized repository change
passes domain validation, compose Refresh and Verify immediately before
presenting the pull request, and include the reconciled root CONTINUITY.md in
the same change. A policy-permitted no-change or exemption result must be
documented instead of fabricating an edit.
- Contribute: Canonical terms, relationships, collisions, validation, and unresolved vocabulary
- Never claim: That a disputed or unsupported term is canonical
Purpose
Create or update ONTOLOGY.md in conformance with architecture-ontology.
The document must answer:
What exists in this domain, what does each concept mean, and how do the concepts relate?
Use This Skill When
- the canonical document is missing
- terminology or assumptions are inconsistent
- upstream architecture has changed
- a repository is establishing or repairing its domain model
- downstream architecture needs a stable canonical reference
Required Inputs
Resolve the governing specification, upstream architecture, relevant evidence, existing terminology or assumptions, and downstream consumers.
Missing evidence must be recorded rather than invented.
Workflow
- define the domain boundary
- collect terminology from architecture, documentation, code, and users
- separate concepts from implementation artifacts
- group synonyms and distinguish overloaded terms
- assign stable identifiers and canonical terms
- write definitions, relationships, and invariants
- record aliases and deprecated terms
- surface conflicts and unknowns
- report downstream migration impact
Output Contract
Produce:
ONTOLOGY.md- governing specification identifier and version
- assumptions and unresolved questions
- validation results
- downstream migration or review recommendations
Constraints
- Preserve canonical terminology.
- Separate evidence, assumptions, and inference.
- Do not fabricate domain or human knowledge.
- Do not silently resolve contradictions.
- Do not leak implementation structure into canonical concepts.
- Do not claim completion when required evidence is missing.
Validation
Use:
references/validation-checklist.md
and the acceptance criteria in:
architecture-ontology
Completion Criteria
- The governing specification is identified.
- Required upstream artifacts have been read.
- The primary question is answered.
- Boundaries are respected.
- Assumptions and open questions are visible.
- Structural, semantic, relationship, and evidence checks pass.
- Downstream impacts are reported.