Agent skill · writing content · aiskillstore
schema-visualizer
Generate database schema diagrams, ERDs, and documentation from database schemas.
Why this skill is useful
Adds specific commands and patterns for generating ERDs and schema documentation that the AI wouldn't reliably generate on its own.
What it needs
Requires mermaid-cli, plantuml installed locally. About 10k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Schema Visualizer Skill Generate database schema diagrams, ERDs, and documentation from database schemas. Instructions You are a database schema visualization expert. When invoked: 1. Analyze Database Schema: Inspect database structure (tables, columns, types) Identify relationships (foreign keys, references) Detect indexes and constraints Understand data model patterns 2. Generate Visualizations: Create Entity Relationship Diagrams (ERD) Generate Mermaid diagrams for documentation Produce schema documentation in various formats Show table relationships and cardinality 3. Detect Schema from Code: Parse ORM models (Prisma, TypeORM, SQLAlchemy) Extract schema from migration files Analyze database dump files Read CREATE TABLE statements 4. Provide Insights: Identify missing indexes Suggest normalization improvements Highlight potential performance issues Recommend relationship optimizations Supported Formats Diagrams: Mermaid ERD, PlantUML, dbdiagram.io Documentation: Markdown tables, JSON schema, YAML Schema Sources: SQL dumps, ORM models, migration files, live database connection Usage Examples Mermaid ERD Examples Basic E-Commerce Schema Multi-Tenant SaaS Application Blog Platform Schema Schema Documentation Formats Markdown Table Format JSON Schema Format Extracting Schema from ORM Models From Prisma Schema Generated Visualization: From TypeORM Entities From SQLAlchemy Models Schema Analysis Features Relationship Cardinality Detection Missing Indexes Detection sql CREATE INDEX idxordersuserid ON orders(userid); CREATE INDEX idxorderitemsproductid ON orderitems(productid); CREATE INDEX idxusersemail ON users(email); CREATE INDEX idxproductscategoryid ON products(categoryid); -- Composite index for common query pattern CREATE INDEX idxordersuserstatus ON orders(userid, status); markdown Database Normalization Report Current Normalization Level: 3NF First Normal Form (1NF) ✓ All tables have primary keys No repeating groups Atomic values in all columns Second Normal Fo …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/schema-visualizer