{"enrichment":{"faq":[{"a":"Database Design covers schema fundamentals through structured decision-making. Start by identifying entities and their relationships, then apply normalization principles to eliminate redundancy. The skill guides you through designing relational schemas that balance query efficiency with data integrity, considering your specific application context and scale requirements.","q":"How do I design a database schema for my application?"},{"a":"Database Design emphasizes normalization, proper relationship modeling, and thoughtful indexing. Key practices include: decomposing data to eliminate redundancy, choosing appropriate primary and foreign keys, designing for query patterns rather than just data structure, and planning migrations safely from the start. The skill teaches decision-making frameworks rather than rigid patterns.","q":"What are database design best practices I should follow?"},{"a":"Database Design helps you evaluate databases by context. PostgreSQL suits multi-user applications, complex queries, and production systems needing reliability. SQLite works well for embedded use, prototyping, and edge deployments. The skill also covers serverless options like Neon and Turso, helping you match database choice to your project's scale, concurrency needs, and infrastructure constraints.","q":"How do I choose between PostgreSQL and SQLite?"},{"a":"Database Design covers ORM selection as part of choosing the right tools for your project. Both ORMs handle schema definition and query building, but differ in philosophy and features. The skill teaches you to evaluate ORMs based on your application's needs, migration strategy, type safety requirements, and performance characteristics rather than recommending one universally.","q":"What's the difference between Prisma and Drizzle ORM?"},{"a":"Database Design addresses query optimization through indexing strategy and relationship design. N+1 issues arise when fetching related data inefficiently. The skill teaches you to recognize these patterns, use eager loading and batch queries, design indexes for common access patterns, and analyze query performance with tools like EXPLAIN ANALYZE to identify bottlenecks.","q":"How do I optimize database queries and avoid N+1 problems?"},{"a":"Database Design emphasizes migration safety as a core design principle. Plan migrations by understanding your schema changes, testing in staging environments, and using reversible migration tools. The skill covers strategies for zero-downtime deployments, handling data transformations safely, and coordinating schema changes with application code to prevent production incidents.","q":"How should I plan and execute safe database migrations?"}],"shadow_tags":["schema-architecture","orm-comparison","query-performance","data-modeling","database-selection","migration-strategy","indexing-tactics","normalization-rules","serverless-databases"],"summary_rewrite":"Database Design teaches schema fundamentals, ORM selection, and performance tuning through structured decision-making rather than rote patterns. It covers normalization, relationship design, indexing strategy, and query optimization across PostgreSQL, SQLite, and serverless databases."},"files":[{"bytes":1698,"path":".agents/skills/database-design/SKILL.md","sha256":"f1561bf94e3605673d4d5985012c8df94c5658b6f3852824847aa546c9c2c050","url":"https://skillfed.io/files/vudovn/ag-kit/database-design/b9b29669/SKILL.md"}],"id":"vudovn/ag-kit/database-design","links":{"html":"https://skillfed.io/vudovn/ag-kit/database-design","md":"https://skillfed.io/vudovn/ag-kit/database-design.md","repo":"https://github.com/vudovn/ag-kit"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":1512,"language":"TypeScript","last_updated":"2026-07-26","license":"MIT","name":"database-design","publisher":"vudovn","stars":8011},"relations":{"categories":["backend-engineering","database-design","data-modeling"],"similar":[{"id":"itzzritik/OrderWorder/database-design"},{"id":"srstomp/pokayokay/database-design"},{"id":"vudovn/ag-kit/api-patterns"},{"id":"ancoleman/ai-design-components/using-relational-databases"},{"id":"modu-ai/moai-adk/moai-platform-database-cloud"},{"id":"vudovn/ag-kit/architecture"},{"id":"bobmatnyc/claude-mpm-skills/drizzle"},{"id":"honra-io/drizzle-best-practices/drizzle-best-practices"},{"id":"rand/cc-polymath/discover-database"},{"id":"bobmatnyc/claude-mpm-skills/neon"}]},"slug":{"owner":"vudovn","repo":"ag-kit","skill":"database-design"},"version":"b9b29669"}
