schema-visualizer

Generate ERDs and Mermaid diagrams from ORM models, migrations, or SQL dumps.

27|4|Updated Oct 20, 2025
One-click install
npx skills add https://github.com/CuriousLearner/devkit --skill schema-visualizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: schema-visualizer
Source: https://github.com/CuriousLearner/devkit/tree/main/skills/schema-visualizer
Command: npx skills add https://github.com/CuriousLearner/devkit --skill schema-visualizer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of database schema diagrams, ERDs, and documentation, making complex database structures easy to understand and manage.

Core Features & Use Cases

  • Generate Visualizations: Create ERDs and Mermaid diagrams from various schema sources.
  • Extract Schema: Parse ORM models (Prisma, TypeORM, SQLAlchemy), migration files, or SQL dumps.
  • Analyze Schema: Detect relationships, identify missing indexes, and suggest normalization improvements.
  • Use Case: You need to quickly understand the database structure of a new project. Use this Skill to generate an ERD from the Prisma schema file.

Quick Start

Use the schema-visualizer skill to generate an ERD from the schema.prisma file.

Frequently Asked Questions about schema-visualizer

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

FAQPage Schema
How do I generate an ERD from an existing SQL dump?

You can generate an ERD from a SQL dump by parsing the schema to extract tables, relationships, and indexes, then rendering the structure into a visual diagram format like Mermaid or PlantUML.

Can I visualize a database schema directly from Prisma or TypeORM models?

Yes, you can visualize a database schema directly from ORM models like Prisma, TypeORM, and SQLAlchemy by extracting the schema definitions and converting them into visual ERDs.

What is the best way to document complex database structures for a new project?

The best way to document complex database structures is to automate schema extraction to generate ERDs and documentation, analyzing relationships and indexes to clarify the architecture.

Does this approach support exporting diagrams to Mermaid and dbdiagram.io formats?

Yes, this approach supports exporting database schema diagrams to multiple formats including Mermaid, PlantUML, and dbdiagram.io for seamless integration into various documentation workflows.

How do I detect missing indexes and normalization issues in my database schema?

You can detect missing indexes and normalization issues by analyzing the extracted database schema, which identifies structural relationships and suggests improvements for optimization.

Can I parse migration files instead of raw SQL to understand database relationships?

Yes, you can parse migration files instead of raw SQL to extract database schemas, allowing you to accurately map out table relationships and generate visual ERDs from historical changes.