name: database-schema-designer-builder slug: database-schema-designer-builder version: 1.0.2 displayName: "数据库表结构设计优化生成|简诗 AI" summary: "设计优化的可扩展数据库模式,包含正确的表关系、索引和约束,输出含 ASCII ERD 和迁移脚本的完整方案。" description: "设计优化的可扩展数据库模式,包含正确的表关系、索引和约束,输出含 ASCII ERD 和迁移脚本的完整方案。" tags: ["设计创意", "内容创作"]
小葱技能站7w4.net发现了升级插件。
本 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.
Verify the result against the output quality checklist in references/best-practices.md.
Generate production-ready, optimized database schemas that scale.
这个 Skill 质量不错,文档结构清晰、模板齐全,能较好地指导数据库设计工作。它覆盖了 SQL 和 NoSQL 两种数据库类型,提供了完整的设计流程和丰富的模板参考。不足之处是示例内容偏少、深度有限,对于复杂场景的指导可能不够深入。总体来说,作为基础工具够用,但想用它处理更专业的需求可能还需要补充资料。