drizzle-solid-migration

Migrate Drizzle ORM schemas and queries to Solid Pod IRI-based resources.

Updated Jul 17, 2025
One-click install
npx skills add https://github.com/undefinedsco/drizzle-solid --skill drizzle-solid-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drizzle-solid-migration
Source: https://github.com/undefinedsco/drizzle-solid/tree/main/skills/drizzle-solid-migration
Command: npx skills add https://github.com/undefinedsco/drizzle-solid --skill drizzle-solid-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers migrate their existing Drizzle ORM codebases and mental models to drizzle-solid, ensuring a smooth transition to Solid Pods data management.

Core Features & Use Cases

  • Semantic Translation: Guides the conversion of SQL-centric concepts (tables, rows, foreign keys) to Solid-native concepts (resources, documents, IRIs, links).
  • Code Pattern Adaptation: Assists in refactoring Drizzle-style queries and mutations to align with drizzle-solid's explicit, IRI-aware APIs.
  • Use Case: A developer has a Drizzle schema for blog posts with SQL foreign keys for authors. This Skill helps them refactor it to use IRI-based links between author and post resources in a Solid Pod.

Quick Start

Use the drizzle-solid-migration skill to convert the provided Drizzle SQL schema into drizzle-solid patterns.

Frequently Asked Questions about drizzle-solid-migration

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

FAQPage Schema
How do I migrate Drizzle ORM schemas to Solid Pod resources?

To migrate Drizzle ORM schemas to Solid Pod resources, you translate SQL tables, rows, and foreign keys into Solid-native concepts like resources, documents, and IRI-based links. This semantic shift adapts relational structures for Solid Pods.

What is the difference between SQL foreign keys and IRI links in drizzle-solid?

SQL foreign keys establish relational table constraints, whereas IRI links in drizzle-solid create explicit, target-based connections between documents and resources within a Solid Pod. This shifts data modeling from relational joins to resource relationships.

How do I refactor Drizzle queries for Solid Pod mutations?

Refactoring Drizzle queries for Solid Pod mutations involves adapting standard SQL-style read and write operations to align with drizzle-solid's explicit, IRI-aware APIs. This ensures mutations target specific documents and resources correctly within the Pod.

Can I convert Drizzle ORM mental models for Solid Pods data management?

Yes, you can convert Drizzle ORM mental models for Solid Pods data management by shifting from relational tables and foreign keys to resources, documents, and IRI-based links. This transition enables explicit, target-based mutations within Solid Pod environments.