database-design

Guide database schema design, storage selection, and indexing strategies.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/rahmatullahboss/multi-store-saas --skill database-design-rahmatullahboss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-design
Source: https://github.com/rahmatullahboss/multi-store-saas/tree/main/.agents/skills/database-design
Command: npx skills add https://github.com/rahmatullahboss/multi-store-saas --skill database-design-rahmatullahboss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides developers and database administrators in designing efficient, reliable, and scalable database schemas by emphasizing principles and best practices in schema design, indexing, and ORM choices.

Core Features & Use Cases

  • Schema Optimization: Advice on normalization, relationship management, and indexing to improve query speed and data integrity.
  • Tool Selection Guidance: Helps decide between PostgreSQL, Neon, Turso, and SQLite based on deployment needs.
  • Use Case: An engineer designing a multi-tenant app selects the appropriate database and indexing strategy to handle complex relationships and ensure high performance under load.

Quick Start

Review the schema design principles and choose the right database and ORM tools for your application scenario.

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 optimal performance and scalability?

To design a scalable database schema, apply principles of normalization, manage data relationships effectively, and implement strategic indexing to ensure query speed and data integrity under load.

What is the best way to choose between PostgreSQL, Neon, Turso, and SQLite?

Choosing between PostgreSQL, Neon, Turso, and SQLite requires evaluating your specific deployment environment needs, such as multi-tenant architecture, scale requirements, and the desired level of managed infrastructure.

How does indexing affect database performance in a multi-tenant application?

Indexing improves multi-tenant database performance by rapidly locating specific rows without scanning the entire table, which is critical for maintaining high query speed when handling complex relationships under heavy load.

When do I need database normalization in my schema design?

You need database normalization during schema design to reduce data redundancy and improve data integrity, ensuring that relationships are managed efficiently for reliable and performant databases.

How do I select the right ORM for my database schema?

Selecting the right ORM involves evaluating how well it supports your chosen storage solution, handles complex relationships, and facilitates indexing strategies to maintain optimal database performance.

Does this database design guidance work for multi-tenant deployment environments?

Yes, this guidance supports multi-tenant deployment environments by helping engineers select appropriate databases and implement indexing strategies that handle complex relationships and ensure high performance under load.