name: database-schema-designer-builder slug: database-schema-designer-builder version: 1.0.2 displayName: "資料庫表結構設計最佳化生成|簡詩 AI" summary: "設計最佳化的可擴充套件資料庫模式,包含正確的表關係、索引和約束,輸出含 ASCII ERD 和遷移指令碼的完整方案。" description: "設計最佳化的可擴充套件資料庫模式,包含正確的表關係、索引和約束,輸出含 ASCII ERD 和遷移指令碼的完整方案。" tags: ["設計創意", "內容創作"]
本 Skill 只用於“資料庫表結構設計最佳化生成”場景,圍繞使用者當前提供或明確授權處理的材料完成任務。功能目標:設計最佳化的可擴充套件資料庫模式,包含正確的表關係、索引和約束,輸出含 ASCII ERD 和遷移指令碼的完整方案。
Design optimized, scalable database schemas with proper relationships and indexes.
references/schema-templates.md — SQL/NoSQL schema templates, ASCII ERD, and migration script templates.references/output-format.md — labeled section structure for the final deliverable.references/best-practices.md — naming, data types, indexes, relationships, SQL/NoSQL design rules, and the output quality checklist.Gather requirements. Determine the database engine (PostgreSQL, MySQL, MongoDB, etc.), application domain, main entities, most common queries, expected data volume and growth, performance requirements, and any compliance constraints.
Design the schema. Apply the engine-appropriate rules in references/best-practices.md (SQL Database Design or NoSQL Database Design).
Generate the complete schema. Produce CREATE TABLE statements or collection documents using the templates in references/schema-templates.md.
Create the entity relationship diagram in text format following the ERD template in references/schema-templates.md.
Provide migration scripts with both up and down (rollback) paths, per the migration template in references/schema-templates.md.
Format the complete output using the labeled sections in references/output-format.md.
本技能來自小蔥技能站7w4.net。
Verify the result against the output quality checklist in references/best-practices.md.
Generate production-ready, optimized database schemas that scale.
這個 Skill 質量不錯,文件結構清晰、模板齊全,能較好地指導資料庫設計工作。它覆蓋了 SQL 和 NoSQL 兩種資料庫型別,提供了完整的設計流程和豐富的模板參考。不足之處是示例內容偏少、深度有限,對於複雜場景的指導可能不夠深入。總體來說,作為基礎工具夠用,但想用它處理更專業的需求可能還需要補充資料。