/sdlc-documentation:05-conceptual-data-modelingfrom sdlc-documentation
Translates business language into conceptual entities, relationships, identifiers, ownership, and invariants before logical database design. Also writes data contracts, dictionaries, catalogs, lineage, and data quality/governance requirements.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Conceptual data model is the next lifecycle deliverable.database-design when that neighbouring route owns the decision or deliverable.| Artefact | Source or provider | Required? | Behaviour when missing |
|---|---|---|---|
| Business glossary, processes, rules, requirements, and sample records | Domain owners and requirements evidence | Yes | Stop the affected step, name the missing source, and return only a qualified gap record. |
Conceptual data model.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Conceptual data model | Requirements, API, database, privacy, and reporting design | Required sections are populated, source links resolve, and every material requirement or decision has an observable review or test oracle. |
| Evidence | Reviewer | Acceptance condition |
|---|---|---|
Source, decision, trace, and validation record for Conceptual data model | Requirements quality reviewer | Inputs used, decisions made, checks run, failures, and unassessed items are explicit. |
Read and search are required. Editing is allowed only when the request authorises creation or repair of the named requirements artefact. Publishing, production mutation, destructive action, spending, and certification require explicit authority.
Fallback: if a required file, reviewer, standard source, network check, renderer, or execution capability is unavailable, return the narrowest useful qualified result and mark the affected check not assessed; never convert an unassessed check into a pass.
| Choice or condition | Action | Failure or risk avoided |
|---|---|---|
| Two concepts share a label but have different lifecycles or owners | Model them separately and reconcile terminology in the glossary. | Conflated entities and broken business rules. |
| Required inputs and test oracles are complete | Continue through the existing workflow and record evidence. | A deliverable whose acceptance cannot be reproduced. |
| A mandatory source or owner is missing | Stop the affected branch and issue a qualified gap record. | Fabricated context or unauthorised decisions. |
Conceptual data model and its acceptance checks.Conceptual data model from assumed context. Fix: cite the project source or mark the scope blocked.database-design without routing the decision. Fix: hand off the named input and preserve trace links.not assessed and state the release consequence.DQ-* NFRs with window, measurement point, threshold, and breach response.DIR-* interface requirements.This skill translates business language from feature descriptions, business rules, and elicitation artifacts into a formal conceptual data model. The model captures entities, relationships, cardinality, and business-level attributes without prescribing implementation details. The output serves as the authoritative data requirements baseline that feeds into Phase 03 database design skills.
| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/_context/features.md, business_rules.md, elicitation_log.md, glossary.md |
| Output | projects/<ProjectName>/<phase>/<document>/conceptual_data_model.md |
| Tone | Technical, precise, business-facing; no implementation-specific terms |
| Standards | IEEE 1016-2009, IEEE 29148-2018, Book 2 Ch.5-7 |
| File | Location | Required | Purpose |
|---|---|---|---|
| features.md | projects/<ProjectName>/_context/features.md | Yes | Feature descriptions containing entity references |
| business_rules.md | projects/<ProjectName>/_context/business_rules.md | Yes | Business rules defining entity constraints |
| elicitation_log.md | projects/<ProjectName>/_context/elicitation_log.md | No | Raw stakeholder statements with domain vocabulary |
| glossary.md | projects/<ProjectName>/_context/glossary.md | No | Controlled vocabulary for entity and attribute naming |
| File | Location | Description |
|---|---|---|
| conceptual_data_model.md | projects/<ProjectName>/<phase>/<document>/conceptual_data_model.md | Complete conceptual ER model with Mermaid diagrams, entity catalog, and data quality rules |
Follow these steps in order. Halt and notify the user if a required input file is missing.
Read features.md, business_rules.md, and optionally elicitation_log.md and glossary.md from projects/<ProjectName>/_context/. If glossary.md exists, load it as the controlled vocabulary for entity and attribute naming. Log every file path read.
Apply noun analysis to all input artifacts to identify candidate business entities:
glossary.md exists, confirm entity names match the controlled vocabulary. Flag mismatches with [GLOSSARY-MISMATCH].Produce an Entity Candidate Table:
| ID | Entity Name | Source | Status | Notes |
|---|---|---|---|---|
| ENT-001 | Customer | features.md line 12 | Confirmed | |
| ENT-002 | Invoice | business_rules.md BR-05 | Confirmed |
See references/er-modeling-guide.md for entity identification techniques and naming conventions.
For each pair of related entities, define the relationship:
1:1 (one-to-one)1:M (one-to-many)M:M (many-to-many)Produce a Relationship Table:
| Relationship | Entity A | Cardinality | Entity B | Optionality | Governing Rule |
|---|---|---|---|---|---|
| places | Customer | 1:M | Order | A: mandatory, B: mandatory | BR-003 |
| contains | Order | 1:M | LineItem | A: mandatory, B: mandatory | BR-007 |
For each entity, document attributes at the business level. Do NOT specify data types, column names, or storage details.
| Attribute | Description | Business Rule | Data Quality Rule | Required |
|---|---|---|---|---|
| Customer Name | Full legal name of the customer | BR-001 | Completeness | Yes |
| Email Address | Primary contact email | BR-002 | Uniqueness, Conformity | Yes |
Each attribute SHALL include:
Evaluate every entity and attribute against six data quality dimensions per Book 2:
| Dimension | Definition | Measurement Criterion |
|---|---|---|
| Completeness | All required attributes have values | Percentage of non-null required fields |
| Consistency | Same data represented the same way across contexts | Cross-reference check across entity instances |
| Conformity | Data adheres to defined formats and standards | Regex or format validation pass rate |
| Accuracy | Data correctly represents the real-world entity | Stakeholder verification sampling rate |
| Timeliness | Data is current and updated within acceptable latency | Maximum age threshold (e.g., < 24 hours) |
| Uniqueness | No duplicate entity instances exist | Duplicate detection rate across key fields |
For each entity, produce a Data Quality Profile documenting which dimensions apply and the business-level acceptance threshold.
See references/data-quality-rules.md for measurement criteria and business rule mapping.
Produce one or more Mermaid erDiagram blocks that visually represent the conceptual model:
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE_ITEM : contains
PRODUCT ||--o{ LINE_ITEM : "is referenced by"
CUSTOMER {
string customer_name
string email_address
string phone_number
}
ORDER {
date order_date
string order_status
}
Follow Crow's Foot notation for cardinality. Split into multiple diagrams if the model exceeds 15 entities per diagram for readability.
See references/er-modeling-guide.md for Mermaid erDiagram syntax and notation conventions.
If multiple features reference the same core entities (e.g., Customer, Product), assess MDM requirements:
stakeholders.mdSee references/mdm-requirements.md for MDM assessment guidance.
Write the completed model to projects/<ProjectName>/<phase>/<document>/conceptual_data_model.md using the output format below. Log summary statistics: total entities, relationships, attributes, and data quality rules defined.
The generated conceptual_data_model.md SHALL contain the following sections:
# Conceptual Data Model: [Project Name]
## 1. Document Information
## 2. Model Summary
### 2.1 Scope and Objectives
### 2.2 Input Artifacts Analyzed
### 2.3 Key Findings
## 3. Entity Catalog
### 3.1 Entity Identification Table
### 3.2 Entity Descriptions
## 4. Relationship Model
### 4.1 Relationship Table
### 4.2 ER Diagram (Mermaid)
## 5. Attribute Dictionary
### 5.1 Entity-Attribute Tables
### 5.2 Business Rule Mappings
## 6. Data Quality Profile
### 6.1 Quality Dimensions by Entity
### 6.2 Acceptance Thresholds
## 7. Master Data Management (if applicable)
## 8. Glossary Alignment
## 9. Recommendations and Next Steps
## 10. Appendix: Standards Traceability
glossary.md, ambiguity propagates into every downstream artifact.glossary.md (if available).| Direction | Skill | Relationship |
|---|---|---|
| Upstream | 02-requirements-engineering/fundamentals/during/04-* | Consumes classified requirements |
| Downstream | 03-design-documentation/04-database-design | Feeds entity model to physical database design |
| Downstream | 02-requirements-engineering/fundamentals/during/06-* | Feeds entities to CRUD matrix patterns |
| Downstream | 02-requirements-engineering/waterfall/04-* | Feeds data interfaces to interface specification |
| Standard | Governs |
|---|---|
| IEEE 1016-2009 | Software design descriptions and data design viewpoints |
| IEEE 29148-2018 | Data requirements and information model requirements |
| Book 2 Ch.5-7 | Conceptual data architecture and quality dimensions |
references/er-modeling-guide.md -- Entity identification, relationship types, Mermaid syntaxreferences/data-quality-rules.md -- Six data quality dimensions with measurement criteriareferences/mdm-requirements.md -- Master Data Management requirements and golden record rulesreferences/data-quality-nfr-catalogue.md -- Quality dimensions as DQ-* NFRs, ISO/IEC 25012 crosswalk, DPPA section 15 anchorreferences/data-contract-and-dictionary-requirements.md -- Data dictionary template and DIR-* data interface requirementsreferences/data-governance-catalog-lineage-requirements.md -- Governance, classification, catalog, lineage, and AI-metadata requirementsreferences/data-contract-and-dictionary-requirements.md (opens in a new tab)references/data-governance-catalog-lineage-requirements.md (opens in a new tab)references/data-quality-nfr-catalogue.md (opens in a new tab)references/data-quality-rules.md (opens in a new tab)references/domain-language-and-decisions.md (opens in a new tab)references/er-modeling-guide.md (opens in a new tab)references/mdm-requirements.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job