From feature-workflow
Generates database table designs and SQL files (CREATE TABLE, INDEX, sample data, rollback) in .spec/{slug}/ from spec.md or README.md using Agent tool. Updates README status to DB 設計; for Feature tasks.
npx claudepluginhub mark22013333/crew --plugin feature-workflowThis skill uses the workspace's default tool permissions.
讀取技術規格,啟動 Agent 產出資料庫表結構設計與 SQL 檔案。
Designs production-ready database schemas with tables, fields, indexes, ER diagrams, Markdown docs, SQL scripts, and DrawDB/DBML files for MySQL, PostgreSQL, SQL Server.
Designs complete database schemas with tables, fields, indexes, ER diagrams for MySQL, PostgreSQL, SQL Server. Generates Markdown docs, SQL scripts, DrawDB JSON/DBML files.
Designs database schemas, data models, ERDs, and migration strategies as Markdown documents with entity tables, indexes, relationships, and performance notes. For data model changes; outputs designs only, no code.
Share bugs, ideas, or general feedback.
讀取技術規格,啟動 Agent 產出資料庫表結構設計與 SQL 檔案。
前置檢查:參照 bug-workflow plugin 的
references/prerequisites.md檢查 CLAUDE.md 是否存在。
spec.md(建議但非必要,若不存在則從 README.md 需求描述直接設計)參照 references/plan-common.md。
使用 Agent tool 啟動 subagent(model: opus),prompt 指示如下:
輸入來源:
.spec/{slug}/spec.md 讀取/plan-spec,但允許從 README.md 需求描述直接設計輸出目標:
.spec/{slug}/db.md.spec/{slug}/db.sql(含 CREATE TABLE / INDEX / 範例資料 / Rollback SQL)完成後更新 README.md 的 status: DB 設計。
參照 references/plan-common.md。
DB 設計完成!
📁 產出檔案:.spec/{slug}/db.md, .spec/{slug}/db.sql
📊 狀態:DB 設計
後續可使用:
• /plan-arch — 架構設計
• /plan-build — Agent Teams 產生程式碼