harbor-capability-discovery
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseUse this skill when the agent needs to understand what Harbor capabilities are available before attempting an execution or approval-sensitive workflow.
当Agent需要在尝试执行或处理需要审批的工作流之前,了解Harbor有哪些可用功能时,请使用此技能。
Rules
规则
- Use Harbor CLI or API only.
- Never read Harbor's database directly.
- Treat published capabilities as the only executable source of truth.
- Summarize findings using capability, grant, approval, and execution terminology.
- 仅允许使用Harbor CLI或API。
- 禁止直接读取Harbor的数据库。
- 将已发布的功能视为唯一可执行的可信来源。
- 使用功能、授权、审批、执行相关术语总结结果。
Discovery loop
探索流程
- Confirm Harbor reachability and identity as needed with and
harbor status --plain.harbor auth whoami --plain - Run to list available published capabilities.
harbor ls --plain - If a target capability is known, inspect it with .
harbor inspect <capability> --plain - Distinguish capability discovery from grant state. Do not imply access just because a capability is listed.
- If the next workflow is blocked on grant or execution approval, surface the and tell the owner to run
approval_id.harbor approve <approvalId> --yes --plain - If a capability depends on owner-managed secrets, use ,
harbor secrets ls --plain, andharbor secrets inspect <name> --plain.harbor secrets set <name> --value <value> --plain - Summarize the relevant capabilities, grant blockers, secret blockers, and the next safe Harbor action.
See .
references/discovery-flow.md- 按需通过和
harbor status --plain确认Harbor的可达性和身份信息。harbor auth whoami --plain - 运行列出所有已发布的可用功能。
harbor ls --plain - 如果已知目标功能,使用查看其详情。
harbor inspect <capability> --plain - 区分功能发现与授权状态,不要因为某个功能被列出就默认拥有访问权限。
- 如果后续工作流因授权或执行审批被阻塞,展示并告知所有者运行
approval_id。harbor approve <approvalId> --yes --plain - 如果某个功能依赖所有者管理的密钥,使用、
harbor secrets ls --plain和harbor secrets inspect <name> --plain命令处理。harbor secrets set <name> --value <value> --plain - 总结相关功能、授权阻碍、密钥阻碍以及下一个安全的Harbor操作。
参见。
references/discovery-flow.md