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?azure-diagrams
Section titled “azure-diagrams”Generates Python architecture diagrams using the diagrams library.
Generate an architecture diagram for the infrastructure ininfra/bicep/my-project/ using the azure-diagrams skill.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?session-resume
Section titled “session-resume”Session state tracking and resume protocol for the multi-step workflow. Manages checkpoint recovery and session-state.json schema.
Resume the workflow from step 4 using the existing session state.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.
Subagents
Section titled “Subagents”@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-lint-subagent
Section titled “bicep-lint-subagent”Runs bicep lint and bicep build to validate template syntax. Returns a
structured PASS/FAIL result with error counts and details.
bicep-review-subagent
Section titled “bicep-review-subagent”Reviews Bicep templates against AVM standards, naming conventions, security baselines, and best practices. Returns an APPROVED, NEEDS_REVISION, or FAILED verdict with actionable feedback.
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-lint-subagent
Section titled “terraform-lint-subagent”Runs terraform fmt -check, terraform validate, and TFLint to validate
configuration syntax. Returns a structured PASS/FAIL result with diagnostics.
terraform-review-subagent
Section titled “terraform-review-subagent”Reviews Terraform configs against AVM-TF standards, CAF naming conventions, security baselines, and governance compliance. Returns APPROVED, NEEDS_REVISION, or FAILED verdict with actionable feedback.
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.
governance-discovery-subagent
Section titled “governance-discovery-subagent”Queries Azure Policy assignments via REST API (including management group- inherited policies). Classifies policy effects and returns structured governance constraints.
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 Bicep 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 Conductor 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 Bicep 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
Terraform track:
- Run Requirements → review and approve
01-requirements.md - Run Architect → review WAF scores and cost estimate
- Run Terraform 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.