dora-orm-cockpit

Convert SQL, Drizzle, and Prisma schemas through a shared intermediate representation.

14|1|Updated May 11, 2025
One-click install
npx skills add https://github.com/remcostoeten/dora --skill dora-orm-cockpit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dora-orm-cockpit
Source: https://github.com/remcostoeten/dora/tree/main/.claude/skills/dora-orm-cockpit
Command: npx skills add https://github.com/remcostoeten/dora --skill dora-orm-cockpit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill resolves the friction between live database schemas and ORM code definitions by providing a deterministic, type-safe bridge for schema modeling and conversion.

Core Features & Use Cases

  • Schema Synchronization: Automatically map and diff live database schemas against Drizzle or Prisma project definitions.
  • Deterministic Conversion: Perform reliable SQL-to-Drizzle and Drizzle-to-SQL conversions using a shared intermediate representation.
  • Use Case: When migrating a legacy database to a modern TypeScript ORM, use this skill to generate the corresponding schema definitions while maintaining constraint integrity and type safety.

Quick Start

Use the dora-orm-cockpit skill to analyze the current project schema and generate the necessary migration SQL for the live database.

Frequently Asked Questions about dora-orm-cockpit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a live database schema to Drizzle or Prisma definitions?

Schema synchronization maps live database schemas against Drizzle or Prisma project definitions by performing project discovery, schema parsing, and type normalization to ensure stable, additive schema evolution across supported SQL dialects.

What's the best way to migrate a legacy database to a TypeScript ORM?

Deterministic conversion handles reliable SQL-to-Drizzle and Drizzle-to-SQL conversions using a shared intermediate representation, ensuring stable schema evolution and reliable query generation across supported dialects.

Can I use this skill to diff live database schemas against my Drizzle project definitions?

To generate migration SQL for a live database, you use this skill to analyze the current project schema, perform type normalization, and output the necessary additive migration SQL scripts.

Does this schema conversion tool support both Drizzle and Prisma?

This skill is best suited for developers needing reliable query generation and stable, additive schema evolution when synchronizing live SQL databases with TypeScript ORM definitions like Drizzle or Prisma.