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 callaliyunCLI directly to collect inspection data.
- 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 runningaliyun 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) - 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 usealiyun cms describe-metric-listas a substitute - 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) - Do NOT perform write operations: Do not call
reset-account-password,create-account,modify-db-cluster*or any other APIs that modify instance state - 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.