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

gen-migration

Stars3
Forks0
UpdatedJuly 3, 2026 at 07:13

Scaffold a new database-backed entity in conventional Phoenix (schema-as-struct). Generates an Ecto migration and ONE entity module (Ecto schema + struct + functional core) at the context root, a test, and wires CRUD into the context facade. Invoke with: /gen-migration <context> <entity> [field:type ...] [--references table:field] Example: /gen-migration messaging reaction message_id:binary_id emoji:string --references messages:message_id

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.

SKILL.md
readonly