Skip to main content
Run any Skill in Manus
with one click

generate-data-model

Stars4
Forks5
UpdatedMay 25, 2026 at 22:36

Use when the user wants to design the data model AND generate the actual forward + rollback migrations in one pass. Triggers on "data model for {slug}", "schema for {feature}", "generate migrations for {slug}", "DB design + migration", "stage 8+9 for {slug}", "/sdlc-generate-data-model {slug}". Default mode is greenfield-first: reads PRD §4 + SAD §6.4 ER + sequence diagrams + (optional) Go domain structs and produces docs/features/{slug}/data-model.md + migrations/*.up.sql + migrations/*.down.sql + a markdown report. Supersedes legacy design-db + plan-migration skills. Prerequisites: docs/features/{slug}/PRD.md (stage 03) + docs/features/{slug}/sad.md (stage 04) — hard refuse if missing.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
3 files
SKILL.md
readonly