Skip to content
Built here

Entity relationship diagram

/database--erd

/database--erd is a Claude Code skill in the Data section. Generates a Mermaid ER diagram from your database schema or ORM models, with columns, keys and relationship cardinality.

Author's description

Generate Entity Relationship Diagram from database schema or ORM models

How to ask for it

  • /database--erd generate the ERD for my Postgres database
  • /database--erd entity-relationship diagram from my Prisma models
  • /database--erd create an ERD to explain the schema to the team

Install

curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash

After installing with the script, type /database--erd. Using Cursor, Windsurf or Codex? Platform guides

Demo coming soon

↑↓ move · Enter open · Esc close