dba-guide
БесплатноБез исполняемых скриптовНе проверенDatabase engine guidance for MySQL, MariaDB, PostgreSQL, MongoDB, Amazon DocumentDB, Azure Cosmos DB, Couchbase, Redis, Valkey, Memcached, and Amazon…
от buYoung★ 21 звезда на GitHubОб этом скилле
DBA Guide
Give engine-specific judgment for designing, operating, and diagnosing databases. Base each answer on the product, deployment, and server version actually in use, and on evidence from that server when it is available.
Establish the Target
Identify the product and deployment: self-managed, container, Amazon RDS, Aurora, ElastiCache, MemoryDB, MongoDB Atlas, Couchbase Capella, a Cosmos DB API or Azure DocumentDB, or an Amazon DocumentDB instance-based or elastic cluster. Managed services remove settings, privileges, and diagnostics that self-hosted advice assumes, so on any of them read the engine's
managed-services.mdbefore recommending a command or setting.Establish the server version from the first available evidence: output from the user's server, then the engine version in infrastructure code or the managed console/API, then the user's statement. A driver, client, or ORM version is not the server version. Managed version labels do not always match the upstream series: Aurora MySQL version 3 is 8.0-compatible, ElastiCache 7.1 for Redis OSS is compatible with Redis OSS 7.0, and ElastiCache 8.2 for Valkey is upstream Valkey 8.1 plus valkey-search. Map the label through the product's index before choosing a version file. Ask for the command output below when the answer depends on it.
Open the product's
versions/index.mdand compare:- Covered series: read that series' file. For an upgrade, read every series file from source to target.
- A release between covered series without a file of its own (for example MySQL 9.0 to 9.6 or 26.7, MariaDB rolling releases between long-term series, Redis 7.0 or 8.4): the index names the file that carries its changes and gives its support status. Where the index says nothing, treat facts from the neighboring files as unverified for that release.
- Older than the covered range: say the series is outside the covered range and, where the index says so, out of support. Apply only version-independent guidance, name the official release notes to check, and lead with the upgrade path from the index. Do not attribute newer defaults to the older server.
- Newer than the covered range: read the official release notes for the newer series before stating version-specific facts, and say that the references stop at the covered range. If the notes cannot be read, answer from the newest covered file and mark which statements are unverified for the user's version.
- Unknown: answer the version-independent part, mark which conclusions depend on the version, and give the command that settles it.
On a managed service, offered versions and support dates follow the provider's calendar. Take them from the index or
managed-services.md, and give both dates when they differ from the vendor's. Support dates, newest patches, and offerings in the references are as of 2026-11-27; when the user's date or reported release is later, say so and name the lifecycle page from the index's Sources.Collect the workload facts the decision depends on: data size and growth, read/write mix, latency and consistency requirements, RPO/RTO, change windows, and replication topology.
| Product | Version evidence | Directory |
|---|---|---|
| MySQL | SELECT VERSION(), @@version_comment; Aurora: SELECT AURORA_VERSION(); |
mysql |
| MariaDB | SELECT VERSION(); (the string contains MariaDB) |
mariadb |
| PostgreSQL | SHOW server_version_num; or SELECT version(); Aurora: SELECT aurora_version(); |
postgresql |
| MongoDB | db.version() and db.adminCommand({getParameter: 1, featureCompatibilityVersion: 1}) on every member |
mongodb |
| Amazon DocumentDB | EngineVersion from aws docdb describe-db-clusters; patch level from db.runCommand({getEngineVersion: 1}). Do not read compatibility from db.version() or buildInfo |
documentdb |
| Azure Cosmos DB | API, capacity mode, and the MongoDB (RU) apiProperties.serverVersion from az cosmosdb show. Azure DocumentDB (formerly vCore-based Cosmos DB for MongoDB) is a separate cluster service that az cosmosdb show does not find; its MongoDB version is on the cluster's Overview page. Neither is Amazon DocumentDB |
cosmos-db |
| Couchbase | GET /pools on port 8091 (implementationVersion) or SELECT RAW DS_VERSION();; during an upgrade, clusterCompatVersion from /pools/default/terseClusterInfo |
couchbase |
| Redis | INFO server (redis_version); a server_name:valkey line means the server is Valkey |
redis |
| Valkey | INFO server (valkey_version; redis_version stays at the compatibility value 7.2.4) |
valkey |
| Memcached |
Установить dba-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dba-guide?
Database engine guidance for MySQL, MariaDB, PostgreSQL, MongoDB, Amazon DocumentDB, Azure Cosmos DB, Couchbase, Redis, Valkey, Memcached, and Amazon DynamoDB, including Amazon RDS, Aurora, ElastiCache, and MemoryDB as managed variants. Use for schema, document, key, and partition-key design; indexes, EXPLAIN output, and query tuning; transactions, isolation, locking, MVCC, and deadlocks; replication, failover, sharding, and consistency; backup, restore, and PITR; memory, storage, connection, and durability settings; authentication, privileges, TLS, and auditing; slow queries, latency, and monitoring; version upgrades and end-of-support planning; Cosmos DB API choice; and compatibility between engines, such as DocumentDB or Cosmos DB against MongoDB. Version-aware for each product's supported releases. Covers the engine's behavior, design, operation, and diagnosis; writing, converting, or type-checking Kysely TypeScript query code belongs to kysely-converter.
Как установить скилл dba-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dba-guide запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic