azure-role-selector
它能做什么
这个智能体可以帮你为 Azure 中的某个人选择合适的权限。它能确保对方只拿到完成工作所需的权限,不多给。
适用场景
- ✓当你需要在 Azure 中为某人授权时。
- ✓当你想确保对方只能做他需要做的事情时。
- ✓当你需要帮助正确设置权限时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/azure-role-selector/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想给一位新员工开通管理虚拟机的权限,但不希望他能删除所有东西。我应该用哪个权限?”
每周 5 个新技能,1 分钟读完。
工作原理
它会在 Azure 中搜索可用的权限,找到最合适的那一个。如果找不到现成的权限,它就会创建一个自定义权限。然后,它会展示如何应用这个权限,并提供代码来简化设置过程。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
常见问题
什么是“最小权限”?
指只授予对方完成工作所必需的权限,避免带来安全风险。
什么是 Azure?
Azure 是 Microsoft 的云计算服务,可以用来创建和管理应用程序及各类服务。
什么是 CLI 命令和 Bicep?
它们是通过文本向 Azure 下达指令的方式,就像一段“代码”,用来设置权限。
详情
作者的原始描述
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.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7086
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。