Database Schema Designer
技能 已验证 活跃Use when the user asks to create ERD diagrams, normalize database schemas, design table relationships, or plan schema migrations.
Design robust and efficient database schemas, automate migration processes, and generate necessary code artifacts from requirements.
功能
- Database schema design from requirements
- Automated migration script generation (Drizzle, Prisma, TypeORM, Alembic)
- TypeScript and Python type generation
- Row-Level Security (RLS) policy design
- Index strategy optimization
- Seed data generation
- ERD diagram generation (Mermaid)
使用场景
- Designing a new feature that requires database tables
- Reviewing and normalizing existing database schemas
- Implementing multi-tenancy or audit trails
- Generating code types from schema definitions
- Planning and executing database schema migrations
非目标
- Directly executing SQL migrations on a live database
- Acting as a full-fledged database administration tool
- Designing NoSQL or graph database schemas
安装
请先添加 Marketplace
/plugin marketplace add alirezarezvani/claude-skills/plugin install engineering@claude-code-skills质量评分
已验证类似扩展
Dsql
100Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.
DBHub Database Query Guide
100DBHub MCP 服务器查询数据库指南。每当您需要通过 DBHub 的 MCP 工具(search_objects、execute_sql)来探索数据库模式、检查表或运行 SQL 查询时,请使用此技能。在任何数据库查询任务、模式探索、数据检索或通过 MCP 执行 SQL 时激活,即使用户只说“检查数据库”或“为我查找一些数据”。此技能可确保您遵循正确的先探索后查询的工作流程,而不是猜测表结构。
Migrate Create
99Create a new sequentially numbered database migration with up/down SQL files
Migrate Validate
100Validate pending migrations for foreign key consistency, rollback safety, and best practices
Azure Postgres Ts
100Connect to Azure Database for PostgreSQL Flexible Server from Node.js/TypeScript using the pg (node-postgres) package. Use for PostgreSQL queries, connection pooling, transactions, and Microsoft Entra ID (passwordless) authentication. Triggers: "PostgreSQL", "postgres", "pg client", "node-postgres", "Azure PostgreSQL connection", "PostgreSQL TypeScript", "pg Pool", "passwordless postgres".
Sql Optimization
100Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.