mysql-explain
MySQL EXPLAIN query analyzer: supports EXPLAIN, EXPLAIN ANALYZE, EXPLAIN FORMAT. Shows query execution plan, index usage, and estimated costs.
от fisker086★ 25 звёзд на GitHub
Установить mysql-explain в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
MySQL Explain Skill
Provides MySQL query execution plan analysis:
- EXPLAIN: Show query execution plan
- EXPLAIN ANALYZE: Show actual execution time and costs (MySQL 8.0+)
- EXPLAIN FORMAT: Output in JSON, TREE, or traditional format
- EXPLAIN PARTITIONS: Show partition information
Shows:
- Access type (ALL, index, range, ref, eq_ref, const, etc.)
- Key used and possible keys
- Rows examined
- Extra info (using filesort, using index, etc.)
Use builtin_mysql_explain tool with fields:
dsn: MySQL DSN (e.g., user:pass@tcp(host:3306)/dbname)query: SQL query to explaintype: Explain type (classic, analyze, format, partitions)format: Output format for FORMAT type (json, tree, traditional)timeout: Query timeout in seconds (default: 30)show_execution_time: Show actual execution time (true/1 or false)
Example:
dsn: "root:password@tcp(localhost:3306)/mydb"
query: "SELECT * FROM users WHERE email = '[email protected]'"
type: "analyze"
Note: This tool executes EXPLAIN on the query, not the query itself. Use show_execution_time to also run and time the actual query.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mysql-explain?
MySQL EXPLAIN query analyzer: supports EXPLAIN, EXPLAIN ANALYZE, EXPLAIN FORMAT. Shows query execution plan, index usage, and estimated costs.
Как установить скилл mysql-explain?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mysql-explain запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
patterns
AnthropicFind patterns worth sharing from recent PRs and repo history, both repeats to fix and good practices worth spreading. Use when a champion wants to know what…
copilot-cli-quickstart
GitHubUse this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and…
vardoger-analyze
GitHubUse when the user asks to personalize the GitHub Copilot CLI assistant, adapt Copilot to their style, use vardoger, or analyze their Copilot CLI conversation…
policy-lookup
AnthropicFind and explain company policies in plain language. Trigger with "what's our PTO policy", "can I work remotely from another country", "how do expenses work"…