add-action
Guide users through adding a new connector action to a Copilot Studio agent. Connector actions require UI-based connection setup,…
Pattern library for Copilot Studio agent design. Contains proven and recommended implementation patterns with YAML examples. Used by the Advisor agent to suggest patterns and by the Author agent to reference YAML structure during implementation. USE FOR: design guidance, pattern
Claude Code
$ npx -y skills add microsoft/skills-for-copilot-studio --skill int-patterns --agent claude-code
Codex
$ npx skills add microsoft/skills-for-copilot-studio --skill int-patterns -a codex -y
Cursor
$ npx skills add microsoft/skills-for-copilot-studio --skill int-patterns -a cursor -y
Gemini CLI
$ npx skills add microsoft/skills-for-copilot-studio --skill int-patterns -a gemini-cli -y
GitHub Copilot
$ npx skills add microsoft/skills-for-copilot-studio --skill int-patterns -a github-copilot -y
OpenCode
$ npx skills add microsoft/skills-for-copilot-studio --skill int-patterns -a opencode -y
Windsurf
$ npx skills add microsoft/skills-for-copilot-studio --skill int-patterns -a windsurf -y
user-invocable: false name: int-patterns description: "Pattern library for Copilot Studio agent design. Contains proven and recommended implementation patterns with YAML examples. Used by the Advisor agent to suggest patterns and by the Author agent to reference YAML structure during implementation. USE FOR: design guidance, pattern suggestions, review against best practices, troubleshooting known pitfalls, YAML reference during implementation. DO NOT USE FOR: general YAML schema reference (use int-reference), topic creation mechanics (use new-topic)." context: fork
**Only read the pattern file relevant to the current task** — do NOT read all files.
Patterns are **recommendations, not requirements**. How you present them depends on your role:
**If you are the Advisor agent:**
**If you are the Author agent:**
Loads customer-specific acronyms into a global variable on first message so the orchestrator can expand them before searching knowledge sources.
**Read this pattern when:**
Loads the current user's M365 profile (country, department) into global variables for personalized answers.
**Read this pattern when:**
Uses a Switch expression inside a BeginDialog node to route to different topics based on a variable.
**Read this pattern when:**
Stops child agents from messaging users directly by instructing them to use output variables.
**Read this pattern when:**
Injects the current date into agent instructions using Power Fx for accurate date-relative responses.
**Read this pattern when:**
Uses AutomaticTaskInput to classify or extract structured data from the user's message at orchestration time — zero extra cost or latency.
**Read this pattern when:**
Stops the orchestrator from leaking internal reasoning and tool call metadata to the end user.
**Read this pattern when:**
Detects the host channel from `System.Activity.ChannelId` and gates behavior per surface (Teams, M365 Copilot, web chat, Direct Line, voice).
**Read this pattern when:**
Classifies Azure OpenAI content-filter errors by subcode in the OnError topic and returns category-specific user messages with telemetry. Azure OpenAI models only — does not work with Anthropic or xAI models.
**Read this pattern when:**
A plugin for Claude Code, GitHub Copilot CLI, and VS Code that enables authoring, testing, and troubleshooting Microsoft Copilot Studio STANDARD agents through YAML files — directly from your terminal or editor.
Guide users through adding a new connector action to a Copilot Studio agent. Connector actions require UI-based connection setup,…
Generate and insert an Adaptive Card into a Copilot Studio topic using AdaptiveCardPrompt. Use when the user asks to add an…
Add generative answer nodes (SearchAndSummarizeContent or AnswerQuestionWithAI) to a Copilot Studio topic. Use this instead of…
Add a global variable to a Copilot Studio agent. Use when the user needs a variable that persists across topics in the same…
Add a knowledge source (public website or SharePoint) to a Copilot Studio agent. Use when the user asks to add a knowledge…
Add or modify a node in an existing Copilot Studio topic. Use when the user asks to add a question, message, condition, variable,…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…