MySQL and MariaDB review
Created by CodeCraft LLCReview MySQL and MariaDB schemas, queries, migrations and configuration
Product and technology names are trademarks of their respective owners, used only to identify what this skill covers. CodeCraft LLC is not affiliated with or endorsed by them.
by Jace (@jamick)v1.3.1 · updated 2026-12-01Report copyright infringement
Description
Review MySQL and MariaDB schemas, queries, migrations and configuration - InnoDB primary keys (auto-increment vs UUID ordering), utf8mb4 and collations, data types (DECIMAL for money, DATETIME vs TIMESTAMP 2038), indexes (leftmost prefix, covering, redundant, functional), EXPLAIN/EXPLAIN ANALYZE, full scans, implicit casts that disable indexes, OFFSET vs keyset pagination, N+1 queries, transactions, isolation, gap locks and deadlocks, FOR UPDATE and SKIP LOCKED, strict sql_mode, foreign keys, online schema changes (INSTANT/INPLACE, gh-ost, pt-online-schema-change), replica lag, pooling, SQL injection, least-privilege accounts, TLS, and the 8.0 end of life with the 8.4 and 9.7 LTS lines. Use whenever reviewing .sql files or migrations for MySQL/MariaDB, ORM code on MySQL (mysql2, PyMySQL, Laravel, Rails, Hibernate), my.cnf changes, or the user asks "review my MySQL schema/queries".
Included with all-access
$15.00 one-time, permanent access
or
Buy 2 or more together for up to 40% off · View cart
You get a licence, not ownership. Access lasts while this skill is available on AiSkillz; if it's removed within 90 days of purchase, we'll send you a copy to keep. Terms
Official and free skills are included with the all-access subscription
Changelog
Subscribers also see which files changed in each version.
v1.3.1Dec 1, 2026Latest
Added
- README: a **Sources** line listing the official pages the skill is written from, each link checked, so the source-overlap check can run against them.
v1.3.0Nov 20, 2026
Added
- Review method: every code review starts by mapping the code flows in scope and gives each flow its own sub-agent at high effort, which reviews that flow end to end against this checklist; the main agent merges, re-checks Blockers and de-duplicates. Covers single-flow reviews, nested sub-agents, failed sub-agents and environments without sub-agents.
v1.2.0Nov 6, 2026
Changed
- Review report rule: reviews that cover changes (a diff, PR or uncommitted work) open with a short "What the changes do" section - factual bullets grouped by purpose, inferred intent marked, deploy or migration impact stated.
v1.1.0Nov 4, 2026
Changed
- Added MySQL 9.7 LTS (April 21, 2026), checked against the Oracle MySQL blog.
- Documented MySQL's switch to calendar versions (YY.M) after 9.7 (checked against the 9.7 manual). The
utf8mb4_0900_ai_cirecommendation is now MySQL-specific; MariaDB getsuca1400collations (0900names exist only from 11.4.5). - Fixed Markdown tables: pipes inside code spans escaped so rows keep their columns, and blank lines added around tables (from a CodeRabbit review).
- Review report rule at the top of the skill, loaded before any review: one entry per finding as
Level · type · file:line · finding · proposed fix, outside facts sourced or marked unverified, and no narrative.
v1.0.0Nov 3, 2026
Added
- First release.