AGENT SKILL

Copilot Studio 主题列举

list-topics

列出 Copilot Studio 智能体中的所有主题(topics)及其触发类型、触发短语和操作计数。当用户想查看存在哪些主题时使用。

适用职业AI 工程师
使用场景智能体开发
License 许可
MIT
最近更新
2026-11-12
Stars
★ 493
Forks
103

01 前言 Front Matter

description
List all topics in the Copilot Studio agent with their trigger types, phrases, and action counts. Use when the user wants to see what topics exist.
allowed-tools
Read, Glob, Grep
user-invocable
false

03 SKILL.md 正文

List Topics in Solution

List all topics in the current agent with their trigger types and details.

Instructions

  1. Auto-discover the agent directory — find all agents via:

    Glob: **/agent.mcs.yml
    
    • If multiple agents found, list them and ask which one to inspect.
    • NEVER hardcode an agent name or path.
  2. Find all topic files in the discovered agent directory:

    Glob: <discovered-agent>/topics/*.topic.mcs.yml
    
  3. For each topic file, read it and extract:

    • Topic name (from the # Name: comment or filename)
    • Trigger type (from beginDialog.kind)
    • Trigger phrases (if OnRecognizedIntent, from triggerQueries)
    • Number of actions in the actions array
    • Dialog references (any BeginDialog or ReplaceDialog calls)
  4. Present results in a table:

    | # | Topic Name | Trigger | Phrases | Actions | Calls |
    |---|------------|---------|---------|---------|-------|
    | 1 | Greeting   | OnRecognizedIntent | Hello, Hi, Hey | 2 | - |
    | 2 | Fallback   | OnUnknownIntent | - | 4 | Escalate |
    
  5. Note any system topics (OnError, OnSelectIntent, OnSignIn) that should be modified with care.

04 同仓库更多 Skills

microsoft
microsoft/skills-for-copilot-studio

Copilot Studio YAML 校验

validate

使用 LSP 二进制文件的完整诊断能力(YAML 结构、Power Fx、schema、跨文件引用)校验 Copilot Studio 智能体的 YAML 文件。当用户要求检查、验证或核对 YAML 文件时使用。

AI 工程师智能体开发
★ 493
microsoft
microsoft/skills-for-copilot-studio

Copilot Studio 测试身份验证

test-auth

为 Copilot Studio 评估 API 和 SDK 聊天进行身份验证。缓存一个在 run-eval 和 chat-sdk 技能之间共享的令牌。在任何评估或 SDK 聊天工作流之前运行此技能。要求使用具有 MakerOperations 和 Copilots.Invoke 权限的 App Registration。

AI 工程师智能体开发
★ 493
microsoft
microsoft/skills-for-copilot-studio

Copilot Studio Kit 批量测试

run-tests-kit

通过 Copilot Studio Kit (Dataverse API) 运行批量测试套件。使用 Power CAT Copilot Studio Kit 对已发布的智能体执行测试用例,并生成包含延迟的通过/失败结果。要求环境中已安装 Kit、具有 Dataverse 权限的 App Registration,以及已发布的智能体。

AI 工程师测试与质量保障
★ 493
microsoft
microsoft/skills-for-copilot-studio

Copilot Studio 智能体评估运行

run-eval

通过 Power Platform Evaluation API 对 Copilot Studio 智能体运行评估。适用于草稿(DRAFT)智能体——无需发布步骤。列出测试集、启动运行、轮询直至完成、获取结果,并针对失败提出 YAML 修复建议。当用户希望在不发布的情况下测试智能体更改时使用。

AI 工程师智能体开发
★ 493
microsoft
microsoft/skills-for-copilot-studio

Copilot Studio 主题创建

new-topic

创建一个新的 Copilot Studio 主题(topic)YAML 文件。当用户要求为其智能体创建新主题、对话流程或对话框时使用。

AI 工程师智能体开发
★ 493
microsoft
microsoft/skills-for-copilot-studio

Copilot Studio 智能体管理

manage-agent

通过 VS Code 扩展的 LanguageServerHost LSP 二进制文件推送/拉取 Copilot Studio 智能体内容。处理身份验证(推送/拉取使用交互式浏览器登录,聊天令牌使用设备代码流)、同步推送、同步拉取、克隆和差异比较操作。

AI 工程师智能体开发
★ 493