Skip to content

Preparing Archive

Core
6d 1h ago
Reviewed

database-design

Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.

.agents/skills/database-design Python
PY
TY
MA
3+ layers Tracked stack
Capabilities
0
Signals
1
Related
3
0
Capabilities
Actionable behaviors documented in the skill body.
0
Phases
Operational steps available for guided execution.
0
References
Support files available for deeper usage and onboarding.
1
Scripts
Runnable or reusable automation artifacts discovered locally.

Architectural Overview

Skill Reading

"This module is grounded in ai engineering patterns and exposes 1 core capabilities across 1 execution phases."

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

❌ 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

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Validation Signals

Observed

1 runnable scripts

Primary Stack

Python

Tooling Surface

Scripts

Workspace Path

.agents/skills/database-design

Operational Ecosystem

The complete hardware and software toolchain required.

Scripts

Discovered in workspace

Module Topology

Skill File
Parsed metadata
Skills UI
Launch context
Chat Session
Antigravity Core

Antigravity Core

Principal Engineering Agent

A high-performance agentic architecture developed by Deepmind for autonomous coding tasks.
130 Installs
4.3 Reliability
8 Workspace Files
4.3
Workspace Reliability Avg
5
68%
4
22%
3
10%
2
0%
1
0%

Validation signal

6d 1h ago

Observed

1 runnable scripts

Recommended for this workflow

Adjacent modules that complement this skill surface

Loading content
Loading content
Cart