Sql2er

Generates Chen-model ER diagrams from SQL CREATE TABLE statements or DBML.

Test report

Verdict
In test queue
Tested
Environment
Pending

In the test queue — machine-screened (validator 85/100, 177★ repo), full install/trigger/output test scheduled.

What Sql2er does

Use when the user wants a Chen-model ER diagram from SQL CREATE TABLE statements or DBML, wants to rearrange or clean up an existing sql2er state, wants a skeleton-only overview with attributes hidden at generate time, or needs drawio/svg/png/json/html exports with final visual review.

How to install Sql2er

git clone https://github.com/ystemsrx/sql_to_ER
cp -r sql_to_ER/skills/sql2er ~/.claude/skills/sql2er

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Sql2er

  • /sql2er Generates Chen-model ER diagrams from SQL CREATE TABLE statements or DBML.

It also activates on plain-language prompts like these:

  • Generate an ER diagram from these CREATE TABLE statements
  • Export this schema diagram as SVG and PNG
  • Clean up the layout of my existing ER diagram

Frequently asked questions

Is the Sql2er skill free?
Yes. The skill itself is free from ystemsrx/sql_to_ER. SkillProof publishes the install command and an independent test verdict at no cost.
Does Sql2er work with Claude Code?
It is in our test queue — we run every skill on real work before issuing a verdict, and this one is scheduled.
How do I install Sql2er?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Sql2er with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.