‹ 首页

azure-role-selector

@boshi-xixixi · 收录于 5 天前 · 上游提交 2 个月前

When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege access and how to apply that role.

适合你,如果你需要为云资源分配最小权限角色。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add boshi-xixixi/traeskill/azure-role-selector
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- boshi-xixixi/traeskill/azure-role-selector
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify boshi-xixixi/traeskill/azure-role-selector
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
254GitHub stars
~208最小装载
~208含声明引用
~446文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 9cf38e6 · 表述以原文为准
它做什么

安装后,当用户询问为Azure身份分配角色时,Claude会查找满足所需权限的最小权限角色(内置或自定义),并生成CLI命令和Bicep代码来分配该角色。

什么时候触发

当用户询问应该给某个身份分配什么角色,或者要求按最小权限原则选择角色时触发。

装好后可以这样说
技能会查找满足只读的最小权限内置角色。
技能会生成自定义角色定义和CLI命令。
技能使用Bicep schema和最佳实践工具生成代码。
技能原文 SKILL.md作者撰写 · MIT · 9cf38e6

Use 'Azure MCP/documentation' tool to find the minimal role definition that matches the desired permissions the user wants to assign to an identity (If no built-in role matches the desired permissions, use 'Azure MCP/extension_cli_generate' tool to create a custom role definition with the desired permissions). Use 'Azure MCP/extension_cli_generate' tool to generate the CLI commands needed to assign that role to the identity and use the 'Azure MCP/bicepschema' and the 'Azure MCP/get_bestpractices' tool to provide a Bicep code snippet for adding the role assignment.

按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。