Agent skill data dict

From diegopacheco/ai-playground · View interactive version

Agent skill data dict is an AI agent skill from the GitHub repository diegopacheco/ai-playground. Reads a codebase and discovers its database schema wherever it is defined — Liquibase changelogs, raw SQL run through JDBC, and Hibernate/JPA entities — merges them into one model, and renders a self-contained light-theme website with three tabs (a per-table data dictionary, a hand-drawn ER diagram,

How to use this skill

Skill file

Data Dictionary

When invoked, you read a project's source, discover every database table it defines — regardless of whether the schema lives in Liquibase changelogs, raw SQL/JDBC, or Hibernate/JPA entities — merge them into one model, and render a light-theme website that documents the whole schema.

Global Context

Rules

Step 1 — Pick the scan path

Decide what to scan from $ARGUMENTS:

The report is always written to data-dict-report/ in the current working directory, whatever the scan path.

Step 2 — Run the discovery engine

Invoke the engine by its installed absolute path so it finds its own template:

python3 "$HOME/.claude/skills/data-dict/scripts/datadict.py" $ARGUMENTS

What it does:

Notes:

Step 3 — Open the report

open data-dict-report/index.html

On Linux use xdg-open data-dict-report/index.html.

Step 4 — Summarize for the user

Relay the key signals from the engine's stdout:

Keep it short. The website carries the detail.

How the website reads

The site is light-theme and self-contained apart from two resources loaded on demand: the SQL engine (for the query tab) and the handwriting font (for the diagram). Both degrade gracefully offline; the rest of the report works with no network.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.