What problem does it solve? Changing the shape of core SQLite databases (state.sqlite, telemetry.sqlite) without a controlled process risks broken deployments, data loss, and unrecoverable schema drift. This Skill provides a structured workflow for designing, validating, and committing reversible database migrations. ## Core Features & Use Cases - Migration Pair Authoring: Guides creation of timestamped .up.sql and .down.sql files with transactional guarantees (BEGIN TRANSACTION / COMMIT) and idempotent guards. - Rollback Validation: Tests UP-then-DOWN cycles in a sandbox using node:sqlite DatabaseSync before any commit, ensuring reversibility. - PII & Safety Checks: Flags sensitive columns with PII comments and verifies destructive operations have restore paths. - Use Case: An engineer needs to add an encrypted token column to a state table. The Skill walks them through scoping the change, delegating design to the db_architect agent, sandbox-testing the rollback, and committing the migration pair with an audit log entry. ## Quick Start Ask the AI to help you design and validate a reversible SQLite migration for adding a new column to the state database.