wesammustafa

Mermaid — Data skill for Claude Code

Data community

create a mermaid diagrams that represent all the sql together with their entity relationship.

How to install Mermaid

Installs to ~/.claude/commands/wesammustafa-event-x-mermaid.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/wesammustafa/Event-X/HEAD/.claude/commands/mermaid.md -o ~/.claude/commands/wesammustafa-event-x-mermaid.md

Restart Claude Code, or start a new session, for it to be picked up.

What Mermaid does

create a mermaid diagrams that represent all the sql together with their entity relationship. ie an entity relationship diagrams. include the properties of each table in the diagram. 2 sql files are located in lana/app/migrations/ create a mermaid diagram for each sql files. one lana.md in docs/lana.md, and the other docs/cala.md make sure the mermaid compile by running `npx -p @mermaid-js/mermaid-cli mmdc -i docs/{lana|cala}.md -o test.md` when complete, verify that every entity in any .sql mi

Alternatives in Data

  • Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
  • Archify — Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self 17.2k ★
  • SQL Queries — Generate SQL queries from natural language across major dialects 7.8k ★

Full documentation available on GitHub

View Source Repository