What problem does it solve? Standard SQL ALTER TABLE knowledge misses MariaDB-specific behavior, leading to blocking schema migrations, failed idempotent scripts, and replication lag. This Skill supplies the exact MariaDB syntax and semantics for safe, online schema changes. ## Core Features & Use Cases - Online DDL guidance: Covers ALGORITHM (DEFAULT/COPY/INPLACE/NOCOPY/INSTANT) and LOCK (NONE/SHARED/EXCLUSIVE) clauses, plus the ALTER ONLINE TABLE shorthand, so migrations avoid blocking concurrent reads and writes. - Idempotent migrations: Documents subclause-level IF EXISTS / IF NOT EXISTS and WAIT/NOWAIT lock timeouts for migration scripts that tolerate existing or missing columns and bounded metadata-lock waits. - Advanced operations: Details ADD/DROP SYSTEM VERSIONING, ADD PERIOD FOR, DROP CONSTRAINT, FORCE rebuilds, partition CONVERT/EXCHANGE, DISCARD/IMPORT TABLESPACE, atomic ALTER, and two-phase replication via binlog_alter_two_phase. - Use Case: When planning a schema migration on a MariaDB 11.8 production primary, use this Skill to combine multiple changes into one ALTER TABLE with LOCK=NONE and NOWAIT, avoiding table rebuilds and replica lag. ## Quick Start Ask the AI to write a MariaDB ALTER TABLE statement that adds a column and an index to an existing table online without blocking writes.