From ms-copilot-platform
Use when the user wants to build, create, develop, or scaffold AI agents on the Microsoft platform — including declarative agents, custom engine agents, Copilot Studio, Azure AI Foundry, and the M365 Agents SDK. Also triggers for agent type selection, agent review and improvement, multi-agent systems, and choosing between zero-code, low-code, and pro-code paths.
npx claudepluginhub bmarcurella/claude-marketplace --plugin ms-copilot-platformThis skill uses the workspace's default tool permissions.
This skill guides users through building AI agents on the Microsoft platform. It uses the
references/agent-plan-template.mdreferences/copilot-studio-guide.mdreferences/custom-engine-agents-guide.mdreferences/declarative-agents-guide.mdreferences/execution-modes.mdreferences/foundry-guide.mdreferences/infrastructure-requirements.mdreferences/orchestration-frameworks.mdreferences/path-selection-matrix.mdreferences/project-templates.mdreferences/protocols-guide.mdreferences/review-checklist.mdreferences/zero-code-agents.mdGenerates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
This skill guides users through building AI agents on the Microsoft platform. It uses the Microsoft Agents Toolkit as the default scaffolding and development tool for all pro-code agents. The workflow is conversational — not an interrogation.
Do NOT ask a long list of discovery questions. Instead:
If you need clarification, ask ONE focused follow-up — not a checklist.
Ask the user:
"Describe what you want your agent to do, who will use it, and where it should live."
From their answer, infer these decisions:
| Decision | How to Infer |
|---|---|
| Agent type | Does it need its own AI model or custom orchestration? → Custom Engine. Otherwise → Declarative. Does it need no code at all? → Redirect to Agent Builder or Copilot Studio. |
| Language | What does the user already work in? Default to Python for data/AI users, C# for .NET/enterprise, TypeScript for web/JS developers. If unclear, recommend Python (widest AI ecosystem). |
| Framework | Semantic Kernel for Microsoft-integrated agents. LangChain for complex reasoning chains. If simple, no framework needed — just the Agents SDK directly. |
| Connectors | What systems did they mention? Map to MCP servers, OpenAPI plugins, Graph API, or Power Platform connectors. |
| Hosting | Azure Container Apps for most custom engine agents. Azure App Service for simpler deployments. No hosting needed for declarative agents. |
| Channels | Did they mention Teams, Copilot, web, email? Default to M365 Copilot + Teams unless stated otherwise. |
Not everything needs pro-code. Redirect when appropriate:
| Signal in User's Description | Redirect To |
|---|---|
| "Just answer questions from our SharePoint site" | SharePoint Agent (zero code, 2 minutes) |
| "Simple Q&A with custom instructions" | Agent Builder in Copilot Chat |
| "Connect to Salesforce/SAP/ServiceNow with workflows" | Copilot Studio (visual builder, 1000+ connectors) |
| "No code" / "I've never coded" | Copilot Studio or Agent Builder |
For these paths, read references/zero-code-agents.md or references/copilot-studio-guide.md
and guide accordingly. The rest of this workflow assumes the Agents Toolkit path.
Present your best recommendation with reasoning. One recommendation, not three — the user can ask for alternatives if they want them.
Format:
RECOMMENDATION: [Agent Name]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Type: [Declarative Agent | Custom Engine Agent]
Language: [Python | C# | TypeScript]
Framework: [Semantic Kernel | LangChain | Agents SDK only]
Scaffold: agents-toolkit new [template-name]
Hosting: [Azure Container Apps | App Service | None (declarative)]
Channels: [M365 Copilot, Teams, Web, etc.]
Connectors & Data:
- [Connector/MCP server 1] — [what it provides]
- [Connector/MCP server 2] — [what it provides]
Why this approach:
[2-3 sentences explaining the reasoning — why this type, why this framework,
why these connectors. Mention what alternatives exist and why you didn't
recommend them.]
Wait for the user to confirm or adjust before proceeding.
Consult references/path-selection-matrix.md for the decision logic behind recommendations.
Once confirmed, produce a focused plan. This plan also becomes the source for the project CLAUDE.md that gets generated during scaffolding (see platform-builder skill).
AGENT PLAN: [Agent Name]
━━━━━━━━━━━━━━━━━━━━━━━
1. SCAFFOLD
Command: agents-toolkit new [template] --lang [language]
Creates: [brief description of the project structure]
2. CONFIGURE
- Agent instructions (system prompt / instructions.md)
- Knowledge sources: [list]
- Actions/Tools: [list with brief description of each]
- Manifest settings: [key configurations]
3. CONNECT
- [Data source 1]: via [MCP server | OpenAPI plugin | connector]
- [Data source 2]: via [method]
- Authentication: [Entra ID setup needed]
4. TEST
- Local: Agents Toolkit test harness / Agents Playground
- Integration: [specific test scenarios]
5. DEPLOY
- Target: [Azure Container Apps | App Service | Copilot sideload]
- CI/CD: [GitHub Actions | Azure DevOps]
- Governance: Agent 365 registration
ENVIRONMENT NEEDED:
[List of VS Code extensions, CLIs, MCP servers, and licenses required.
The platform-builder skill will check these and help install what's missing.]
Read references/agent-plan-template.md for the full plan template with all fields.
After plan approval, hand off to the platform-builder skill for execution. That skill:
The user chooses how they want to work:
Read references/execution-modes.md for detailed guidance on each mode.
The Microsoft Agents Toolkit (VS Code extension + CLI) is the standard way to create, test, and deploy agents for the Microsoft platform.
Consult references/project-templates.md for the full Agents Toolkit template catalog,
including exact scaffold commands and what each template produces. Use
microsoft_docs_search to verify current template names — they update frequently.
No Code ◄──────────────────────────────────────────────► Full Pro-Code
SharePoint Agent Copilot Copilot Studio Declarative Custom Engine
Agent Builder Studio Lite Full Agent (Toolkit) Agent (SDK)
▲
Azure AI Foundry
(backend hosting)
references/zero-code-agents.md.references/copilot-studio-guide.md.references/declarative-agents-guide.md.references/custom-engine-agents-guide.md.references/foundry-guide.md.For custom engine agents that need orchestration beyond basic tool-calling:
| Framework | Best For | Integration |
|---|---|---|
| Semantic Kernel | Microsoft-native, function calling, memory, planners | First-class — Microsoft maintains it |
| LangChain / LangGraph | Complex reasoning chains, large tool ecosystem | Supported — Python and JS |
| Agents SDK only | Simple tool-calling, no complex orchestration | Built-in — no extra dependency |
Read references/orchestration-frameworks.md for detailed comparison.
Read references/protocols-guide.md for implementation patterns.
When reviewing an existing agent (or one just built), assess these dimensions.
Read references/review-checklist.md for the detailed checklist.
Quick Review — 5 Questions:
Always use microsoft_docs_search and microsoft_docs_fetch to verify:
Do not guess at syntax or template names — look them up.
references/path-selection-matrix.md — Decision logic for agent type selectionreferences/agent-plan-template.md — Full agent design plan templatereferences/execution-modes.md — Guided vs autonomous vs hybrid build detailsreferences/project-templates.md — Agents Toolkit template catalog and scaffold commandsreferences/zero-code-agents.md — SharePoint Agent and Agent Builder guidereferences/copilot-studio-guide.md — Copilot Studio development guidereferences/declarative-agents-guide.md — Declarative agents with Agents Toolkitreferences/custom-engine-agents-guide.md — Custom engine agents, SDK, A2A, MCPreferences/foundry-guide.md — Azure AI Foundry agent developmentreferences/infrastructure-requirements.md — Docker, Python, Bicep, Azure setupreferences/orchestration-frameworks.md — Semantic Kernel, LangChain, etc.references/protocols-guide.md — A2A, MCP, and OpenAPI integration patternsreferences/review-checklist.md — Agent review and improvement checklist