
Database Design
This one teaches you to think through database architecture decisions rather than just copy-pasting schema patterns. It covers the full stack: choosing between PostgreSQL, Neon, Turso, or SQLite based on your deployment context, picking the right ORM (Drizzle, Prisma, Kysely), designing normalized schemas, planning indexes, and avoiding N+1 queries. The approach is deliberately opinionated about not defaulting to PostgreSQL for everything and actually asking about requirements first. It's structured as a decision framework with selective reading guides, so you're not wading through irrelevant docs about Prisma when you're using Drizzle. Honestly refreshing to see database guidance that starts with context instead of assuming everyone needs a full Postgres cluster.
- skills.sh installs
- 139
- GitHub stars
- 7.6K
- last updated
- Jun 3, 2026
Install
$ npx -y skills add vudovn/antigravity-kit --skill database-design --agent claude-codeInstalls into .claude/skills of the current project.
Files
Database Design
Learn to THINK, not copy SQL patterns.
🎯 Selective Reading Rule
Read ONLY files relevant to the request! Check the content map, find what you need.
| File | Description | When to Read |
|---|---|---|
database-selection.md | PostgreSQL vs Neon vs Turso vs SQLite | Choosing database |
orm-selection.md | Drizzle vs Prisma vs Kysely | Choosing ORM |
schema-design.md | Normalization, PKs, relationships | Designing schema |
indexing.md | Index types, composite indexes | Performance tuning |
optimization.md | N+1, EXPLAIN ANALYZE | Query optimization |
migrations.md | Safe migrations, serverless DBs | Schema changes |
⚠️ Core Principle
- ASK user for database preferences when unclear
- Choose database/ORM based on CONTEXT
- Don't default to PostgreSQL for everything
Decision Checklist
Before designing schema:
- Asked user about database preference?
- Chosen database for THIS context?
- Considered deployment environment?
- Planned index strategy?
- Defined relationship types?
Anti-Patterns
Sponsors
Details
- Repository
- github.com/vudovn/antigravity-kit
- Categories
- Backend & APIs, Design & UI/UX, Databases
- First seen
- Jun 3, 2026
More from vudovn/antigravity-kit
All 30- Nodejs Best Practices138
- Testing Patterns138
- Brainstorming137
- Api Patterns131
- App Builder128
- Vulnerability Scanner127
- Deployment Procedures126
- Tailwind Patterns126
- Powershell Windows123
- I18n Localization122
- Parallel Agents122
- Plan Writing121
- Python Patterns119
- Red Team Tactics119
- Performance Profiling118
- Bash Linux116
- Behavioral Modes115
- Documentation Templates115
- Seo Fundamentals115
- Frontend Design320
- Code Review Checklist252
- Mobile Design239
- Webapp Testing212
- Clean Code197