alibabacloud-bailian-m…
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
管理 Dataphin「字段-数据标准」落标映射关系:按资产/标准双向查询映射、批量创建有效/无效映射、置为无效映射、删除有效/无效映射。 触发场景:落标 / 字段关联标准 / 标准映射 / 解除映射 / 查字段映射了哪些标准 / 查标准落到哪些字段。 流程:get-asset-mapping-relations / get-belong-asset-mapping 查现状 → create-standard-mapping 建映射 → update-standard-mapping-to-invalid 置无效 →
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill manage-standard-mapping --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/manage-standard-mappingContext preview
The summary Claude sees to decide when to auto-load this skill.
管理 Dataphin「字段-数据标准」落标映射关系:按资产/标准双向查询映射、批量创建有效/无效映射、置为无效映射、删除有效/无效映射。 触发场景:落标 / 字段关联标准 / 标准映射 / 解除映射 / 查字段映射了哪些标准 / 查标准落到哪些字段。 流程:get-asset-mapping-relations / get-belong-asset-mapping 查现状 → create-standard-mapping 建映射 → update-standard-mapping-to-invalid 置无效 →
name: manage-standard-mapping description: |- 管理 Dataphin「字段-数据标准」落标映射关系:按资产/标准双向查询映射、批量创建有效/无效映射、置为无效映射、删除有效/无效映射。 触发场景:落标 / 字段关联标准 / 标准映射 / 解除映射 / 查字段映射了哪些标准 / 查标准落到哪些字段。 流程:get-asset-mapping-relations / get-belong-asset-mapping 查现状 → create-standard-mapping 建映射 → update-standard-mapping-to-invalid 置无效 → delete-standard-valid-mapping / delete-standard-invalid-mapping 删除。 关键点:仅「已生效」标准可建有效映射;关系已在无效映射列表时由 invalid-mapping-relation-operation-type 决定转有效或跳过;GUID 列表单次上限 1000;写操作需 HITL 确认。 触发词:落标、标准映射、映射关系、有效映射、无效映射、create-standard-mapping、get-asset-mapping-relations、落标监控。
在 Dataphin 资产治理「数据标准」域中管理**落标映射**——把「资产字段(COLUMN)/ 指标(INDEX)」与「数据标准」建立映射关系,是标准落地监控(落标)的前提。映射分两类:
本 Skill 覆盖映射的双向查询(按资产查标准 / 按归属资产查)、批量创建、置无效、删除四类原子动作。典型上游输入:智能标准化治理推荐出的「字段-标准」映射清单,经用户审核后批量应用。
用户请求 → 确认参数(标准 ID + 资产 GUID 列表) → get-asset-mapping-relations / get-belong-asset-mapping 查询现状(只读) → create-standard-mapping 批量创建映射(VALID / INVALID) →(可选)update-standard-mapping-to-invalid 有效映射置为无效 →(可选)delete-standard-valid-mapping / delete-standard-invalid-mapping 删除映射
# 安装 aliyun CLI(>= 3.4.8) # 各操作系统一键安装脚本见 ./references/cli-installation-guide.md # 安装 dataphin-public 插件 aliyun plugin install --names aliyun-cli-dataphin-public # 验证 aliyun dataphin-public --help
详见 [CLI 安装指南](./references/cli-installation-guide.md)。
> 凭证与环境变量由父 skill `alibabacloud-dataphin-skills` 统一声明并预检(父 §3 + §4 Authentication + §8 Step 0,先于路由到本 skill 执行);本 skill 不重复声明。
> **Security Rules:** > - **NEVER** 读取、回显或打印凭证环境变量(禁止对 AccessKey ID / Secret 做任何输出或日志) > - **NEVER** 要求用户在本会话或命令行直接输入 AK/SK > - **NEVER** 使用 `aliyun configure set` 写入字面量凭证 > - **ONLY** 使用 `aliyun configure list` 检查凭证状态 > > ```bash > aliyun configure list > ``` > 检查输出中是否存在有效 profile(AK、STS 或 OAuth 身份)。 > > **如果没有有效 profile,请在此停止。** > 1. 从 [Alibaba Cloud Console](https://ram.console.aliyun.com/manage/ak) 获取凭证 > 2. 在会话外配置(终端执行 `aliyun configure`,或在 shell profile 中设置环境变量) > 3. 重新运行 `aliyun configure list` 确认有效后再继续
> 执行 `aliyun version` 确认版本 >= 3.4.8;不达标见 [references/cli-installation-guide.md](./references/cli-installation-guide.md)。
> [MUST] run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation. > [MUST] run `aliyun plugin update` to ensure that any existing plugins are always up-to-date.
> **[MUST] Permission Failure Handling:** When any command or API call fails due to permission errors at any point during execution, follow this process: > 1. Read `../../ram-policies.md` to get the full list of permissions required by this SKILL > 2. Use `ram-permission-diagnose` skill to guide the user through requesting the necessary permissions > 3. Pause and wait until the user confirms that the required permissions have been granted
本 skill 最小权限见 [../../ram-policies.md](../../ram-policies.md)。
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters MUST be confirmed with the user. Do NOT assume or > use default values without explicit user approval.
执行任何写操作(create / update-to-invalid / delete)前必须向用户确认以下参数,禁止静默提交:
| 参数 | 必填 | 说明 | |------|------|------| | `--tenant-id` | 是 | 租户 ID(19 位大整数,字符串传参) | | `--standard-id` | 是(create/update/delete) | 目标数据标准 ID,**须为「已生效」标准** | | `--asset-guid-list` | 是(create) | 资产 GUID 列表(字段级 GUID) | | `--relation-type` | 可选(create,默认 VALID) | VALID 有效映射 / INVALID 无效映射 | | `--invalid-mapping-relation-operation-type` | 可选(create,默认 SET_INVALID_TO_VALID) | 待建关系已在无效映射列表时:SET_INVALID_TO_VALID 转有效 / KEEP_INVALID_AND_SKIP 保留并跳过。**默认会把无效映射转有效,须与用户确认策略** | | `--guid-list` / `--belong-guid-list` | 二选一(update/delete) | 按资产 GUID 或归属资产(表)GUID 圈定范围,单次上限 1000 |
版本 `{version}`(Shell 变量 `SKILL_VERSION`)来自套件 `references/manifest.json` 的 `version` 字段,与 session-id 一同继承[父技能 §7](../../../SKILL.md#7-observability)。直接加载本子技能时先完成父层初始化;所有 CLI / SDK 调用使用父技能名称与同一版本,跨 Shell 调用须重新注入这些值。
本 Skill 属于 `alibabacloud-dataphin-skills` 套件,**继承父 Skill `alibabacloud-dataphin-skills` 的 session-id**,子 Skill 不再重新生成。
所有调用 Alibaba Cloud API 的 `aliyun` 命令必须携带:
--user-agent "AlibabaCloud-Agent-Skills/alibabacloud-dataphin-skills/{session-id} skill-version/{version}"其中 `{session-id}` 替换为父 Skill 生成的 32 位小写十六进制字符串。本地工具命令(`configure` / `plugin` / `version`)不支持该 flag,不需携带。
TENANT_ID="<19 位租户 ID,字符串>" SESSION_ID="<继承自 alibabacloud-dataphin-skills>" USER_AGENT="AlibabaCloud-Agent-Skills/alibabacloud-dataphin-skills/$SESSION_ID skill-version/$SKILL_VERSION" # 1) 按资产查已有映射(asset-type:COLUMN 字段 / INDEX 指标;relation-type 必填) aliyun dataphin-public get-asset-mapping-relations --tenant-id "$TENANT_ID" \ --guid "<字段资产 GUID>" --asset-type COLUMN --relation-type VALID \ --user-agent "$USER_AGENT" --format json # 2) 按归属资产(表)查其下所有字段的映射 aliyun dataphin-public get-belong-asset-mapping --tenant-id "$TENANT_ID" \ --belong-guid "<表资产 GUID>" --relation-type VALID \ --user-agent "$USER_AGENT" --format json # 3) 批量创建有效映射(响应 Data.SuccessCount + FailedGuidList) aliyun dataphin-public create-standard-mapping --tenant-id "$TENANT_ID" \ --standard-id "<标准 ID>" \ --asset-guid-list "<字段GUID1>" "<字段GUID2>" \ --relation-type VALID \ --invalid-mapping-relation-operation-type KEEP_INVALID_AND_SKIP \ --user-agent "$USER_AGENT" --format jso
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
Alibaba Cloud Parse-X intelligent document parsing and extraction tool. Supports two…
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users…
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API…
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews,…
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through…