sqldelight

Manage SQLDelight schemas, queries, and migrations for Kotlin/Android projects.

1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/eygraber/jellyfin-kmp --skill sqldelight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sqldelight
Source: https://github.com/eygraber/jellyfin-kmp/tree/main/.claude/skills/sqldelight
Command: npx skills add https://github.com/eygraber/jellyfin-kmp --skill sqldelight

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps Kotlin/Android teams manage SQLDelight schemas, queries, and migrations with a focused workflow, reducing boilerplate and errors.

Core Features & Use Cases

  • Define and evolve .sq schema files and .sqm migrations with clear patterns.
  • Generate and query type-safe Kotlin code across Android and multiplatform modules.
  • Validate migrations and keep schema-your-code consistency across app versions.

Quick Start

Create a simple User table using SQLDelight definitions and run the Gradle task to generate code.

Frequently Asked Questions about sqldelight

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

FAQPage Schema
How do I define SQLDelight .sq schema files for a Kotlin Android project?

To define SQLDelight schemas, you write standard SQL statements in .sq files to generate type-safe Kotlin queries. This workflow applies Gradle-based code generation across multi-module Android and multiplatform projects.

What is the best way to handle SQLDelight database migrations in Kotlin?

SQLDelight migrations are handled by creating .sqm files that apply standard upgrade patterns. This process validates migrations and maintains schema consistency across different app versions.

Can I use SQLDelight for multiplatform Kotlin code generation?

Yes, SQLDelight supports multiplatform Kotlin code generation by applying Gradle tasks across multi-module Android and multiplatform modules. It generates type-safe queries from your .sq schema definitions.

How do I generate type-safe queries from SQL in SQLDelight?

Type-safe Kotlin queries are generated by writing SQL statements in .sq files and running the SQLDelight Gradle task. This workflow reduces boilerplate and ensures schema consistency.

Does SQLDelight support multi-module Android database setups?

Yes, SQLDelight supports multi-module Android setups by applying standard schema and migration patterns across modules. It generates and queries type-safe Kotlin code consistently throughout your project.