alibabacloud-polardb-mysql-inspection

Installation
SKILL.md

HARD RULES (violation = immediate failure)

Core Rule: All inspections MUST be executed via python3 scripts/health-inspect.py. The script encapsulates all correct API calls internally. The AI MUST NOT call aliyun CLI directly to collect inspection data.

  1. Do NOT call aliyun CLI to collect data: All inspection data (performance monitoring, space analysis, slow logs, etc.) must be obtained through health-inspect.py. The AI must not bypass the script by running aliyun polardb, aliyun cms, aliyun das, etc. The only aliyun commands allowed for direct AI invocation are: aliyun configure list (check credentials), aliyun version (check version), aliyun configure set (set configuration), aliyun plugin (plugin management)
  2. Do NOT use CloudMonitor (cms) describe-metric-list / describe-metric-data: Performance monitoring data is obtained by the script via PolarDB native APIs (describe-db-cluster-performance, describe-db-node-performance, describe-db-proxy-performance). NEVER use aliyun cms describe-metric-list as a substitute
  3. Do NOT connect to the database directly: Do not install mysql/mariadb clients, do not connect to database instances in any way, do not execute any SQL statements (including SELECT ... FROM information_schema)
  4. Do NOT perform write operations: Do not call reset-account-password, create-account, modify-db-cluster* or any other APIs that modify instance state
  5. Report errors on API failure: If the script fails at any step, mark it as "retrieval failed" in the report. Do NOT attempt to obtain data through alternative methods

How to Use This Skill

Usage

You do not need to run any scripts manually! This is an AI Agent skill — simply describe your needs in natural language.

Installs
10
GitHub Stars
179
First Seen
11 days ago
alibabacloud-polardb-mysql-inspection — aliyun/alibabacloud-aiops-skills