database-design

Design database schemas and data access strategies for software projects.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/pckienuit/GameDev1 --skill database-design-pckienuit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-design
Source: https://github.com/pckienuit/GameDev1/tree/main/.cursor/skills/database-design
Command: npx skills add https://github.com/pckienuit/GameDev1 --skill database-design-pckienuit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you choose the right database approach, model data correctly, and avoid common schema, indexing, and migration mistakes that cause slow queries or brittle systems.

Core Features & Use Cases

  • Database Selection: Compare PostgreSQL, SQLite, Turso, and serverless options based on deployment needs and workload.
  • Schema Design: Plan normalization, primary keys, timestamps, and relationships for clean data models.
  • Performance & Safety: Apply indexing principles, query optimization, and zero-downtime migration patterns.
  • Use Case: A developer building a new app can use this Skill to decide between SQLite and PostgreSQL, design tables, and prepare safe migrations before launch.

Quick Start

Use this skill to review my application requirements and recommend the best database, schema, indexing, and migration strategy.

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 a new backend application?

Designing a database schema involves planning normalization, choosing primary keys, and modeling relationships to create clean data models. It also requires defining timestamps and selecting an appropriate ORM for backend applications.

What is the best way to choose between PostgreSQL, SQLite, and Turso for my workload?

Choosing between PostgreSQL, SQLite, Turso, and serverless databases requires comparing deployment needs and workload characteristics. Evaluating these factors ensures the selected database matches your application performance and scaling requirements.

How do I apply indexing principles and query optimization for slow database performance?

Applying indexing principles and query optimization targets slow database performance by structuring indexes to match query patterns. This improves data retrieval speed and prevents performance bottlenecks in relational and embedded databases.

Can I plan zero-downtime database migrations for an existing application?

You can plan zero-downtime database migrations by applying safe migration patterns. This allows you to execute schema changes and updates without taking the application offline or disrupting active user sessions.

When do I need schema normalization and what problem does it solve?

Schema normalization is needed when structuring relational data to reduce redundancy and improve integrity. It solves the problem of inconsistent data and brittle systems by organizing tables and relationships logically.

Does this database design approach work with both relational and embedded databases?

This database design approach works with both relational and embedded databases. It accommodates schema normalization, ORM selection, indexing, and query optimization across different database architectures and deployment environments.