db-designer

Designs database schemas, ER diagrams, SQL DDL and migration scripts with indexing recommendations.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/zhu637882-stack/jiaoyi --skill db-designer-zhu637882-stack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-designer
Source: https://github.com/zhu637882-stack/jiaoyi/tree/main/qoder-config-backup/skills/db-designer
Command: npx skills add https://github.com/zhu637882-stack/jiaoyi --skill db-designer-zhu637882-stack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

数据库架构师角色负责设计高效、可扩展的数据库表结构、ER关系图以及SQL迁移文件,输出完整的数据库设计方案、表结构SQL和索引优化建议。

Core Features & Use Cases

  • 数据库表结构设计与规范化
  • 生成 ER 关系图并输出可执行的迁移计划
  • 提供 SQL 迁移脚本与索引优化建议
  • 兼容未来扩展的字段和约束

Quick Start

为我的项目设计一个药品比价平台的数据库方案,并输出表结构和迁移脚本。

Frequently Asked Questions about db-designer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a scalable database schema for a new application?

To design a scalable database schema, create normalized table structures, define ER relationships, and generate executable SQL migration scripts with indexing recommendations to support future data growth.

What is the best way to generate SQL migration files and ER diagrams?

Generating SQL migration files and ER diagrams involves mapping out data models, defining constraints, and producing executable DDL scripts alongside visual relationship outputs for structured database architecture.

How do I optimize database indexing for high scalability?

Optimize database indexing by analyzing query patterns and schema structures to produce targeted index recommendations, ensuring efficient data retrieval and supporting scalable application performance.

Can I get a complete database design proposal including DDL and constraints?

Yes, a complete database design proposal includes SQL DDL statements, normalized table structures, relationship constraints, and indexing recommendations to ensure robust and extensible data models.

When do I need to refactor my data modeling for schema evolution?

You need to refactor data modeling for schema evolution when your application requires new features, ensuring fields and constraints remain compatible with future extensions and scalable data growth.

Does schema design work for complex relational data structures?

Schema design works for complex relational data by producing structured ER diagrams, defining robust constraints, and generating SQL migration artifacts to manage normalized data models effectively.