LeoYeAI/agent-master-skills / skills/architecture-visualization-governance
architecture-visualization-governance
UnverifiedVisualize and govern your cloud architectures. Get architecture assessments, risk heatmaps, and compliance dashboards in one place.
references/api/CreateAdvisorAuthorization.md
View on GitHub# CreateAdvisorAuthorization — 开启智能顾问授权
开启智能顾问授权。会同步开启报告解读和云架构协作权限。
> **⚠️ 重要**:此接口为**写入操作**,会开通智能顾问服务。**必须在用户明确同意后才能调用**,严禁自动调用。
## 参数
无业务参数,直接传空 JSON `{}` 即可。
## 调用示例
```bash
python3 {baseDir}/scripts/tcloud_api.py \
advisor \
advisor.tencentcloudapi.com \
CreateAdvisorAuthorization \
2020-07-21 \
'{}'
```
## 返回示例
```json
{
"success": true,
"action": "CreateAdvisorAuthorization",
"data": {
"Message": "Already authorized"
},
"requestId": "97aa2227-1814-4d39-9470-dadca094be1f"
}
```
## 返回字段说明
| 字段 | 类型 | 说明 |
|------|------|------|
| `Message` | String | 返回信息,如 `"Already authorized"` 表示已开通 |
## 使用场景
当用户查询智能顾问数据时返回空结果或提示未授权,可能是当前账号尚未开通智能顾问服务。此时应:
1. **告知用户**当前账号可能未开通智能顾问,询问是否需要开通
2. **等待用户明确同意**后才可调用此接口
3. 调用成功后,提示用户智能顾问已开通,可重新查询
## 展示规则
调用前向用户展示:
```
当前账号(AK/SK 对应账号)似乎尚未开通智能顾问服务。
开通智能顾问后,将同步开启报告解读和云架构协作权限。
是否同意开通智能顾问服务?
```
调用成功后向用户展示:
```
✅ 智能顾问服务已成功开通!现在可以正常使用架构图管理、风险评估等功能。
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |