html-erd-explorer

Generate interactive HTML ERD diagrams with clickable table cards and foreign key lines.

Updated May 5, 2026
One-click install
npx skills add https://github.com/ethan-rio/skills --skill html-erd-explorer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: html-erd-explorer
Source: https://github.com/ethan-rio/skills/tree/main/skills/html/html-erd-explorer
Command: npx skills add https://github.com/ethan-rio/skills --skill html-erd-explorer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Traditional markdown ERDs are awkward to read and edit, while dedicated diagramming tools are heavy and hard to share. Explaining database structure to team members, planning migrations, or documenting data models often takes hours of manual work creating and updating static diagrams.

Core Features & Use Cases

  • Interactive HTML ERDs: Generates self-contained, portable HTML files with clickable table cards displaying column names, types, key markers (PK/FK), and constraints, plus foreign key relationship lines with crow's-foot cardinality markers.
  • Flexible Layout Patterns: Supports full schema overviews, focused subschema deep-dives, migration before/after diff views, query path explainers, and data lineage diagrams for any database structure use case.
  • Production-Grade Output: Produces mobile-responsive, WCAG AA-compliant, print-ready artifacts that work entirely offline, with no external runtime or build step required.
  • Real-World Use Case: A data engineer can use this skill to document a new e-commerce orders schema with users, orders, order_items, and products tables, grouped by domain with clickable relationships to accelerate new team member onboarding.

Quick Start

Use the html-erd-explorer skill to generate an interactive HTML ERD for the project's orders, users, and payments database schema, grouped by domain with clickable table cards and foreign key relationship lines.

Frequently Asked Questions about html-erd-explorer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate an interactive HTML ERD from a database schema?

To generate an interactive HTML ERD, provide your database schema details to produce a self-contained HTML file with clickable table cards, semantic SVG diagrams, and foreign key lines with crow's-foot cardinality markers.

What is the best way to visualize schema migration before and after differences?

Visualizing schema migration differences is achieved by generating a focused HTML ERD diff view, allowing you to clearly map structural changes and data lineage before and after database updates without heavy dedicated tools.

Can I use this to document a database schema with three or more tables?

Yes, you can document database schemas with three or more tables. It generates mobile-responsive, print-ready HTML files that group tables by domain and map foreign key relationships for team onboarding.

Does the generated HTML ERD require an internet connection or external runtime to view?

The generated HTML ERD does not require an internet connection or external runtime. It produces self-contained, offline HTML files with semantic SVG diagrams that are WCAG AA-compliant and print-ready.

Why are traditional markdown ERDs awkward for documenting database structures?

Traditional markdown ERDs are awkward to read and edit when documenting database structures. Generating self-contained interactive HTML files provides clickable table cards and accessible cardinality-marked relationship lines instead.

How do I explain a complex query path using a database schema visualization?

To explain a query path, generate a focused HTML ERD expainer. It maps the relevant tables and foreign key relationship lines, making the data lineage and query path clear for team members to interact with.