data-model-creation

Generate Mermaid class diagrams from data modeling requirements.

72|5|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/TencentCloudBase/skills --skill data-model-creation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-model-creation
Source: https://github.com/TencentCloudBase/skills/tree/main/skills/data-model-creation
Command: npx skills add https://github.com/TencentCloudBase/skills --skill data-model-creation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides an advanced Mermaid-based modeling workflow to help teams design and document complex data schemas, going beyond simple SQL-based approaches.

Core Features & Use Cases

  • Mermaid classDiagram generation from user requirements for multi-entity schemas.
  • Automatic type mapping, naming conventions (PascalCase for classes, camelCase for fields), and display_field support.
  • Support for required(), unique(), and documentation notes to support enterprise governance.

Quick Start

Describe your data model to the agent to generate a Mermaid diagram, for example model a Customer and Order system with fields such as CustomerName, OrderDate, and TotalAmount.

Frequently Asked Questions about data-model-creation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Mermaid ER diagram from data modeling requirements?

To generate a Mermaid ER diagram, describe your data modeling requirements to the agent. It creates Mermaid class diagrams from your input, supporting multi-entity schemas with automated type mapping and naming conventions.

Can I model complex multi-entity schemas using Mermaid class diagrams?

Yes, you can model complex multi-entity schemas using Mermaid class diagrams. This skill handles enterprise-level schemas by enforcing naming conventions, display fields, and constraint handling to produce ready-to-use diagram snippets.

How do I add database design constraints like unique and required fields in Mermaid?

You can add database design constraints in Mermaid by specifying required and unique rules in your requirements. The skill supports constraint handling for enterprise governance, mapping these directly into the generated class diagram.

Does this data modeling tool enforce naming conventions like PascalCase and camelCase?

Yes, this data modeling tool enforces naming conventions automatically. It applies PascalCase for classes and camelCase for fields during the Mermaid class diagram generation to ensure consistent enterprise-level documentation.

What is the best way to document complex database schemas visually without SQL?

The best way to document complex database schemas without SQL is using a Mermaid-based modeling workflow. This approach translates your data modeling requirements into visual class diagrams with metadata instructions for enterprise governance.

What limitations exist when using Mermaid for enterprise data modeling?

A limitation of using Mermaid for enterprise data modeling is that it focuses on visual documentation rather than generating executable SQL. It returns a mermaidDiagram snippet and metadata instructions, so you must implement the actual database structure separately.