{"id":110296,"plugin_id":"plugin_asdk_app_6aefdbf677888191b649183ec8f8f1cd","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-22T12:20:00.550Z","digest":"ebae3075701bf314f0980ed154558408fec642440b42c001cbf5f14ae24ffa8f","against":null,"payload":{"description":"Draw an ER (entity relationship) diagram from SQL CREATE TABLE statements with make_er_diagram (PDF, SVG, CSV of columns, JSON summary, interactive diagram), and check a schema for broken foreign keys, type differences, tables without a primary key and duplicate names with check_schema.","included_files":[{"relative_path":"agents/openai.yaml","size_in_bytes":472}],"name":"er-diagram","skill_md_contents":"---\nname: er-diagram\ndescription: Draw an ER (entity relationship) diagram from SQL CREATE TABLE statements with make_er_diagram (PDF, SVG, CSV of columns, JSON summary, interactive diagram), and check a schema for broken foreign keys, type differences, tables without a primary key and duplicate names with check_schema.\n---\n\n# Zovo ER Diagram\n\nUse `make_er_diagram` when the user wants an ER diagram, entity relationship diagram or database schema diagram from SQL DDL.\n\n1. Put the SQL text in `ddl` exactly as the user gave it. Do not rewrite or invent tables. If the user only describes tables in words, write CREATE TABLE statements first, show them, and say they are your draft.\n2. `dialect`: postgres, mysql or sqlite when the user says which database; else leave it out (auto reads \"x\", `x` and [x] quotes).\n3. `page_size`: letter (default), a4 or tabloid. `title`: optional, up to 80 characters.\n4. After the tool returns, give the counts, the relationships with their marks, the schema problems, the skipped statements and the PDF, SVG, CSV and JSON links. Repeat notes word for word.\n5. If the tool refuses a line, tell the user the line number and the reason. Do not drop the statement silently; ask the user how to fix it, or remove only that part with their agreement.\n\nUse `check_schema` with the same `ddl` and `dialect` when the user wants the schema reviewed without a drawing: foreign keys to missing tables or columns, referenced columns that are not a key, type differences, tables without a primary key, duplicate names and skipped statements. It makes no files.\n\nThe tools read CREATE TABLE only. ALTER TABLE, CREATE INDEX, views, triggers and INSERT are listed as skipped, never drawn. They do not connect to a database. Do not use this skill for flowcharts, class diagrams, or running SQL queries.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}