Skill and Subagent Reference
Skills
Section titled “Skills”Skills are invoked automatically by agents, but you can also reference them directly in prompts.
azure-defaults
Section titled “azure-defaults”Provides regions, tags, naming conventions, AVM module references, and security baselines. This is the foundational skill — agents read it before every task.
@workspace What are the default required tags from azure-defaults?drawio
Section titled “drawio”Generates Draw.io architecture diagrams with 700+ Azure icons via MCP server.
Generate an architecture diagram for the infrastructure ininfra/bicep/my-project/ using the drawio skill.python-diagrams
Section titled “python-diagrams”Generates WAF/cost/compliance charts using Python matplotlib.
Generate a WAF pillar bar chart for the architecture assessment.azure-bicep-patterns
Section titled “azure-bicep-patterns”Provides reusable Bicep patterns: hub-spoke networking, private endpoints, diagnostic settings, conditional deployments, and AVM module composition.
@workspace Show me the private endpoint pattern from azure-bicep-patterns.terraform-patterns
Section titled “terraform-patterns”Provides reusable Terraform patterns: hub-spoke networking, private endpoints, diagnostic settings, AVM-TF module composition, and known AVM pitfalls.
@workspace Show me the hub-spoke pattern from terraform-patterns.azure-diagnostics
Section titled “azure-diagnostics”KQL templates, metric thresholds, health checks, and remediation playbooks for diagnosing Azure resource issues.
@workspace What KQL queries are available in azure-diagnostics?azure-adr
Section titled “azure-adr”Creates Architecture Decision Records following a structured template.
Document the decision to use Azure Front Door instead ofApplication Gateway as an ADR.github-operations
Section titled “github-operations”Full contribution lifecycle: branch naming, conventional commits, GitHub issues,
PRs, Actions, and releases. Uses MCP tools first, falls back to gh CLI.
@workspace What commit message format does this repo use?Create a GitHub issue for adding monitoring to the payment gateway.Label it with 'enhancement' and 'infrastructure'.docs-writer
Section titled “docs-writer”Generates and maintains documentation following repository standards.
Update the docs to reflect the new Diagnose agent we added.make-skill-template
Section titled “make-skill-template”Scaffolds a new skill directory from the template.
Create a new skill called 'azure-monitoring' for Application Insightsand Log Analytics best practices.azure-artifacts
Section titled “azure-artifacts”Artifact template structures, H2 compliance rules, and documentation styling for all agent outputs (all steps).
@workspace What H2 headings are required in the implementation plan template?context-optimizer
Section titled “context-optimizer”Audits agent context window usage via debug logs, token profiling, and redundancy detection. Produces optimisation recommendations.
Analyse the last Copilot Chat debug log and identify context waste.context-shredding
Section titled “context-shredding”Runtime context compression with 3 tiers (full/summarised/minimal) and per-artifact templates to keep agents within context limits.
@workspace What compression tiers does context-shredding definefor the architecture assessment artifact?copilot-customization
Section titled “copilot-customization”Authoritative reference for VS Code Copilot customisation mechanisms: instructions, prompt files, custom agents, skills, MCP servers, and hooks.
I want to create a new custom agent for database migration tasks.Walk me through the steps using copilot-customization.golden-principles
Section titled “golden-principles”The 10 agent-first operating principles governing how agents work in this repository. Defines governance invariants and philosophy.
@workspace What are the golden principles for agent behaviour?iac-common
Section titled “iac-common”Shared IaC patterns for deploy agents: CLI auth validation, deployment strategies, known issues, and governance-to-code property mapping.
@workspace What are the known deployment issues in iac-common?workflow-engine
Section titled “workflow-engine”Machine-readable workflow DAG for the multi-step pipeline. Defines node types, edge conditions, gates, and fan-out patterns.
@workspace Show the workflow graph edges and gate conditions.Subagents
Section titled “Subagents”Subagents are called automatically by the Bicep CodeGen, Terraform CodeGen, Bicep Deploy, Terraform Deploy, Architect, and IaC Planner agents. You do not invoke them directly, but understanding their output helps you interpret validation results.
bicep-validate-subagent
Section titled “bicep-validate-subagent”Runs bicep lint and bicep build to validate template syntax, then reviews
templates against AVM standards, naming conventions, security baselines, and
best practices. Returns a structured PASS/FAIL + APPROVED/NEEDS_REVISION result.
bicep-whatif-subagent
Section titled “bicep-whatif-subagent”Runs az deployment group what-if to preview deployment changes. Analyzes
policy violations, resource changes, and cost impact. Returns a structured
change summary.
terraform-validate-subagent
Section titled “terraform-validate-subagent”Runs terraform fmt -check, terraform validate, and TFLint, then reviews
configs against AVM-TF standards, CAF naming conventions, security baselines,
and governance compliance. Returns a structured PASS/FAIL + APPROVED/NEEDS_REVISION
result.
terraform-plan-subagent
Section titled “terraform-plan-subagent”Runs terraform plan to preview infrastructure changes. Classifies resources
into create/update/destroy/replace, highlights destructive operations,
and returns a structured change summary.
cost-estimate-subagent
Section titled “cost-estimate-subagent”Queries Azure Pricing MCP tools for real-time SKU pricing. Compares regions and returns a structured cost breakdown.
When Validation Fails
Section titled “When Validation Fails”Use the parent agent to repair the artifact that failed validation or preview.
- Copy the exact failing output from
bicep build,terraform validate,what-if, orterraform plan. - Re-run the parent step with that output and the path to the affected artifact.
- Re-check the generated files before moving to the next gate.
For environment or auth failures, start with Troubleshooting and Validation & Linting.
Tips and Patterns
Section titled “Tips and Patterns”Context Priming
Section titled “Context Priming”Before starting a complex workflow, open relevant files so Copilot has context:
- Open the requirements document (
01-requirements.md) - Open the architecture assessment (
02-architecture-assessment.md) - Then ask the IaC Planner agent to create the implementation plan
Chaining Agents
Section titled “Chaining Agents”You can chain agents manually by using handoff buttons in the chat, or run the Orchestrator for automatic orchestration. Manual chaining gives you more control over each step.
Bicep track:
- Run Requirements → review and approve
01-requirements.md - Run Architect → review WAF scores and cost estimate
- Run IaC Planner → review governance constraints and plan
- Run Bicep CodeGen → review generated templates
- Run Bicep Deploy → review what-if before approving deployment
- Run As-Built → generate post-deployment documentation
Next Steps
Section titled “Next Steps”- Workflow Prompts — follow the step-by-step workflow templates
- Troubleshooting — recover from validation, auth, and setup failures
- Validation & Linting — understand the checks behind each gate
Terraform track:
- Run Requirements → review and approve
01-requirements.md - Run Architect → review WAF scores and cost estimate
- Run IaC Planner → review governance constraints and plan
- Run Terraform CodeGen → review generated configs
- Run Terraform Deploy → review plan output before applying
- Run As-Built → generate post-deployment documentation
Recovering from Errors
Section titled “Recovering from Errors”If an agent produces incorrect output, use specific follow-up prompts:
The VNet address space conflicts with our on-premises range (10.0.0.0/8).Change the hub VNet to 172.16.0.0/16 and spoke VNets to 172.17.0.0/16.Working with Existing Infrastructure
Section titled “Working with Existing Infrastructure”Agents can work with existing deployments, not just greenfield projects:
I have an existing resource group rg-legacy-app-prod with 15 resources.Generate as-built documentation for this infrastructure.Review the existing Bicep templates in infra/bicep/legacy-app/and suggest improvements for WAF alignment.