What problem does it solve? Database migrations run against real user data in production, and a single bad migration can corrupt or wipe that data. This Skill enforces a disciplined process for writing, testing, and validating Room and SQLDelight schema migrations so upgrades ship safely. ## Core Features & Use Cases - Migration Authoring: Writes version-bumped Room Migration classes or SQLDelight .sqm files, including manual table-rebuild patterns for column type changes, renames, and constraint additions. - Migration Testing: Generates MigrationTestHelper instrumentation tests for Room and schema-verification guidance for SQLDelight to prove data survives the upgrade. - Query Optimization: Diagnoses slow queries with EXPLAIN QUERY PLAN, adds targeted indexes, fixes N+1 patterns, and integrates Paging 3 for large result sets. - Use Case: You need to add a non-null email column to an existing user table in a shipping Room database. The Skill produces the version bump, the ALTER TABLE migration with a safe default, the exported schema JSON, and an instrumentation test validating the 6-to-7 upgrade path. ## Quick Start Ask the assistant to write and test a Room migration that adds a new column to an existing table in your Android database.