Skip to content
yonatangross avatar

Database Patterns

Database design and Alembic migration patterns covering schema normalization, indexing, and drift detection.

CCM score
53 of 100
skills.sh installs
231
GitHub stars
312
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Alembic migrations, schema design for SQL and NoSQL, versioning, zero-downtime migration, and database selection
  • Includes 10 rules across 5 categories, loaded on demand from rules/ and references/ files
  • Enforces two-phase NOT NULL changes and CREATE INDEX CONCURRENTLY on large tables to avoid table locks
  • Designed for teams using SQLAlchemy 2.0 async with PostgreSQL as the default database

Install

$ npx -y skills add yonatangross/orchestkit --skill database-patterns -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Database Patterns

Comprehensive patterns for database migrations, schema design, and version management. Each category has individual rule files in rules/ loaded on-demand.

Quick Reference

CategoryRulesImpactWhen to Use
Alembic Migrations2CRITICALData migrations, branch management
Schema Design3HIGHNormalization, indexing strategies, NoSQL patterns
Versioning2HIGHChangelogs, schema drift detection
Zero-Downtime Migration2CRITICALExpand-contract, pgroll, rollback monitoring

| Database Selection | 1 | HIGH | Choosing the right database, PostgreSQL vs MongoDB, cost analysis |

Total: 10 rules across 5 categories

Details

Repository
github.com/yonatangross/orchestkit
Categories
Databases, Python
First seen
Jun 3, 2026

Questions

What does the database-patterns skill help with?

The database-patterns skill covers Alembic migrations, schema design for SQL and NoSQL, normalization, and database versioning. It applies when you create migrations, design or normalize schemas, manage database versions, or fix schema drift.

How do I install the database-patterns skill?

Run npx -y skills add yonatangross/orchestkit --skill database-patterns -y in your project. This installs the skill so your agent can use its migration and schema design patterns.

Which category does database-patterns sit in on Claude Marketplaces?

It is listed under Databases on Claude Marketplaces, alongside supabase-postgres-best-practices, prisma-client-api, prisma-database-setup, prisma-cli and prisma-postgres. It differs from those by focusing on Alembic migrations and schema drift rather than a specific client or hosted platform.

Does database-patterns need any tools or accounts?

The skill's SKILL.md lists Read, Glob, Grep, WebFetch and WebSearch as allowed tools, and it targets SQLAlchemy 2.1.1 or newer. It is written for Claude Code 2.1.328 or newer.

More from yonatangross/orchestkit

All 55

Similar to Database Patterns

More Databases