Plan and review MySQL/InnoDB schema, indexing, query tuning, transactions, and operations. Use when creating or modifying MySQL tables, indexes, or queries; diagnosing slow/locking behavior; planning migrations; or troubleshooting replication and connection issues. Load when using a MySQL database.
Overall
score
93%
Does it follow best practices?
Evaluation — 94%
↑ 1.04xAgent success when using this skill
Validation for skill structure
Schema design and data type selection
BIGINT UNSIGNED AUTO_INCREMENT PK
0%
80%
UUID in secondary column
100%
100%
UUID stored as BINARY(16)
100%
100%
utf8mb4 character set
100%
100%
utf8mb4_0900_ai_ci collation
0%
100%
DATETIME not TIMESTAMP
100%
100%
NOT NULL preference
100%
100%
Lookup tables over ENUM
25%
100%
DECIMAL for money
100%
100%
Appropriate VARCHAR sizing
100%
100%
3NF normalization
100%
100%
Composite index design and query optimization
Equality before range in composite index
100%
100%
Range stops subsequent index usage
100%
63%
Remove function on indexed column
100%
100%
Cursor pagination for Query C
100%
100%
No SELECT * in rewritten queries
100%
0%
UNION ALL for Query D
60%
100%
EXPLAIN red flag identification
100%
100%
Composite index for tenant + status queries
100%
100%
Index for GROUP BY optimization
100%
100%
Separate indexes or UNION for OR across columns
100%
100%
DESC in index or ORDER BY awareness
100%
100%
Transaction isolation and deadlock handling
Consistent row access order
100%
100%
Error 1213 retry with backoff
100%
100%
I/O outside transaction
100%
100%
REPEATABLE READ as default
60%
80%
FOR UPDATE used sparingly
50%
90%
Short transaction duration
100%
100%
Backoff uses exponential delay
100%
100%
Max retry limit
100%
100%
Idempotency consideration
67%
83%
No global isolation change
100%
100%
Indexed WHERE columns
25%
63%
Time-series partitioning and data retention
RANGE partitioning used
100%
100%
Partition column in PRIMARY KEY
100%
100%
Partition column in UNIQUE KEY
100%
20%
MAXVALUE catch-all partition
100%
100%
DROP PARTITION for retention
100%
100%
REORGANIZE for new partitions
100%
100%
Monthly partition boundaries
100%
100%
BIGINT UNSIGNED AUTO_INCREMENT PK
100%
100%
No foreign keys on partitioned table
100%
100%
DATETIME not TIMESTAMP for recorded_at
100%
100%
Composite index for device lookups
100%
100%
Online DDL migration and bulk data operations
INSTANT for adding column
100%
100%
INPLACE for adding index
100%
100%
Explicit ALGORITHM specification
100%
100%
Column type change risks identified
100%
100%
External tool for large table rebuild
100%
100%
Batch update sizing
60%
100%
Connection pool formula
100%
100%
LOCK=NONE specified
100%
100%
Rollback steps included
100%
100%
Backfill uses batched WHERE with range or LIMIT
100%
100%
Replica testing recommended
100%
100%
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.