
Database Schema Documentation
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.
- skills.sh installs
- 576
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill database-schema-documentation --agent claude-codeInstalls into .claude/skills of the current project.
Files
Database Schema Documentation
Table of Contents
Overview
Create comprehensive database schema documentation including entity relationship diagrams (ERD), table definitions, indexes, constraints, and data dictionaries.
When to Use
- Database schema documentation
- ERD (Entity Relationship Diagrams)
- Data dictionary creation
- Table relationship documentation
- Index and constraint documentation
- Migration documentation
- Database design specs
Quick Start
Minimal working example:
# Database Schema Documentation
**Database:** PostgreSQL 14.x
**Version:** 2.0
**Last Updated:** 2025-01-15
**Schema Version:** 20250115120000
## Overview
This database supports an e-commerce application with user management, product catalog, orders, and payment processing.
## Entity Relationship Diagram
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Backend & APIs, Documentation, AI & Agent Building, Databases
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- App Store Deployment569
- Mobile App Debugging568
- Security Audit Logging568
- Bundle Size Optimization567
- Process Mapping563
- Oauth Implementation558
- Integration Testing557
- Memory Optimization552
- Semantic Versioning552
- Caching Strategy551
- Real Time Features548
- Web Performance Audit548
- Browser Debugging545
- Mobile Offline Support545
- Design System Creation543
- Gcp Cloud Run541
- Code Generation Template537
- Sql Injection Prevention533
- Grpc Service Development532
- Gap Analysis531
- Network Debugging531
- Payment Gateway Integration529
- Progressive Web App529
- Kpi Dashboard Design528