Extension ID
data-model-diagram
Extension Name
Data Model Diagram
Version
0.2.2
Description
Generates Mermaid ER diagrams from Spec Kit data models after planning.
Author
Igor Benicio de Mesquita
Repository URL
https://github.com/benizzio/spec-kit-data-model-diagram
Download URL
https://github.com/benizzio/spec-kit-data-model-diagram/archive/refs/tags/v0.2.2.zip
License
MIT
Homepage (optional)
https://github.com/benizzio/spec-kit-data-model-diagram
Documentation URL (optional)
https://github.com/benizzio/spec-kit-data-model-diagram#readme
Changelog URL (optional)
https://github.com/benizzio/spec-kit-data-model-diagram/blob/main/CHANGELOG.md
Required Spec Kit Version
=0.2.0
Required Tools (optional)
None beyond Spec Kit extension support.
Number of Commands
1
Number of Hooks (optional)
1
Tags
diagram, documentation, mermaid
Key Features
- Provides the
speckit.data-model-diagram.generate command
- Reads the active feature's
data-model.md
- Generates
data-model-diagram.mmd next to the source data model
- Produces raw Mermaid
erDiagram output
- Preserves documentary field types, arrays, nullability, and relationship-bearing attributes
- Offers an optional
after_plan hook to generate the diagram after planning
Testing Checklist
Submission Requirements
Testing Details
Tested on:
Test project:
benizzio/ghostfolio-cryptogains, a Go-based Spec Kit project with multiple feature specifications under specs/.
Test scenarios:
- Installed the extension from the GitHub release archive.
- Ran the extension against real Spec Kit feature data models in
ghostfolio-cryptogains.
- Generated Mermaid ER diagram files from existing
data-model.md files.
- Verified generated
data-model-diagram.mmd files were created for multiple feature specs:
specs/001-ghostfolio-gains-reporting/data-model-diagram.mmd
specs/003-store-activity-data/data-model-diagram.mmd
specs/005-generate-gains-report/data-model-diagram.mmd
- Confirmed the output contains raw Mermaid
erDiagram source and preserves declared field types, arrays, nullability, and relationships.
Example Usage
# Install extension
specify extension add data-model-diagram --from https://github.com/benizzio/spec-kit-data-model-diagram/archive/refs/tags/v0.2.2.zip
# After running /speckit.plan, invoke:
/speckit.data-model-diagram.generate
Proposed Catalog Entry
**Proposed Catalog Entry**
{
"data-model-diagram": {
"name": "Data Model Diagram",
"id": "data-model-diagram",
"description": "Generates Mermaid ER diagrams from Spec Kit data models after planning.",
"author": "Igor Benicio de Mesquita",
"version": "0.2.2",
"download_url": "https://github.com/benizzio/spec-kit-data-model-diagram/archive/refs/tags/v0.2.2.zip",
"repository": "https://github.com/benizzio/spec-kit-data-model-diagram",
"homepage": "https://github.com/benizzio/spec-kit-data-model-diagram",
"license": "MIT",
"requires": {
"speckit_version": ">=0.2.0"
},
"provides": {
"commands": 1,
"hooks": 1
},
"tags": ["diagram", "documentation", "mermaid"],
"verified": false,
"downloads": 0,
"stars": 0,
"created_at": "2026-06-10T00:00:00Z",
"updated_at": "2026-06-10T00:00:00Z"
}
}
Additional Context
Spec Driven Development can induce a very high cognitive load, requiring people to deal with multiple specification documents for each feature. Because humans still need to read, understand, and refine specifications before letting agents implement the code, we need to make sure specs are easy for the people in the loop to read. This extension helps with that.
Extension ID
data-model-diagram
Extension Name
Data Model Diagram
Version
0.2.2
Description
Generates Mermaid ER diagrams from Spec Kit data models after planning.
Author
Igor Benicio de Mesquita
Repository URL
https://github.com/benizzio/spec-kit-data-model-diagram
Download URL
https://github.com/benizzio/spec-kit-data-model-diagram/archive/refs/tags/v0.2.2.zip
License
MIT
Homepage (optional)
https://github.com/benizzio/spec-kit-data-model-diagram
Documentation URL (optional)
https://github.com/benizzio/spec-kit-data-model-diagram#readme
Changelog URL (optional)
https://github.com/benizzio/spec-kit-data-model-diagram/blob/main/CHANGELOG.md
Required Spec Kit Version
Required Tools (optional)
Number of Commands
1
Number of Hooks (optional)
1
Tags
diagram, documentation, mermaid
Key Features
speckit.data-model-diagram.generatecommanddata-model.mddata-model-diagram.mmdnext to the source data modelerDiagramoutputafter_planhook to generate the diagram after planningTesting Checklist
Submission Requirements
extension.ymlmanifest includedTesting Details
Tested on:
main0.2.2Test project:
benizzio/ghostfolio-cryptogains, a Go-based Spec Kit project with multiple feature specifications underspecs/.Test scenarios:
ghostfolio-cryptogains.data-model.mdfiles.data-model-diagram.mmdfiles were created for multiple feature specs:specs/001-ghostfolio-gains-reporting/data-model-diagram.mmdspecs/003-store-activity-data/data-model-diagram.mmdspecs/005-generate-gains-report/data-model-diagram.mmderDiagramsource and preserves declared field types, arrays, nullability, and relationships.Example Usage
Proposed Catalog Entry
Additional Context
Spec Driven Development can induce a very high cognitive load, requiring people to deal with multiple specification documents for each feature. Because humans still need to read, understand, and refine specifications before letting agents implement the code, we need to make sure specs are easy for the people in the loop to read. This extension helps with that.