skills/mysql/SKILL.md
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.
npx skillsauth add ederheisler/agent-skills mysqlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill to make safe, measurable MySQL/InnoDB changes.
EXPLAIN, EXPLAIN ANALYZE, lock/connection metrics, and production-safe rollout steps).BIGINT UNSIGNED AUTO_INCREMENT) for write-heavy OLTP tables.utf8mb4 / utf8mb4_0900_ai_ci. Prefer NOT NULL, DATETIME over TIMESTAMP.ENUM. Normalize to 3NF; denormalize only for measured hot paths.References:
performance_schema — drop indexes with count_read = 0.References:
MAXVALUE catch-all.References:
EXPLAIN — red flags: type: ALL, Using filesort, Using temporary.OFFSET. Avoid functions on indexed columns in WHERE.UNION ALL over UNION when dedup unnecessary.References:
REPEATABLE READ (gap locks). Use READ COMMITTED for high contention.SELECT ... FOR UPDATE sparingly.References:
ALGORITHM=INPLACE) when possible; test on replicas first.max_connections exhaustion under load.References:
development
Extracts what the user actually wants instead of what they think they should want. Achieves this through one-question-at-a-time interview until ~95% confidence about the underlying intent. Use when an ask is underspecified ("build me X" without "for whom" or "why now"), when the user explicitly invokes ("interview me", "grill me", "are we sure?", "stress-test my thinking"), or when you catch yourself silently filling in ambiguous requirements before any plan, spec, or code exists.
testing
Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or "stress-test my plan".
documentation
Compact the current conversation into a handoff document for another agent to pick up.
testing
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".