Agent skill · aliyun
alibabacloud-polardbx-ops
Manage Alibaba Cloud PolarDB-X instance lifecycle and routine operations via the Aliyun CLI. Use when the user asks to create, delete, restart, scale, modify, monitor, or inspect PolarDB-X instances. Triggers: "polardb-x", "polardbx", "create polardb-x", "delete polardb-x", "restart polardb-x", "scale polardb-x", "upgrade polardb-x", "describe polardb-x", "polardb-x instance", "polardb-x parameters", "polardb-x slow log", "polardb-x performance", "polardb-x binlog
What it needs
About 9k tokens when loaded.
What this skill does
PolarDB-X Instance Management Manage Alibaba Cloud PolarDB-X instances through the aliyun polardbx CLI: instance lifecycle, scaling, parameter management, monitoring, and logs. This skill uses intent routing: identify the user's intent, run pre-flight checks, then load the relevant module reference document fully before generating any CLI command. --- Architecture Extended Modules The following modules cover the full PolarDB-X (2020-02-02) API surface. See each reference file for the complete API spec. --- Requirement Analysis Before routing, analyze the user request: 1. Identify intent: create / delete / restart / describe / list / scale / modify parameters / view monitoring / view logs. 2. Extract required parameters: RegionId, instance identifier (DBInstanceName or DBInstanceId), EngineVersion, DBInstanceClass, node counts, time ranges, etc. 3. If any required parameter is missing, ask the user. Do NOT guess values or APIs. 4. After intent and parameters are clear, load the matched reference document fully, then construct the CLI command. --- Pre-flight Checks Run these checks at the start of every skill invocation. Only load the referenced document if a check fails. If step 1/2/3/5 fails, read references/cli-installation-guide.md; if step 4 fails, read references/ram-policies.md. 1. aliyun CLI version Success: Output contains Alibaba Cloud Command Line Interface Version and the version is >= 3.3.3. Failure: Read references/cli-installation-guide.md section 1. 2. aliyun CLI plugin and configuration Success: aliyun configure list shows at least one valid profile (AK, STS, or OAuth identity). Failure: Read references/cli-installation-guide.md sections 2 and 3. 3. Caller identity Success: Returns JSON with AccountId, UserId, and Arn. Failure: Read references/cli-installation-guide.md section 4. 4. RAM permissions Success: Returns an instance list or empty list without permission errors. Failure: Read references/ram-policies.md. 5. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aliyun/alibabacloud-polardbx-ops