Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Database schema and migration design v1.0.0

Use this resource to design a database schema and its migrations

New

  • 413 downloads
  • 232 likes
  • 187 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install design-database-schema-migrations

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent models tables and relationships, chooses indexes and partitions, writes zero-downtime migrations using expand-contract, and reviews an existing schema against known anti-patterns. For multi-tenant isolation, it plans the RLS rules. You get a schema and a migration plan.

Mostly picked by

Updated November 2, 2026

Card for the “Database schema and migration design” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: execution modes, decision rules and routing
  • reference/: index strategies, migrations and rollback, multi-tenant patterns, PostgreSQL 17 and 18

Good fit for

  • You need to add a column to a production table without downtime
  • You are building a SaaS where each customer's data is isolated

Not for

    Tags

    • schema
    • migrations
    • postgresql
    • multi-tenant

    About

    You say

    “Design the multi-tenant billing schema and a zero-downtime migration to add a currency column.”

    Card for the “Database schema and migration design” skill

    Skill published by simota under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design a database schema and its migrations
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE1 KB
    • NOTICE-PALATEKIT.md0.4 KB
    • reference/advanced-patterns.md8.5 KB
    • reference/audit-log-schema.md13.5 KB
    • reference/data-modeling-anti-patterns.md4.8 KB
    • reference/event-sourcing-schema.md13.6 KB
    • reference/index-strategies.md3 KB
    • reference/migration-patterns.md8.9 KB
    • reference/migration-rollback.md7.9 KB
    • reference/multi-tenant-patterns.md6.9 KB
    • reference/partition-strategies.md9.1 KB
    • reference/postgresql17-features.md5.1 KB
    • reference/postgresql18-features.md9.7 KB
    • reference/recipes-index.md2.2 KB
    • reference/reference-index.md3.3 KB
    • reference/schema-design-anti-patterns.md2.8 KB
    • reference/schema-examples.md8.5 KB
    • reference/soft-delete-patterns.md11.6 KB
    • reference/tenant-handoffs.md1.5 KB
    • reference/tenant-migration.md8.2 KB
    • reference/tenant-provisioning.md10.5 KB
    • reference/tenant-quota-throttling.md9.8 KB
    • SKILL.md21.4 KB

    Origin and licence

    Listed unmodified

    Author
    simota
    Source
    github.com/simota/agent-skills/tree/2e02cc9efb3852a45334495df3784d59b87b0e18/schema
    Licence
    MIT

    Notice

    « schema » (simota, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.