Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dba-guide

БесплатноБез исполняемых скриптовНе проверен

Database engine guidance for MySQL, MariaDB, PostgreSQL, MongoDB, Amazon DocumentDB, Azure Cosmos DB, Couchbase, Redis, Valkey, Memcached, and Amazon…

buYoungот 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

  1. 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.md before recommending a command or setting.

  2. 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.

  3. Open the product's versions/index.md and 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.

  4. 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
Полный SKILL.md на GitHub

Установить dba-guide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

evals/README.mdevals/evals.jsonreferences/cosmos-db/apis.mdreferences/cosmos-db/consistency-and-replication.mdreferences/cosmos-db/emulator.mdreferences/cosmos-db/mongodb-compatibility.mdreferences/cosmos-db/nosql-modeling-and-partitioning.mdreferences/cosmos-db/operations.mdreferences/cosmos-db/request-units-and-indexing.mdreferences/cosmos-db/versions/azure-documentdb.mdreferences/cosmos-db/versions/index.mdreferences/cosmos-db/versions/mongodb-ru-server-versions.mdreferences/cosmos-db/versions/rest-api-and-sdks.mdreferences/cosmos-db/versions/service-changes.mdreferences/couchbase/backup-and-recovery.mdreferences/couchbase/configuration-and-sizing.mdreferences/couchbase/data-modeling.mdreferences/couchbase/indexes-and-queries.mdreferences/couchbase/managed-services.mdreferences/couchbase/monitoring.mdreferences/couchbase/replication-and-xdcr.mdreferences/couchbase/security.mdreferences/couchbase/transactions-and-durability.mdreferences/couchbase/versions/7.2.mdreferences/couchbase/versions/7.6.mdreferences/couchbase/versions/8.0.mdreferences/couchbase/versions/index.mdreferences/cross-engine.mdreferences/documentdb/architecture-and-operations.mdreferences/documentdb/compatibility.mdreferences/documentdb/data-modeling-and-indexes.mdreferences/documentdb/versions/3.6.mdreferences/documentdb/versions/4.0.mdreferences/documentdb/versions/5.0.mdreferences/documentdb/versions/8.0.mdreferences/documentdb/versions/index.mdreferences/dynamodb/backup-and-recovery.mdreferences/dynamodb/capacity-and-performance.mdreferences/dynamodb/data-modeling.mdreferences/dynamodb/dynamodb-local.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить dba-guide с