← Back to Skills
📚

Schema Documentation Generator

Read database schema, generate structured documentation, and save it to Google Drive

Data 5 steps 4 tools 4 servers

Example Prompt

Generate documentation for our Postgres database schema and save it to Google Drive

About

This skill connects to your database, introspects the full schema including tables, columns, types, and relationships, then produces clear and structured documentation. The finished document is uploaded to Google Drive so the team always has an up-to-date reference for the data model.

Workflow Steps

1

Query the database information schema to retrieve all tables, columns, types, and constraints

📊 Run SQL Query
2

Query foreign key relationships and indexes to map table dependencies

📊 Run SQL Query
3

Reason through the schema to organize tables into logical groups and write clear descriptions

🧠 Structured Reasoning
4

Write the generated documentation to a local file

✏️ Write File
5

Search Google Drive for the existing schema doc to determine where to upload the update

📂 Search Drive

Tags

databaseschemadocumentationautomation