This generates comprehensive database schema documentation with ERD diagrams, table definitions, and data dictionaries. You'd reach for it when onboarding developers to an existing schema, documenting a new database design, or creating reference material for table relationships and constraints. It covers the essentials like foreign keys, indexes, JSONB field structures, and enum types, with Mermaid diagram integration for visual ERDs. The structure separates overview docs from detailed table references, which works well for schemas with more than a handful of tables. One thing: it assumes you want PostgreSQL-style documentation, though the pattern adapts to other databases easily enough.
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill database-schema-documentation