‹ 首页

database-documentation

@a-tokyo · 收录于 3 周前

Generate grounded-and-verified, engine-agnostic database documentation that reaches 100% parity with the real schema. Introspects the LIVE database as ground truth and cross-validates it against ORM models, migrations, generated types, seeds, and application queries, then proves completeness by diffing the docs back against the database. Produces ER diagrams (mermaid), per-table data dictionaries, and a machine-readable schema.json. Works with PostgreSQL, MySQL, SQL Server, and SQLite across any ORM (Prisma, TypeORM, Drizzle, Sequelize, Knex, Django, Rails) or raw SQL. Use when asked to document a database, produce an ERD or data dictionary, write db/schema docs, audit schema drift, or refresh existing DB docs.

适合你,如果需要为任意数据库自动生成完整、可验证的文档。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add a-tokyo/agent-skills/database-documentation
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- a-tokyo/agent-skills/database-documentation
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify a-tokyo/agent-skills/database-documentation
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
14GitHub stars
~2.9K最小装载
~8.9K含声明引用
~8.9K文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 697bfe9 · 表述以原文为准
它做什么

安装后,Claude 会连接你的实时数据库,自动提取表、列、索引、外键等所有结构信息,生成完整的数据库文档,包括 ER 图、数据字典和 schema.json,并反复比对确保文档与真实数据库完全一致。

什么时候触发

当你要求“给数据库生成文档”、“画 ER 图”、“写数据字典”、“检查 schema 差异”或“更新现有数据库文档”时触发。

装好后可以这样说
Claude 会连接数据库并输出完整的文档目录。
Claude 会比对实时数据库与 ORM 模型,列出差异。
Claude 会重新提取并刷新现有文档。

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。