Repo Architecture Reference
For use by the docs-writer skill. Last verified: 2026-02-26.
Workspace Root Structure
azure-agentic-infraops/
├── .github/
││ ├── agents/ # 13 agent definitions + 9 subagents
││ │ └── _subagents/ # Validation subagents (lint, what-if, review)
││ ├── skills/ # 14 skill definitions (incl. docs-writer)
││ │ └── azure-artifacts/templates/ # 16 artifact templates
││ ├── instructions/ # 25 file-type instruction files
├── agent-output/{project}/ # Agent-generated artifacts (01-07)
├── docs/ # User-facing documentation
│ ├── exec-plans/ # Execution plans and tech debt tracker
│ ├── prompt-guide/ # Agent & skill prompt examples
│ ├── presenter/ # Presentation materials
│ └── testing/ # Test checklists
├── infra/bicep/ # Bicep module library
├── mcp/azure-pricing-mcp/ # Azure Pricing MCP server
├── scripts/ # Validation and automation scripts
└── temp/ # Scratch space (gitignored for outputs)
Agent Inventory (13 Primary + 9 Subagents)
Primary Agents
| Agent |
File |
Model |
Step |
Artifacts |
| InfraOps Conductor |
01-conductor.agent.md |
Opus 4.6 |
All |
Orchestration |
| Requirements |
02-requirements.agent.md |
Opus 4.6 |
1 |
01-requirements.md |
| Architect |
03-architect.agent.md |
Opus 4.6 |
2 |
02-architecture-assessment.md |
| Design |
04-design.agent.md |
Sonnet 4.5 |
3 |
03-des-*.{py,png,md} |
| Bicep Plan |
05b-bicep-planner.agent.md |
Opus 4.6 |
4b |
04-implementation-plan.md |
| Bicep Code |
06b-bicep-codegen.agent.md |
Sonnet 4.5 |
5b |
Bicep in infra/bicep/ |
| Bicep Deploy |
07b-bicep-deploy.agent.md |
Sonnet 4.5 |
6b |
06-deployment-summary.md |
| Terraform Plan |
05t-terraform-planner.agent.md |
Opus 4.6 |
4t |
04-implementation-plan.md |
| Terraform Code |
06t-terraform-codegen.agent.md |
Sonnet 4.5 |
5t |
Terraform in infra/terraform/ |
| Terraform Deploy |
07t-terraform-deploy.agent.md |
Sonnet 4.5 |
6t |
06-deployment-summary.md |
| As-Built |
08-as-built.agent.md |
Sonnet 4.5 |
7 |
07-ab-*.md docs suite |
| Diagnose |
09-diagnose.agent.md |
Sonnet 4.5 |
— |
Diagnostic reports |
| Challenger |
10-challenger.agent.md |
Sonnet 4.5 |
— |
Challenge findings |
Validation Subagents (in _subagents/)
| Subagent |
File |
Purpose |
| cost-estimate-subagent |
cost-estimate-subagent.agent.md |
Azure Pricing MCP queries |
| governance-discovery-subagent |
governance-discovery-subagent.agent.md |
Azure Policy discovery |
| challenger-review-subagent |
challenger-review-subagent.agent.md |
Adversarial artifact review |
| bicep-lint-subagent |
bicep-lint-subagent.agent.md |
Syntax validation |
| bicep-whatif-subagent |
bicep-whatif-subagent.agent.md |
Deployment preview |
| bicep-review-subagent |
bicep-review-subagent.agent.md |
AVM code review |
| terraform-lint-subagent |
terraform-lint-subagent.agent.md |
Syntax validation |
| terraform-review-subagent |
terraform-review-subagent.agent.md |
AVM-TF code review |
| terraform-plan-subagent |
terraform-plan-subagent.agent.md |
Deployment preview |
Shared Knowledge (via Skills)
All shared context previously in _shared/ is now consolidated into skills:
| Skill |
Replaces |
azure-defaults |
defaults.md, avm-pitfalls.md, research-patterns.md, service-lifecycle-validation.md |
azure-artifacts |
documentation-styling.md, all template H2 structures |
Skill Catalog (14 Skills)
| Skill |
Folder |
Category |
Triggers |
azure-adr |
azure-adr/ |
Document Creation |
"create ADR", "document decision" |
azure-artifacts |
azure-artifacts/ |
Artifact Generation |
"generate documentation" |
azure-bicep-patterns |
azure-bicep-patterns/ |
IaC Patterns |
"bicep pattern", "hub-spoke" |
azure-defaults |
azure-defaults/ |
Azure Conventions |
"azure defaults", "naming" |
azure-diagrams |
azure-diagrams/ |
Document Creation |
"create diagram" |
azure-troubleshooting |
azure-troubleshooting/ |
Troubleshooting |
"troubleshoot", "KQL", "health check" |
docs-writer |
docs-writer/ |
Documentation |
"update the docs" |
git-commit |
git-commit/ |
Tool Integration |
"commit" |
github-operations |
github-operations/ |
Workflow |
"create issue", "create PR", "gh command" |
make-skill-template |
make-skill-template/ |
Meta |
"create skill" |
microsoft-code-reference |
microsoft-code-reference/ |
Docs Integration |
"SDK", "API reference", "code sample" |
microsoft-docs |
microsoft-docs/ |
Docs Integration |
"microsoft docs", "azure docs", "learn" |
microsoft-skill-creator |
microsoft-skill-creator/ |
Meta |
"create microsoft skill" |
terraform-patterns |
terraform-patterns/ |
IaC Patterns |
"terraform pattern", "AVM-TF", "HCL" |
Template Inventory (16 Templates)
All in .github/skills/azure-artifacts/templates/. Naming: {step}-{name}.template.md.
| Template |
Artifact |
Validation |
01-requirements.template.md |
Requirements |
Standard (strict) |
02-architecture-assessment.template.md |
WAF Assessment |
Standard (strict) |
03-des-cost-estimate.template.md |
Design Cost Estimate |
Cost validator |
04-governance-constraints.template.md |
Governance |
Standard (strict) |
04-implementation-plan.template.md |
Implementation Plan |
Standard (strict) |
04-preflight-check.template.md |
Preflight Check |
Standard (strict) |
05-implementation-reference.template.md |
Impl Reference |
Relaxed |
06-deployment-summary.template.md |
Deploy Summary |
Standard (strict) |
07-ab-cost-estimate.template.md |
As-Built Cost |
Cost validator |
07-backup-dr-plan.template.md |
Backup/DR Plan |
Relaxed |
07-compliance-matrix.template.md |
Compliance Matrix |
Relaxed |
07-design-document.template.md |
Design Document |
Relaxed |
07-documentation-index.template.md |
Doc Index |
Relaxed |
07-operations-runbook.template.md |
Ops Runbook |
Relaxed |
07-resource-inventory.template.md |
Resource Inventory |
Relaxed |
PROJECT-README.template.md |
Project README |
— |
Instruction File Map (25 Files)
| Instruction |
Applies To (glob) |
agent-research-first.instructions.md |
**/*.agent.md |
agent-skills.instructions.md |
**/.github/skills/**/SKILL.md |
agent-definitions.instructions.md |
**/*.agent.md |
azure-artifacts.instructions.md |
**/agent-output/**/*.md |
bicep-code-best-practices.instructions.md |
**/*.bicep |
bicep-policy-compliance.instructions.md |
**/*.bicep, **/*.agent.md |
code-commenting.instructions.md |
** |
code-review.instructions.md |
**/*.{js,mjs,cjs,ts,tsx,jsx,py,ps1,sh,bicep,tf} |
cost-estimate.instructions.md |
**/03-des-cost-estimate.md, etc. |
docs.instructions.md |
docs/**/*.md |
docs-trigger.instructions.md |
**/*.{js,mjs,cjs,ts,tsx,jsx,py,ps1,sh,bicep,tf} |
github-actions.instructions.md |
.github/workflows/*.yml |
governance-discovery.instructions.md |
**/04-governance-*.md |
instructions.instructions.md |
**/*.instructions.md |
javascript.instructions.md |
**/*.{js,mjs,cjs} |
json.instructions.md |
**/*.{json,jsonc} |
markdown.instructions.md |
**/*.md |
no-heredoc.instructions.md |
** |
powershell.instructions.md |
**/*.ps1, **/*.psm1 |
prompt.instructions.md |
**/*.prompt.md |
python.instructions.md |
**/*.py |
shell.instructions.md |
**/*.sh |
terraform-code-best-practices.instructions.md |
**/*.tf |
terraform-policy-compliance.instructions.md |
**/*.tf, **/*.agent.md |
workload-documentation.instructions.md |
**/agent-output/**/07-*.md |
Artifact Flow (7-Step Workflow)
Step 1 Step 2 Step 3 Step 4
Requirements → Architecture → Design → Planning
(01-*.md) (02-*.md) (03-des-*) (04-*.md)
│
├─ Diagrams (03-des-diagram.py/png)
├─ ADRs (03-des-adr-*.md)
└─ Cost Estimate (03-des-cost-estimate.md)
Step 5 Step 6 Step 7
Implementation → Deploy → Documentation
(infra/bicep/) (06-*.md) (07-*.md × 7 types)
(05-*.md)
Key Files for Documentation Maintenance
These files contain counts, tables, or version references that need
updating when agents or skills change:
| File |
Contains |
docs/README.md |
Agent tables, skill tables, structure tree |
docs.instructions.md |
Agent count/table, skill count/table |
docs/prompt-guide/README.md |
Agent & skill prompt examples |
QUALITY_SCORE.md |
Project health grades (doc-gardening) |
docs/exec-plans/tech-debt-tracker.md |
Tech debt inventory |
VERSION.md |
Canonical version number |
CHANGELOG.md |
Release history |
README.md (root) |
Overview, project structure, tech stack |
docs/ Folder Contents
| File |
Purpose |
README.md |
Documentation hub with quick links |
quickstart.md |
10-minute getting started guide |
workflow.md |
Detailed 7-step workflow reference |
troubleshooting.md |
Common issues and fixes |
dev-containers.md |
Dev container setup |
terraform-roadmap.md |
Future Terraform support plans |
GLOSSARY.md |
Terms and definitions |
branch-ruleset-config.md |
Branch protection ruleset configuration |
exec-plans/ |
Execution plans and tech-debt-tracker |
prompt-guide/ |
Agent & skill prompt examples and best practices |
presenter/ |
Presentation materials (pptx, ROI, infographics) |
tf-tests/ |
Terraform test checklists and prompt fixtures |
Skill Discovery & Auto-Invocation
Skills are discovered by VS Code Copilot via description keyword matching
in the SKILL.md frontmatter — not through tools: arrays in agent definitions.
Agent-Referenced Skills
These skills are explicitly referenced in agent body text via mandatory
"Read skills FIRST" instructions:
| Skill |
Referenced By |
azure-defaults |
all 13 primary agents |
azure-artifacts |
requirements, architect, bicep-plan, deploy, conductor |
azure-diagrams |
design, architect agents |
azure-adr |
design agent |
github-operations |
conductor, bicep-plan agents |
General-Purpose Skills
Discovered purely by prompt keyword matching — no agent explicitly
references them:
git-commit — Triggered by "commit", "git commit" prompts
docs-writer — Triggered by "update docs", "check staleness" prompts
make-skill-template — Triggered by "create skill", "new skill" prompts
Instruction Files (Separate Mechanism)
Instruction files (.github/instructions/*.instructions.md) load automatically
via .gitattributes applyTo globs — this is a distinct mechanism from skill
discovery. Instructions are file-type-scoped rules, not invokable skills.
1---2name: repo-architecture-reference-53description: Skills are discovered by VS Code Copilot via description keyword matching in the SKILL.md frontmatter — not through tools: arrays in agent definitions.4---5# Repo Architecture Reference67> For use by the `docs-writer` skill. Last verified: 2026-02-26.89## Workspace Root Structure1011```text12azure-agentic-infraops/13├── .github/14││ ├── agents/ # 13 agent definitions + 9 subagents15││ │ └── _subagents/ # Validation subagents (lint, what-if, review)16││ ├── skills/ # 14 skill definitions (incl. docs-writer)17││ │ └── azure-artifacts/templates/ # 16 artifact templates18││ ├── instructions/ # 25 file-type instruction files19├── agent-output/{project}/ # Agent-generated artifacts (01-07)20├── docs/ # User-facing documentation21│ ├── exec-plans/ # Execution plans and tech debt tracker22│ ├── prompt-guide/ # Agent & skill prompt examples23│ ├── presenter/ # Presentation materials24│ └── testing/ # Test checklists25├── infra/bicep/ # Bicep module library26├── mcp/azure-pricing-mcp/ # Azure Pricing MCP server27├── scripts/ # Validation and automation scripts28└── temp/ # Scratch space (gitignored for outputs)29```3031## Agent Inventory (13 Primary + 9 Subagents)3233### Primary Agents3435| Agent | File | Model | Step | Artifacts |36| ------------------ | -------------------------------- | ---------- | ---- | ------------------------------- |37| InfraOps Conductor | `01-conductor.agent.md` | Opus 4.6 | All | Orchestration |38| Requirements | `02-requirements.agent.md` | Opus 4.6 | 1 | `01-requirements.md` |39| Architect | `03-architect.agent.md` | Opus 4.6 | 2 | `02-architecture-assessment.md` |40| Design | `04-design.agent.md` | Sonnet 4.5 | 3 | `03-des-*.{py,png,md}` |41| Bicep Plan | `05b-bicep-planner.agent.md` | Opus 4.6 | 4b | `04-implementation-plan.md` |42| Bicep Code | `06b-bicep-codegen.agent.md` | Sonnet 4.5 | 5b | Bicep in `infra/bicep/` |43| Bicep Deploy | `07b-bicep-deploy.agent.md` | Sonnet 4.5 | 6b | `06-deployment-summary.md` |44| Terraform Plan | `05t-terraform-planner.agent.md` | Opus 4.6 | 4t | `04-implementation-plan.md` |45| Terraform Code | `06t-terraform-codegen.agent.md` | Sonnet 4.5 | 5t | Terraform in `infra/terraform/` |46| Terraform Deploy | `07t-terraform-deploy.agent.md` | Sonnet 4.5 | 6t | `06-deployment-summary.md` |47| As-Built | `08-as-built.agent.md` | Sonnet 4.5 | 7 | `07-ab-*.md` docs suite |48| Diagnose | `09-diagnose.agent.md` | Sonnet 4.5 | — | Diagnostic reports |49| Challenger | `10-challenger.agent.md` | Sonnet 4.5 | — | Challenge findings |5051### Validation Subagents (in `_subagents/`)5253| Subagent | File | Purpose |54| ----------------------------- | ---------------------------------------- | --------------------------- |55| cost-estimate-subagent | `cost-estimate-subagent.agent.md` | Azure Pricing MCP queries |56| governance-discovery-subagent | `governance-discovery-subagent.agent.md` | Azure Policy discovery |57| challenger-review-subagent | `challenger-review-subagent.agent.md` | Adversarial artifact review |58| bicep-lint-subagent | `bicep-lint-subagent.agent.md` | Syntax validation |59| bicep-whatif-subagent | `bicep-whatif-subagent.agent.md` | Deployment preview |60| bicep-review-subagent | `bicep-review-subagent.agent.md` | AVM code review |61| terraform-lint-subagent | `terraform-lint-subagent.agent.md` | Syntax validation |62| terraform-review-subagent | `terraform-review-subagent.agent.md` | AVM-TF code review |63| terraform-plan-subagent | `terraform-plan-subagent.agent.md` | Deployment preview |6465### Shared Knowledge (via Skills)6667All shared context previously in `_shared/` is now consolidated into skills:6869| Skill | Replaces |70| ----------------- | ------------------------------------------------------------------------------------------- |71| `azure-defaults` | `defaults.md`, `avm-pitfalls.md`, `research-patterns.md`, `service-lifecycle-validation.md` |72| `azure-artifacts` | `documentation-styling.md`, all template H2 structures |7374## Skill Catalog (14 Skills)7576| Skill | Folder | Category | Triggers |77| -------------------------- | --------------------------- | ------------------- | ----------------------------------------- |78| `azure-adr` | `azure-adr/` | Document Creation | "create ADR", "document decision" |79| `azure-artifacts` | `azure-artifacts/` | Artifact Generation | "generate documentation" |80| `azure-bicep-patterns` | `azure-bicep-patterns/` | IaC Patterns | "bicep pattern", "hub-spoke" |81| `azure-defaults` | `azure-defaults/` | Azure Conventions | "azure defaults", "naming" |82| `azure-diagrams` | `azure-diagrams/` | Document Creation | "create diagram" |83| `azure-troubleshooting` | `azure-troubleshooting/` | Troubleshooting | "troubleshoot", "KQL", "health check" |84| `docs-writer` | `docs-writer/` | Documentation | "update the docs" |85| `git-commit` | `git-commit/` | Tool Integration | "commit" |86| `github-operations` | `github-operations/` | Workflow | "create issue", "create PR", "gh command" |87| `make-skill-template` | `make-skill-template/` | Meta | "create skill" |88| `microsoft-code-reference` | `microsoft-code-reference/` | Docs Integration | "SDK", "API reference", "code sample" |89| `microsoft-docs` | `microsoft-docs/` | Docs Integration | "microsoft docs", "azure docs", "learn" |90| `microsoft-skill-creator` | `microsoft-skill-creator/` | Meta | "create microsoft skill" |91| `terraform-patterns` | `terraform-patterns/` | IaC Patterns | "terraform pattern", "AVM-TF", "HCL" |9293## Template Inventory (16 Templates)9495All in `.github/skills/azure-artifacts/templates/`. Naming: `{step}-{name}.template.md`.9697| Template | Artifact | Validation |98| ----------------------------------------- | -------------------- | ----------------- |99| `01-requirements.template.md` | Requirements | Standard (strict) |100| `02-architecture-assessment.template.md` | WAF Assessment | Standard (strict) |101| `03-des-cost-estimate.template.md` | Design Cost Estimate | Cost validator |102| `04-governance-constraints.template.md` | Governance | Standard (strict) |103| `04-implementation-plan.template.md` | Implementation Plan | Standard (strict) |104| `04-preflight-check.template.md` | Preflight Check | Standard (strict) |105| `05-implementation-reference.template.md` | Impl Reference | Relaxed |106| `06-deployment-summary.template.md` | Deploy Summary | Standard (strict) |107| `07-ab-cost-estimate.template.md` | As-Built Cost | Cost validator |108| `07-backup-dr-plan.template.md` | Backup/DR Plan | Relaxed |109| `07-compliance-matrix.template.md` | Compliance Matrix | Relaxed |110| `07-design-document.template.md` | Design Document | Relaxed |111| `07-documentation-index.template.md` | Doc Index | Relaxed |112| `07-operations-runbook.template.md` | Ops Runbook | Relaxed |113| `07-resource-inventory.template.md` | Resource Inventory | Relaxed |114| `PROJECT-README.template.md` | Project README | — |115116## Instruction File Map (25 Files)117118| Instruction | Applies To (glob) |119| ----------------------------------------------- | ------------------------------------------------- |120| `agent-research-first.instructions.md` | `**/*.agent.md` |121| `agent-skills.instructions.md` | `**/.github/skills/**/SKILL.md` |122| `agent-definitions.instructions.md` | `**/*.agent.md` |123| `azure-artifacts.instructions.md` | `**/agent-output/**/*.md` |124| `bicep-code-best-practices.instructions.md` | `**/*.bicep` |125| `bicep-policy-compliance.instructions.md` | `**/*.bicep, **/*.agent.md` |126| `code-commenting.instructions.md` | `**` |127| `code-review.instructions.md` | `**/*.{js,mjs,cjs,ts,tsx,jsx,py,ps1,sh,bicep,tf}` |128| `cost-estimate.instructions.md` | `**/03-des-cost-estimate.md`, etc. |129| `docs.instructions.md` | `docs/**/*.md` |130| `docs-trigger.instructions.md` | `**/*.{js,mjs,cjs,ts,tsx,jsx,py,ps1,sh,bicep,tf}` |131| `github-actions.instructions.md` | `.github/workflows/*.yml` |132| `governance-discovery.instructions.md` | `**/04-governance-*.md` |133| `instructions.instructions.md` | `**/*.instructions.md` |134| `javascript.instructions.md` | `**/*.{js,mjs,cjs}` |135| `json.instructions.md` | `**/*.{json,jsonc}` |136| `markdown.instructions.md` | `**/*.md` |137| `no-heredoc.instructions.md` | `**` |138| `powershell.instructions.md` | `**/*.ps1`, `**/*.psm1` |139| `prompt.instructions.md` | `**/*.prompt.md` |140| `python.instructions.md` | `**/*.py` |141| `shell.instructions.md` | `**/*.sh` |142| `terraform-code-best-practices.instructions.md` | `**/*.tf` |143| `terraform-policy-compliance.instructions.md` | `**/*.tf, **/*.agent.md` |144| `workload-documentation.instructions.md` | `**/agent-output/**/07-*.md` |145146## Artifact Flow (7-Step Workflow)147148```text149Step 1 Step 2 Step 3 Step 4150Requirements → Architecture → Design → Planning151(01-*.md) (02-*.md) (03-des-*) (04-*.md)152 │153 ├─ Diagrams (03-des-diagram.py/png)154 ├─ ADRs (03-des-adr-*.md)155 └─ Cost Estimate (03-des-cost-estimate.md)156157Step 5 Step 6 Step 7158Implementation → Deploy → Documentation159(infra/bicep/) (06-*.md) (07-*.md × 7 types)160(05-*.md)161```162163## Key Files for Documentation Maintenance164165These files contain counts, tables, or version references that need166updating when agents or skills change:167168| File | Contains |169| -------------------------------------- | ------------------------------------------ |170| `docs/README.md` | Agent tables, skill tables, structure tree |171| `docs.instructions.md` | Agent count/table, skill count/table |172| `docs/prompt-guide/README.md` | Agent & skill prompt examples |173| `QUALITY_SCORE.md` | Project health grades (doc-gardening) |174| `docs/exec-plans/tech-debt-tracker.md` | Tech debt inventory |175| `VERSION.md` | Canonical version number |176| `CHANGELOG.md` | Release history |177| `README.md` (root) | Overview, project structure, tech stack |178179## docs/ Folder Contents180181| File | Purpose |182| -------------------------- | ------------------------------------------------ |183| `README.md` | Documentation hub with quick links |184| `quickstart.md` | 10-minute getting started guide |185| `workflow.md` | Detailed 7-step workflow reference |186| `troubleshooting.md` | Common issues and fixes |187| `dev-containers.md` | Dev container setup |188| `terraform-roadmap.md` | Future Terraform support plans |189| `GLOSSARY.md` | Terms and definitions |190| `branch-ruleset-config.md` | Branch protection ruleset configuration |191| `exec-plans/` | Execution plans and tech-debt-tracker |192| `prompt-guide/` | Agent & skill prompt examples and best practices |193| `presenter/` | Presentation materials (pptx, ROI, infographics) |194| `tf-tests/` | Terraform test checklists and prompt fixtures |195196## Skill Discovery & Auto-Invocation197198Skills are discovered by VS Code Copilot via **description keyword matching**199in the SKILL.md frontmatter — not through `tools:` arrays in agent definitions.200201### Agent-Referenced Skills202203These skills are explicitly referenced in agent body text via mandatory204"Read skills FIRST" instructions:205206| Skill | Referenced By |207| ------------------- | ------------------------------------------------------ |208| `azure-defaults` | all 13 primary agents |209| `azure-artifacts` | requirements, architect, bicep-plan, deploy, conductor |210| `azure-diagrams` | design, architect agents |211| `azure-adr` | design agent |212| `github-operations` | conductor, bicep-plan agents |213214### General-Purpose Skills215216Discovered purely by prompt keyword matching — no agent explicitly217references them:218219- `git-commit` — Triggered by "commit", "git commit" prompts220- `docs-writer` — Triggered by "update docs", "check staleness" prompts221- `make-skill-template` — Triggered by "create skill", "new skill" prompts222223### Instruction Files (Separate Mechanism)224225Instruction files (`.github/instructions/*.instructions.md`) load automatically226via `.gitattributes` `applyTo` globs — this is a distinct mechanism from skill227discovery. Instructions are file-type-scoped rules, not invokable skills.