database-patterns SKILL.md skillA
database-patterns from yonatangross/orchestkit is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add yonatangross/orchestkit/database-patterns@v2.0.0Pins v2.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- yonatangross/orchestkit
- Path
src/skills/database-patterns/SKILL.md- Versions recorded
- 10
- Latest version
- v2.0.0, committed Oct 7, 2026
- First version recorded
- Jul 25, 2026
- Size
- 10,121 bytes
- Repository stars
- 299
- License
- MIT
Database design and migration patterns for Alembic migrations, schema design (SQL/NoSQL), and database versioning. Use when creating migrations, designing schemas, normalizing data, managing database versions, or handling schema drift.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
<!-- directive-density: intentional (teaches migration anti-patterns; NEVER markers describe real production-break conditions, not aspirational guidance) --> # 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 | Category | Rules | Impact | When to Use | |----------|-------|--------|-------------| | [Alembic Migrations](#alembic-migrations) | 2 | CRITICAL | Data migrations, branch management | | [Schema Design](#schema-design) | 3 | HIGH | Normalization, indexing strategies, NoSQL patterns | | [Versioning](#versioning) | 2 | HIGH | Changelogs, schema drift detection | | [Zero-Downtime Migration](#zero-downtime-migration) | 2 | CRITICAL | Expand-contract, pgroll, rollback monitoring | | [Database Selection](#database-selection) | 1 | HIGH | Choosing the right database, PostgreSQL vs MongoDB, cost analysis | **Total: 10 rules across 5 categories** This skill is a wrap around Alembic and PostgreSQL, not a replacement for their docs. Read `references/ork-delta.md` first: it holds the …
Read the whole file at its exact version.
How to install
mdr add yonatangross/orchestkit/database-patterns@sha256:6cfe60c121988825The line at the top of this page pins the label v2.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ml3vzvwdw6pnmyxu)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Jul 25, 2026 and Oct 7, 2026, about one every 8 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.0.0 latest | 2026-10-07 | 480e358 | 10,121 B | A | view · diff |
| v2.0.0 | 2026-09-30 | e533cd5 | 10,125 B | A | view · diff |
| v2.0.0 | 2026-09-29 | 105a980 | 10,125 B | A | view · diff |
| v2.0.0 | 2026-09-28 | 220adb4 | 10,143 B | A | view · diff |
| v2.0.0 | 2026-09-20 | 02cb935 | 10,156 B | A | view · diff |
| v2.0.0 | 2026-09-06 | fc0b166 | 10,156 B | A | view · diff |
| v2.0.0 | 2026-08-29 | 2aed0b0 | 11,236 B | A | view · diff |
| v2.0.0 | 2026-08-05 | 1f4cf61 | 11,236 B | A | view · diff |
| v2.0.0 | 2026-07-31 | 0e6a3a8 | 10,616 B | A | view · diff |
| v2.0.0 | 2026-07-25 | 47b78fb | 7,543 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10121 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
yonatangross/orchestkit · 299 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ml3vzvwdw6pnmyxu GET https://markdownregistry.com/api/v1/resolve?ref=yonatangross/orchestkit/database-patterns GET https://markdownregistry.com/api/v1/blob/6cfe60c12198882570890b484d5711abd7951b9760bd090726c4879d5aa858d8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from yonatangross/orchestkit
Every file in yonatangross/orchestkit