generate-db-design

Community

Generate Mermaid ERD docs from your DB model.

Authormor-duongmh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill automates the creation and maintenance of database design documentation by rendering Mermaid ERD diagrams from a ProjectModel and applying delta updates to existing docs, keeping design artifacts in sync with the codebase.

Core Features & Use Cases

  • Init mode renders database-design.md from a ProjectModel JSON.
  • Update mode applies a Delta to the existing docs, filtering to DB scope.
  • Sync workflow proposes changes by scanning ORM models, then apply-sync to commit selected updates.
  • Generates a Mermaid ERD block and anchors for per-table documentation.

Quick Start

Run render_db_design.py with a ProjectModel JSON to generate the database-design.md file.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-db-design
Download link: https://github.com/mor-duongmh/morkit-plugin/archive/main.zip#generate-db-design

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.