Use when identifying core business concepts, glossary, ontology-lite concepts, entities, events, relationships, grains, terminology, ownership, source alignment, and ambiguity risks before modeling tables.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Use when identifying core business concepts, glossary, ontology-lite concepts, entities, events, relationships, grains, terminology, ownership, source alignment, and ambiguity risks before modeling tables.
des-domain-modeling
Purpose
Use this skill to create and validate the Conceptual Domain Model for any data engineering project.
This skill identifies the core business concepts, entities, events, relationships, grains, terminology, ownership, source alignment, source-of-truth decisions, source caveats, and ambiguity risks that should guide later architecture, ingestion, Silver, Gold, semantic, contract, quality, and serving design.
The goal is to model the domain before modeling tables.
In the Phase-Orchestrated Support Model, this phase is not Done when the Conceptual Domain Model is first written.
Phase 06 is Done only when:
Conceptual Domain Model exists
+ Phase 05 artifact and handoff are reviewed
+ domain validation work is identified
+ domain evidence is collected or waived with reason
+ artifact is revised from evidence
+ Phase 06 Done Gate passes
+ Phase 06 to Phase 07 handoff exists
When To Use
Use this skill when:
Phase 05 Data Source Inventory exists;
Phase 05 handoff exists or the user explicitly accepts the risk of continuing without it;
the project has multiple sources describing overlapping business concepts;
source schemas do not clearly represent business meaning;
terms, entities, events, relationships, grains, identifiers, states, or time concepts are ambiguous;
later Silver/Gold/semantic design needs a shared vocabulary;
an ontology-lite or glossary layer is needed before implementation design;
the workflow router selects Phase 06.
Do not use this skill to design physical schemas, database tables, Bronze/Silver/Gold layouts, star schemas, Data Vault models, semantic models, dashboards, APIs, transformations, orchestration, or code.
Identify output_file, template_file, checklist_file, status_file, and required upstream artifacts.
Identify Phase-Orchestrated Support files:
phase_support_plan_file;
phase_evidence_pack_file;
phase_artifact_revision_file;
phase_done_gate_file;
phase_handoff_file.
Load only steps/step-01-context-and-readiness.md.
Do not load step-02 or step-03 until the current step explicitly instructs you to continue.
Stop at every HALT point and wait for user input.
Do not invent entity meaning, business terms, source-of-truth decisions, grain, lifecycle states, or domain rules.
Do not design physical schemas, tables, Medallion layers, semantic models, dashboards, APIs, transformations, orchestration, or code.
Before marking Phase 06 as Done, create or update the support plan, evidence pack, artifact revision notes, Done Gate, handoff, and workflow status.
Process Overview
The detailed execution procedure lives in steps/.
At a high level, this skill will:
Confirm upstream source, product, requirement, and question context.
Confirm Phase 05 handoff readiness.
Extract candidate business concepts from business questions, requirements, product outputs, source inventory, and source evidence.
Define the domain scope.
Build a business glossary.
Build an ontology-lite concept map.
Define core domain entities, events, value objects, relationships, and terminology.
Identify conceptual grains and identity rules.
Map domain concepts to candidate sources and source-of-truth decisions.
Carry forward source caveats from Phase 05.
Capture domain rules, lifecycle states, and temporal concepts.
Ask HALT questions for ambiguous terms, identity, grain, source-of-truth, relationship, temporal, lifecycle, and ontology-boundary decisions.
Draft the Conceptual Domain Model.
Create the Phase 06 Support Plan.
Collect or reference Phase 06 evidence.
Revise the Conceptual Domain Model using evidence.
Run the Phase 06 Done Gate.
Create the Phase 06 to Phase 07 Handoff.
Update workflow status.
Recommend the next skill.
Do not execute this overview directly. Follow the step files.
Phase-Orchestrated Support Model
Phase 06 uses domain validation support work.
The purpose is not physical modeling. The purpose is to prevent downstream architecture and data design from depending on vague terms, source-shaped schemas, unresolved source-of-truth decisions, or ambiguous grains.
Required Support Work
Support Work
Purpose
Output
Phase 05 Handoff Review
Check domain model follows source evidence and caveats.
Evidence pack section
Business Glossary Check
Validate terms, definitions, synonyms, and controlled vocabulary.
Evidence pack section
Source-to-Concept Mapping Check
Map source evidence to business concepts without copying schema.
Evidence pack section
Ontology-Lite Boundary Check
Define classes/concepts/relationships at lightweight semantic level.
Evidence pack section
Core Entity Identity Check
Validate identity rule for P1 entities.
Evidence pack section
Conceptual Grain Check
Validate one-instance meaning for P1 concepts.
Evidence pack section
Relationship Cardinality Check
Validate important business relationships.
Evidence pack section
Source-of-Truth Mapping Check
Preserve authoritative source decisions and conflicts.
Evidence pack section
Terminology Conflict Check
Record ambiguous terms and unresolved definitions.
Evidence pack section
Temporal Concept Check
Define event time, processing time, effective date, snapshot/as-of date where relevant.
If evidence is missing, mark the item as Ambiguous, Open, Risk, Deferred, Unknown, or Waived with reason.
Guardrails
The agent must not:
copy source schema as the domain model;
design physical tables;
assume source field names are correct business terminology;
treat every source column as a business concept;
treat source schema as ontology;
merge distinct business concepts without approval;
split one business concept into multiple concepts without approval;
assume primary keys from source systems are universal business identifiers;
define Gold or Silver grain in this phase;
choose dimensional modeling, Data Vault, normalized model, or wide table patterns in this phase;
hide source-of-truth conflicts;
drop Phase 05 quality/freshness/privacy/license caveats;
mark Phase 06 Done if core entity meaning, grain, or source-of-truth is unresolved for P1 outputs without accepted risk.
Quality Checklist
Phase 05 Data Source Inventory exists or Draft continuation is explicitly accepted.
Phase 05 handoff exists or missing handoff risk is explicitly accepted.
Domain scope is defined or marked unresolved.
Business glossary exists.
Ontology-lite concept map exists or is waived with reason.
P1 entities have business definitions, conceptual grain, identity rule, source alignment, and status.
P1 events have subject, timing meaning, and mutability.
Important relationships and conceptual grains are documented.
Source-to-concept mapping is documented.
Source-of-truth mappings and terminology conflicts are captured.
Source caveats from Phase 05 are carried forward.
Phase 06 support plan exists or is explicitly waived with reason.
Phase 06 evidence pack exists or evidence is explicitly waived with reason.
Phase 06 artifact revision notes exist.
Phase 06 Done Gate result is recorded.
Phase 06 to Phase 07 handoff exists.
The artifact does not copy source schema or design physical columns, tables, Medallion layers, star schemas, semantic models, APIs, transformations, orchestration, or code.
Anti-Patterns to Avoid
Anti-Pattern
Why It Fails
Copying source schemas as the domain model
Source schema reflects implementation, not business concepts; causes technical debt in Gold.
Treating source schema as ontology
Ontology/domain model needs business meaning, not only field names.
Designing table columns before declaring grain
Grain ambiguity propagates to Gold; query results become incorrect.
Ignoring many-to-many relationships
Undocumented M:M joins cause fan-out bugs in Gold fact tables.
Skipping the glossary because terms seem obvious
Terms like revenue, customer, active, crop, region, risk, or exposure can have multiple meanings.
Pre-aggregating in the domain model
Aggregated grains at this stage restrict future analytical flexibility.
Ignoring source caveats
Architecture and design will over-trust weak or risky sources.
Handoff To The Next Skill
Recommend des-architecture-design only after:
Conceptual Domain Model exists
+ Phase 06 support plan exists or is waived with reason
+ Phase 06 evidence pack exists or evidence is waived with reason
+ Phase 06 Done Gate is Pass or Pass with risks
+ Phase 06 to Phase 07 handoff is Ready or Ready with Risks
If the phase is Draft or Blocked, recommend one of:
continue des-domain-modeling
return to Step 02 domain concepts and relationships
resolve HALT question
route back to des-data-source-assessment
des-wise
des-correct-course
HALT Policy
This skill must stop when a domain modeling decision cannot be safely inferred.
Stop especially when:
source inventory is missing or incomplete;
a core business term has multiple meanings;
an entity identity is unclear;
grain is unclear;
multiple sources define the same concept differently;
source-of-truth decision is unresolved;
a relationship between concepts is ambiguous;
event time versus processing time is unclear;
lifecycle/state definitions are unclear;
downstream P1 questions depend on unresolved domain concepts.
Detailed HALT checkpoints are defined in steps/.
Conventions
Bare paths such as steps/step-01-context-and-readiness.md resolve from the skill root.
{skill-root} resolves to this skill's installed directory.
{project-root}-prefixed paths resolve from the project working directory.
Document output language follows project config.
WORKFLOW ARCHITECTURE
This uses step-file architecture for disciplined execution:
read only the current step file;
execute steps in order;
stop at every HALT checkpoint;
keep unresolved decisions as open questions, not assumptions;
run the configured checklist before status advances.