Sync DB Schema From Code

Apply schema changes from repo SSOT (prisma/schema.prisma) to a target DB via Prisma migrations, with diff preview + approval gate; then refresh LLM context (docs/context/db/schema.json). Use when this capability is needed.

tomevault-io Updated

File contents

sync-db-schema-from-code (entry)

Canonical source: .ai/skills/workflows/database/sync-db-schema-from-code/

Open .ai/skills/workflows/database/sync-db-schema-from-code/SKILL.md and any supporting files referenced there (for example reference.md, examples.md, scripts/, templates/).

Note: The frontmatter above is identical to the canonical source except for ssot_path and category which are added for navigation. After opening the source file, skip re-reading the description to avoid redundant token usage.


Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/willyu1007--skill-template-basic--sync-db-schema-from-code commit 9b95109381

Frequently asked questions

npx skillmds@latest add tomevault-io/sync-db-schema-from-code-3