What problem does it solve? MariaDB sequences differ from standard-SQL and Oracle sequences in subtle ways — they are ordinary tables wrapped with sequence semantics, default to CACHE 1000, require row-based binlogging, and special-case INCREMENT BY 0 for multi-master setups. This Skill prevents LLMs from generating incorrect CREATE SEQUENCE statements that fail at runtime or behave unexpectedly in production. ## Core Features & Use Cases - Dialect-accurate syntax generation: Produces CREATE SEQUENCE statements with correct clause ordering, defaults (BIGINT SIGNED, CACHE 1000, NOCYCLE), and version-specific features like the AS type clause since 11.5. - Gotcha detection: Flags common mistakes such as using DROP/CREATE instead of atomic CREATE OR REPLACE, assuming statement-based binlogging works, or combining AS <type> with other ALTER SEQUENCE clauses. - Use Case: When designing a Galera cluster schema, ask for a sequence definition and receive CREATE SEQUENCE s_mm INCREMENT BY 0; — the documented form that defers to auto_increment_increment/offset for collision-free values across nodes. ## Quick Start Ask the AI to write a MariaDB CREATE SEQUENCE statement for your use case, such as a cached sequence starting at 100 with increment 10, and review it against MariaDB-specific behavior.