database-design

Design and optimize SQL and NoSQL database schemas with indexing and query tuning.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/huhuimike85/aizc --skill database-design-huhuimike85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-design
Source: https://github.com/huhuimike85/aizc/tree/main/references/frontend-v2/.claude/skills/database-design
Command: npx skills add https://github.com/huhuimike85/aizc --skill database-design-huhuimike85

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the complexities of designing efficient, scalable, and secure database systems, offering best practices for both relational and NoSQL databases.

Core Features & Use Cases

  • Database Design & Modeling: Guidance on normalization, denormalization, and schema best practices.
  • Indexing Strategies: Optimization techniques for query performance using various index types.
  • Query Optimization: Methods to analyze and improve SQL query execution plans.
  • NoSQL Patterns: Design patterns for MongoDB and Redis usage.
  • Security & Maintenance: Best practices for transactions, data migration, backups, and security.
  • Use Case: A developer needs to design a new e-commerce database schema, ensuring optimal performance for product searches and order processing, while also considering data integrity and security.

Quick Start

Use the database-design skill to generate a SQL schema for a blog with posts, users, and comments, including appropriate indexes.

Frequently Asked Questions about database-design

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

FAQPage Schema
How do I design a database schema for high-performance read and write operations?

Database schema design for high performance requires strategic normalization, denormalization, and indexing. This Skill provides comprehensive data modeling guidance to optimize relational database architectures for efficient query execution and data integrity.

What's the best way to optimize SQL query performance and execution plans?

SQL query optimization involves analyzing execution plans and applying targeted indexing strategies. This Skill offers methods to tune queries and improve database performance by selecting appropriate index types for your specific data access patterns.

Does this database design guidance support both SQL and NoSQL systems like MongoDB?

Yes, this database design guidance supports both SQL and NoSQL systems. It covers relational databases like MySQL and NoSQL platforms including MongoDB and Redis, offering specific schema patterns and optimization best practices for each.

How do I handle database transactions and data migration securely?

Handling database transactions and data migration securely requires following specific maintenance and security best practices. This Skill provides comprehensive strategies for managing transaction integrity, executing safe data migrations, and performing reliable backups.

When should I use denormalization in my database schema design?

Denormalization in database schema design should be used when read performance demands outweigh write overhead. This Skill guides you through balancing normalization for data integrity against denormalization for optimized query performance.

How do I generate a SQL schema with appropriate indexes for an e-commerce database?

Generating an e-commerce SQL schema with appropriate indexes involves defining tables for products and orders while optimizing search performance. This Skill provides use case-specific guidance for designing schemas that ensure optimal data retrieval.