MySQL AIops 图标

MySQL AIops

@user_993b98b1/mysql-aiops

Use this skill whenever the user needs to operate or troubleshoot a MySQL 8.x or MariaDB 10.6+ server as a DBA — a one-shot server health overview (version + flavor, connection headroom, replica role); server reads (global variables, status counters, databases, storage engines); activity (sessions/processlist, long-running queries, open InnoDB transactions, lock waits); query stats (performance_schema statement-digest top-N, EXPLAIN FORMAT=JSON); index health (unused indexes, redundant/duplicate indexes, cardinality); table health (sizes, data_free fragmentation, engine/row-format status); replication (replica IO/SQL thread state and lag, binlog/GTID status); four flagship analyses — slow-query RCA (worst digest + EXPLAIN → cited cause/action incl. full-scan and lock-time-dominant classification), InnoDB lock-wait & deadlock chain RCA (wait-for tree, root blocker, last deadlock parsed from SHOW ENGINE INNODB STATUS), replication lag RCA (thread state/error fields → cause+action), and table fragmentation analysis (data_free → OPTIMIZE candidates); and guarded writes (kill a session or query, OPTIMIZE/ANALYZE TABLE, create/drop an index, SET GLOBAL a variable, reset digest stats). Always use this skill for "mysql health check", "why is this query slow", "top queries by time", "EXPLAIN this", "table fragmentation", "which indexes are unused", "redundant index", "who is blocking whom", "deadlock", "kill the session holding the lock", "replication lag", "replica stopped", "seconds behind master/source", "OPTIMIZE this table", "create/drop an index", or "SET GLOBAL max_connections" when the context is a MySQL or MariaDB database. Do NOT use for PostgreSQL — use postgres-aiops. Do NOT use when the target is OT / industrial equipment (use industrial-aiops), a hypervisor, a storage appliance, a backup product, or a container/cluster orchestrator (negative routing hints only). Common MySQL/MariaDB DBA operations with a built-in governance harness (audit, policy, token budget, undo, risk-tiers). Behaviour is validated by a mock-based test suite; see docs/VERIFICATION.md for the live-verification checklist.

v0.12.0

将提示词发送给你的 AI 安装该 skills

请根据 https://skillhub.cn/install/skillhub.md,安装 @user_993b98b1/mysql-aiops。

下载 Zip 包安装
...tokens 预估消耗
811次下载
0次收藏
作者
相关推荐
SkillHub

专为中国用户优化的 AI Skills 社区,让 AI Agent 突破能力边界、持续进化。

友情链接

来源声明:本站部分 Skill 内容来源于公开渠道、认证企业或由用户自主发布,使用前请注意识别相关风险,内容版权归原作者所有。

侵权处理:如 Skill 涉及版权问题,请发送邮件至 skillhub_ipr@tencent.com,我们将在收到通知后及时核实并予以下架处理。

Copyright © 2026 SkillHub. 精选 AI Skills 推荐平台

技能数据来源于公开渠道、认证企业及用户自主发布。