
This one pushes you to make intentional database choices instead of defaulting to PostgreSQL for everything. It covers database selection (Neon, Turso, SQLite options), ORM comparisons (Drizzle vs Prisma vs Kysely), schema design fundamentals, and query optimization. The decision checklist is practical: it reminds you to ask about preferences upfront and consider deployment context before diving into schema work. What I like here is the emphasis on reading only relevant files and the blunt anti-patterns list calling out SELECT * and N+1 queries. It's lighter on deep implementation details, but solid for framing decisions when you're starting a project or reconsidering your data layer.
$ npx -y skills add sickn33/antigravity-awesome-skills --skill database-design --agent claude-codeInstalls into .claude/skills of the current project.
Learn to THINK, not copy SQL patterns.
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 |
Before designing schema:
❌ Default to PostgreSQL for simple apps (SQLite may suffice) ❌ Skip indexing ❌ Use SELECT * in production ❌ Store JSON when structured data is better ❌ Ignore N+1 queries
Use when selecting a database model, reviewing schema relationships and indexes, or assessing a proposed schema with the bundled advisory tools.
scripts/schema_validator.py is a read-only heuristic inventory, not a Prisma or Drizzle parser. Missing schemas, unsupported formats and heuristic-only results return nonzero with passed: false and analysis_complete: false. Use the project-local ORM validator for syntax and type checks; review migration and constraint semantics separately.
Sponsors