/SKILL.md
Route database work on Kubernetes to the right KubeBlocks skill. Use this as the top-level entrypoint when the user needs a database, database operations, or database observability on Kubernetes. The root skill only decides the next hop; detailed workflows live in the leaf skills.
npx skillsauth add apecloud/kubeblocks-skills kubeblocksInstall 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.
This root skill is a router only. It should decide the next step, not re-explain every workflow.
Use README.md for repository overview, installation instructions, and the full skill catalog.
Always route in this order:
No Kubernetes cluster yet Route to create-local-k8s-cluster.
Kubernetes exists, but KubeBlocks is not installed Route to install-kubeblocks.
First-time provisioning, or environment readiness is unknown Route to kubeblocks-preflight before any engine-specific provisioning.
Provision a database after preflight
Operate an existing cluster Route to the matching Day-2 skill:
Observability
Troubleshooting Route to troubleshoot.
metrics-ready, scrape-ready, dashboard-ready, or alerting-ready.kubeblocks-preflight should produce an environment profile / recommendation bundle that downstream engine-entry skills can consume. At minimum it must answer:
storageClassNameWaitForFirstConsumer storage is requiredexisting-stack or bootstrap-stackpreflight first. Do not jump directly from install to addon provisioning.observability-existing-stack, not full monitoring bootstrap.other-addons fallback.devops
Expand persistent volume storage for KubeBlocks database clusters via OpsRequest. Requires the StorageClass to support volume expansion (allowVolumeExpansion=true). Use when the user needs more disk space, wants to increase storage, expand volumes, or resize PVCs. NOT for changing CPU/memory (see vertical-scaling) or adding more replicas (see horizontal-scaling). Note that volume shrinking is not supported by Kubernetes.
data-ai
Scale CPU and memory resources for KubeBlocks database clusters via OpsRequest (vertical scaling). Supports in-place updates when the feature gate is enabled. Use when the user wants to change, increase, decrease, resize, or adjust CPU or memory resources of a database cluster. NOT for adding/removing replicas or shards (see horizontal-scaling) or expanding disk storage (see volume-expansion).
data-ai
Upgrade the KubeBlocks operator itself via Helm. Covers update operator, upgrade to v1.0, update kubeblocks version, and CRD updates. Use when the user wants to upgrade KubeBlocks, update the operator, or upgrade to a new KubeBlocks release. NOT for upgrading database engine versions (see minor-version-upgrade).
development
Diagnostic guide for KubeBlocks-managed database clusters. Use when the user reports troubleshoot, debug, diagnose, not working, error, failed, stuck, CrashLoopBackOff, cluster exception, or similar problems with their database cluster. This skill guides the agent through diagnostic steps — it does NOT perform actions.