What problem does it solve?
This skill eliminates guesswork when TiDB Cloud clusters experience latency spikes, OOM, hotspots, slow queries, lock contention, or scaling issues. It provides a structured triage-then-read methodology to classify problems and load only the relevant diagnostic knowledge.
Core Features & Use Cases
- Triage-then-read pattern: Classify the performance problem first, then load only the relevant knowledge files from the knowledge directory.
- Multi-architecture support: Covers Dedicated, Starter/Essential, Premium, and BYOC architectures with product-line-specific metrics and procedures.
- Holistic cross-validation: Mandates TopSQL cross-validation for CPU hotspots and connects metrics with slow queries, logs, SQL statements, and conf profiling.
- Specialized routing: Automatically routes TiCDC health incidents and transaction-specific oncall issues to dedicated diagnosis skills.
Quick Start
Use the tidb-perf-diagnosis skill to diagnose the current TiDB Cloud performance issue by first classifying the primary symptom and then loading the relevant knowledge file for the cluster type.