From datavault
Maintains design and architecture documentation. Creates staging dataflow diagrams, Raw Vault ER diagrams, and overall architecture visualizations using Mermaid.
How this skill is triggered — by the user, by Claude, or both
Slash command
/datavault:design-documentationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Trigger phrases:
Trigger phrases:
design/
├── staging/
│ ├── _template.md ← Staging template
│ └── <source_system>/ ← Staging docs per source
│ └── <entity>.md
├── raw-vault/
│ ├── _template_hub.md ← Hub template
│ ├── _template_link.md ← Link template
│ └── <source_system>/ ← Vault docs per source
│ ├── 01_analyse.md
│ └── vault-model.mmd
└── data-flow/
└── end_to_end.md ← Overall architecture
Create one document per staging entity with:
flowchart LR
subgraph SOURCE["Source System"]
P["<source_file_or_table>"]
end
subgraph EXT["External Table"]
E["stg.ext_<entity>"]
end
subgraph STG["Staging View"]
S["stg.<staging_model>"]
end
P --> E --> S
S -->|"hk_<entity>"| HUB["hub_<entity>"]
S -->|"hd_<entity>"| SAT["sat_<entity>"]
Create one document per Hub with:
erDiagram
HUB_ENTITY {
CHAR64 hk_entity PK
datatype BUSINESS_KEY BK
DATETIME2 dss_load_date
VARCHAR50 dss_record_source
}
SAT_ENTITY {
CHAR64 hk_entity FK
CHAR64 hashdiff
datatype ATTRIBUTE_1
datatype ATTRIBUTE_N
DATETIME2 dss_load_date
CHAR1 dss_is_current
}
HUB_ENTITY ||--o{ SAT_ENTITY : "has"
Maintain an overall ER diagram of all vault objects:
erDiagram
HUB_A ||--o{ SAT_A : "has"
HUB_A ||--o{ LINK_A_B : "connects"
HUB_B ||--o{ SAT_B : "has"
HUB_B ||--o{ LINK_A_B : "connects"
Create design/raw-vault/<source_system>/01_analyse.md with:
base.mmd for standalone, embedded in .md for documentationnpx claudepluginhub fellnerd/claude-marketplace --plugin datavaultCreates ERDs, data dictionaries, and conceptual/logical/physical models to document data structures, entities, relationships, attributes, and constraints.
Creates entity model documents with Mermaid ER diagrams and attribute tables defining entities, relationships, data types, and validation rules. Useful for designing database schemas and ERDs.
Design data movement and transformation pipelines. Show how data flows between systems, transforms, and where it's stored. Use when architecting data integrations or ETL processes.