---
title: "Build and refactor Copilot Studio agents as YAML from coding-agent workflows"
description: "Author, validate, test, and troubleshoot Copilot Studio agents through YAML-driven commands instead of clicking through the product UI."
verification: "listed"
source: "https://github.com/microsoft/skills-for-copilot-studio"
author: "Microsoft"
publisher_type: "organization"
category:
  - "Templates & Workflows"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "microsoft/skills-for-copilot-studio"
  github_stars: 166
---

# Build and refactor Copilot Studio agents as YAML from coding-agent workflows

Author, validate, test, and troubleshoot Copilot Studio agents through YAML-driven commands instead of clicking through the product UI.

## Prerequisites

Claude Code or GitHub Copilot CLI or VS Code, Node.js 18+, Copilot Studio extension for sync flows

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Install from the plugin marketplace or clone the repo and install it as a plugin, then use the `/copilot-studio:*` commands to author, manage, test, and troubleshoot Copilot Studio agents.
```

## Documentation

- https://github.com/microsoft/skills-for-copilot-studio#readme

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-and-refactor-copilot-studio-agents-as-yaml/)
