Database Documentation Gen Skill for PostgreSQL Data Dictionaries
Turn PostgreSQL metadata into a Markdown data dictionary with column definitions, foreign-key relationships, and index or constraint notes.
中文Install in Claude Code
Use your own local PostgreSQL database or a trusted schema-only file. Use existing read-only access when querying a live catalog.
- Get the complete `plugins/database/database-documentation-gen/skills/database-documentation-gen` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/database-documentation-gen/SKILL.md`, start Claude Code at the project root, and call `/database-documentation-gen`.
Example task
Create publishers and titles locally. Reference publishers.id from titles.publisher_id and add a unique constraint to titles.isbn. Generate data-dictionary.md and compare it with the DDL.What to check
The dictionary lists both tables, the exact foreign-key direction, and the ISBN uniqueness constraint.
Original SKILL.md on GitHub · Updated
Frequently asked question
Should I infer business rules from column names without comments?
Preserve verifiable facts such as types and constraints, and flag unresolved business definitions for review.