moai-domain-db-docs

Official

Sync DB docs with drift-free schema & migrations.

Authormodu-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Keeps DB documentation in sync with migrations across Prisma, Alembic, Rails, and raw SQL by updating schema.md, erd.mmd, and migrations.md to reflect current database state.

Core Features & Use Cases

  • Parses migration files and builds a normalized representation.
  • Updates .moai/project/db/schema.md with table registry, counts, and last_migration_file.
  • Regenerates erd.mmd to reflect current tables and relationships.
  • Appends applied migrations to .moai/project/db/migrations.md with metadata.
  • Works with /moai db refresh and /moai db verify workflows and post-tool use upgrades.

Quick Start

Run /moai db refresh to rebuild schema.md, erd.mmd, and migrations.md from the latest migration files.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: moai-domain-db-docs
Download link: https://github.com/modu-ai/moai-studio/archive/main.zip#moai-domain-db-docs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.