|
| 1 | +--- |
| 2 | +name: ado-aw |
| 3 | +description: Azure DevOps Agentic Workflows (ado-aw) - Create, update, and debug AI-powered Azure DevOps agentic workflows |
| 4 | +--- |
| 5 | + |
| 6 | +# Azure DevOps Agentic Workflows Skill |
| 7 | + |
| 8 | +This skill helps you create and manage Azure DevOps agentic workflows using **ado-aw**. |
| 9 | + |
| 10 | +ado-aw compiles human-friendly markdown files with YAML front matter into secure, multi-stage Azure DevOps pipelines that run AI agents in network-isolated sandboxes. |
| 11 | + |
| 12 | +## Setup |
| 13 | + |
| 14 | +Before creating or compiling workflows, ensure the ado-aw compiler is available. Use the first-time installer for your platform: |
| 15 | + |
| 16 | +```bash |
| 17 | +# Linux |
| 18 | +curl -fsSL https://github.com/githubnext/ado-aw/releases/latest/download/install-linux.sh | sh |
| 19 | + |
| 20 | +# macOS (Apple Silicon) |
| 21 | +curl -fsSL https://github.com/githubnext/ado-aw/releases/latest/download/install-macos.sh | sh |
| 22 | + |
| 23 | +# Windows (PowerShell) |
| 24 | +$script = Join-Path $env:TEMP "install-ado-aw.ps1" |
| 25 | +Invoke-WebRequest "https://github.com/githubnext/ado-aw/releases/latest/download/install-windows.ps1" -UseBasicParsing -OutFile $script |
| 26 | +Get-FileHash $script -Algorithm SHA256 |
| 27 | +Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass |
| 28 | +& $script |
| 29 | +``` |
| 30 | + |
| 31 | +These scripts validate release checksums, install `ado-aw`, and update PATH when needed. |
| 32 | +If Windows reports a `UseShellExecute` environment-variable error, run these commands from your current PowerShell session instead of wrapping them in `powershell -Command`. |
| 33 | + |
| 34 | +Verify: `ado-aw --version` |
| 35 | + |
| 36 | +## What This Skill Does |
| 37 | + |
| 38 | +This is a **dispatcher skill** that routes your request to the appropriate specialized prompt: |
| 39 | + |
| 40 | +- **Creating new agentic workflows** → Routes to the create prompt |
| 41 | +- **Updating existing workflows** → Routes to the update prompt |
| 42 | +- **Debugging failing workflows** → Routes to the debug prompt |
| 43 | + |
| 44 | +## Available Prompts |
| 45 | + |
| 46 | +### Create New Agentic Workflow |
| 47 | +**Load when**: User wants to create a new agentic workflow from scratch |
| 48 | + |
| 49 | +**Prompt file**: https://raw.githubusercontent.com/githubnext/ado-aw/v{{ compiler_version }}/prompts/create-ado-agentic-workflow.md <!-- x-release-please-version --> |
| 50 | + |
| 51 | +**Use cases**: |
| 52 | +- "Create an agentic workflow that reviews PRs weekly" |
| 53 | +- "I need a workflow that triages work items daily" |
| 54 | +- "Design a scheduled dependency updater" |
| 55 | + |
| 56 | +### Update Existing Workflow |
| 57 | +**Load when**: User wants to modify an existing agent workflow file |
| 58 | + |
| 59 | +**Prompt file**: https://raw.githubusercontent.com/githubnext/ado-aw/v{{ compiler_version }}/prompts/update-ado-agentic-workflow.md <!-- x-release-please-version --> |
| 60 | + |
| 61 | +**Use cases**: |
| 62 | +- "Add the Azure DevOps MCP to my workflow" |
| 63 | +- "Change the schedule from daily to weekly" |
| 64 | +- "Add work item creation as a safe output" |
| 65 | + |
| 66 | +### Debug Failing Workflow |
| 67 | +**Load when**: User needs to troubleshoot a failing agentic workflow |
| 68 | + |
| 69 | +**Prompt file**: https://raw.githubusercontent.com/githubnext/ado-aw/v{{ compiler_version }}/prompts/debug-ado-agentic-workflow.md <!-- x-release-please-version --> |
| 70 | + |
| 71 | +**Use cases**: |
| 72 | +- "Why is my agentic workflow failing?" |
| 73 | +- "The agent can't reach the MCP server" |
| 74 | +- "Safe outputs aren't being processed" |
| 75 | + |
| 76 | +## Instructions |
| 77 | + |
| 78 | +When a user interacts with you: |
| 79 | + |
| 80 | +1. **Identify the task type** from the user's request |
| 81 | +2. **Load the appropriate prompt** from the URLs listed above |
| 82 | +3. **Follow the loaded prompt's instructions** exactly |
| 83 | +4. **If uncertain**, ask clarifying questions to determine the right prompt |
| 84 | + |
| 85 | +## Quick Reference |
| 86 | + |
| 87 | +```bash |
| 88 | +# Compile an agent file to pipeline YAML |
| 89 | +ado-aw compile <agent-file.md> |
| 90 | + |
| 91 | +# Recompile all detected pipelines |
| 92 | +ado-aw compile |
| 93 | + |
| 94 | +# Verify pipeline matches source |
| 95 | +ado-aw check <pipeline.lock.yml> |
| 96 | +``` |
| 97 | + |
| 98 | +## Key Features |
| 99 | + |
| 100 | +- **Natural language workflows**: Write in markdown with YAML frontmatter |
| 101 | +- **3-stage security**: Agent → Threat Analysis → Safe Output Execution |
| 102 | +- **Network isolation**: AWF (Agentic Workflow Firewall) with domain whitelisting |
| 103 | +- **MCP Gateway**: Tool routing for Azure DevOps, custom MCPs |
| 104 | +- **Safe outputs**: Controlled write operations (PRs, work items, wiki pages) |
| 105 | +- **Agent memory**: Persistent storage across pipeline runs |
| 106 | + |
| 107 | +## Important Notes |
| 108 | + |
| 109 | +- Agent files must be compiled with `ado-aw compile` after YAML frontmatter changes |
| 110 | +- Markdown body (agent instructions) changes do NOT require recompilation |
| 111 | +- The agent never has direct write access — all mutations go through safe outputs |
| 112 | +- Full reference: https://raw.githubusercontent.com/githubnext/ado-aw/v{{ compiler_version }}/AGENTS.md <!-- x-release-please-version --> |
0 commit comments