Repo Architecture Reference
For use by the docs-writer skill. Last verified: 2026-02-09.
Workspace Root Structure
azure-agentic-infraops/
├── .github/
│ ├── agents/ # 8 agent definitions + 3 subagents
│ │ └── _subagents/ # Validation subagents (lint, what-if, review)
│ ├── skills/ # 9 skill definitions (incl. docs-writer)
│ ├── instructions/ # 16 file-type instruction files
│ └── templates/ # 16 artifact templates + README
├── agent-output/{project}/ # Agent-generated artifacts (01-07)
├── docs/ # User-facing documentation
│ ├── _superseded/ # Archived content (do not link)
│ ├── presenter/ # Presentation materials
│ └── testing/ # Test checklists
├── infra/bicep/ # Bicep module library
├── mcp/azure-pricing-mcp/ # Azure Pricing MCP server
├── scenarios/ # 9 demo scenarios (S01-S09)
├── scripts/ # Validation and automation scripts
└── temp/ # Scratch space (gitignored for outputs)
Agent Inventory (8 Primary + 3 Subagents)
Primary Agents
| Agent |
File |
Model |
Step |
Artifacts |
| InfraOps Conductor |
infraops-conductor.agent.md |
Opus 4.6 |
All |
Orchestration |
| Requirements |
requirements.agent.md |
Opus 4.6 |
1 |
01-requirements.md |
| Architect |
architect.agent.md |
Opus 4.6 |
2 |
02-architecture-assessment.md |
| Design |
design.agent.md |
Sonnet 4.5 |
3 |
03-des-*.{py,png,md} |
| Bicep Plan |
bicep-plan.agent.md |
Opus 4.6 |
4 |
04-implementation-plan.md |
| Bicep Code |
bicep-code.agent.md |
Sonnet 4.5 |
5 |
Bicep in infra/bicep/ |
| Deploy |
deploy.agent.md |
Sonnet 4.5 |
6 |
06-deployment-summary.md |
| Diagnose |
diagnose.agent.md |
Sonnet 4.5 |
— |
Diagnostic reports |
Validation Subagents (in _subagents/)
| Subagent |
File |
Purpose |
| 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 |
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 (9 Skills)
| Skill |
Folder |
Category |
Triggers |
azure-adr |
azure-adr/ |
Document Creation |
"create ADR", "document decision" |
azure-artifacts |
azure-artifacts/ |
Artifact Generation |
"generate documentation" |
azure-defaults |
azure-defaults/ |
Azure Conventions |
"azure defaults", "naming" |
azure-diagrams |
azure-diagrams/ |
Document Creation |
"create diagram" |
docs-writer |
docs-writer/ |
Documentation |
"update the docs" |
gh-cli |
gh-cli/ |
Tool Integration |
"gh command" |
git-commit |
git-commit/ |
Tool Integration |
"commit" |
github-operations |
github-operations/ |
Workflow |
"create issue", "create PR" |
make-skill-template |
make-skill-template/ |
Meta |
"create skill" |
Scenario Index (9 Scenarios)
| ID |
Folder |
Focus |
Difficulty |
| S01 |
S01-bicep-baseline/ |
Hub-spoke network (Bicep) |
🟢 Beginner |
| S02 |
S02-agentic-workflow/ |
Full 7-step agentic flow |
🟡 Intermediate |
| S03 |
S03-documentation-generation/ |
Workload documentation |
🟢 Beginner |
| S04 |
S04-service-validation/ |
Deployment preflight |
🟢 Beginner |
| S05 |
S05-troubleshooting/ |
Diagnose agent |
🟢 Beginner |
| S06 |
S06-sbom-generator/ |
SBOM generation |
🟡 Intermediate |
| S07 |
S07-diagrams-as-code/ |
Architecture diagrams |
🟡 Intermediate |
| S08 |
S08-coding-agent/ |
GitHub Copilot coding agent |
🔴 Advanced |
| S09 |
S09-orchestration-test/ |
Conductor orchestration |
🟡 Intermediate |
Template Inventory (16 Templates)
All in .github/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 (16 Files)
| Instruction |
Applies To (glob) |
agent-research-first.instructions.md |
**/*.agent.md |
agent-skills.instructions.md |
**/.github/skills/**/SKILL.md |
agents-definitions.instructions.md |
**/*.agent.md |
artifact-generation.instructions.md |
**/agent-output/**/*.md |
artifact-h2-reference.instructions.md |
**/agent-output/**/*.md |
bicep-code-best-practices.instructions.md |
**/*.bicep |
copilot-thought-logging.instructions.md |
** |
cost-estimate.instructions.md |
**/03-des-cost-estimate.md, etc. |
docs.instructions.md |
docs/**/*.md |
github-actions.instructions.md |
.github/workflows/*.yml |
governance-discovery.instructions.md |
**/04-governance-*.md |
instructions.instructions.md |
**/*.instructions.md |
markdown.instructions.md |
**/*.md |
powershell.instructions.md |
**/*.ps1, **/*.psm1 |
prompt.instructions.md |
**/*.prompt.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, skills, or scenarios change:
| File |
Contains |
docs/README.md |
Agent tables, skill tables, scenario table, structure tree |
docs.instructions.md |
Agent count/table, skill count/table |
scenarios/README.md |
Scenario index table |
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 |
copilot-tips.md |
Prompting best practices |
troubleshooting.md |
Common issues and fixes |
dev-containers.md |
Dev container setup |
terraform-roadmap.md |
Future Terraform support plans |
GLOSSARY.md |
Terms and definitions |
_superseded/ |
Archived docs (do not link from live docs) |
presenter/ |
Presentation materials (pptx, ROI, infographics) |
testing/ |
Test checklists |
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 8 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:
gh-cli — Triggered by "gh command", "GitHub CLI" prompts
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-reference3description: 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-09.89## Workspace Root Structure1011```text12azure-agentic-infraops/13├── .github/14│ ├── agents/ # 8 agent definitions + 3 subagents15│ │ └── _subagents/ # Validation subagents (lint, what-if, review)16│ ├── skills/ # 9 skill definitions (incl. docs-writer)17│ ├── instructions/ # 16 file-type instruction files18│ └── templates/ # 16 artifact templates + README19├── agent-output/{project}/ # Agent-generated artifacts (01-07)20├── docs/ # User-facing documentation21│ ├── _superseded/ # Archived content (do not link)22│ ├── presenter/ # Presentation materials23│ └── testing/ # Test checklists24├── infra/bicep/ # Bicep module library25├── mcp/azure-pricing-mcp/ # Azure Pricing MCP server26├── scenarios/ # 9 demo scenarios (S01-S09)27├── scripts/ # Validation and automation scripts28└── temp/ # Scratch space (gitignored for outputs)29```3031## Agent Inventory (8 Primary + 3 Subagents)3233### Primary Agents3435| Agent | File | Model | Step | Artifacts |36| --- | --- | --- | --- | --- |37| InfraOps Conductor | `infraops-conductor.agent.md` | Opus 4.6 | All | Orchestration |38| Requirements | `requirements.agent.md` | Opus 4.6 | 1 | `01-requirements.md` |39| Architect | `architect.agent.md` | Opus 4.6 | 2 | `02-architecture-assessment.md` |40| Design | `design.agent.md` | Sonnet 4.5 | 3 | `03-des-*.{py,png,md}` |41| Bicep Plan | `bicep-plan.agent.md` | Opus 4.6 | 4 | `04-implementation-plan.md` |42| Bicep Code | `bicep-code.agent.md` | Sonnet 4.5 | 5 | Bicep in `infra/bicep/` |43| Deploy | `deploy.agent.md` | Sonnet 4.5 | 6 | `06-deployment-summary.md` |44| Diagnose | `diagnose.agent.md` | Sonnet 4.5 | — | Diagnostic reports |4546### Validation Subagents (in `_subagents/`)4748| Subagent | File | Purpose |49| --- | --- | --- |50| bicep-lint-subagent | `bicep-lint-subagent.agent.md` | Syntax validation |51| bicep-whatif-subagent | `bicep-whatif-subagent.agent.md` | Deployment preview |52| bicep-review-subagent | `bicep-review-subagent.agent.md` | AVM code review |5354### Shared Knowledge (via Skills)5556All shared context previously in `_shared/` is now consolidated into skills:5758| Skill | Replaces |59| --- | --- |60| `azure-defaults` | `defaults.md`, `avm-pitfalls.md`, `research-patterns.md`, `service-lifecycle-validation.md` |61| `azure-artifacts` | `documentation-styling.md`, all template H2 structures |6263## Skill Catalog (9 Skills)6465| Skill | Folder | Category | Triggers |66| --- | --- | --- | --- |67| `azure-adr` | `azure-adr/` | Document Creation | "create ADR", "document decision" |68| `azure-artifacts` | `azure-artifacts/` | Artifact Generation | "generate documentation" |69| `azure-defaults` | `azure-defaults/` | Azure Conventions | "azure defaults", "naming" |70| `azure-diagrams` | `azure-diagrams/` | Document Creation | "create diagram" |71| `docs-writer` | `docs-writer/` | Documentation | "update the docs" |72| `gh-cli` | `gh-cli/` | Tool Integration | "gh command" |73| `git-commit` | `git-commit/` | Tool Integration | "commit" |74| `github-operations` | `github-operations/` | Workflow | "create issue", "create PR" |75| `make-skill-template` | `make-skill-template/` | Meta | "create skill" |7677## Scenario Index (9 Scenarios)7879| ID | Folder | Focus | Difficulty |80| --- | --- | --- | --- |81| S01 | `S01-bicep-baseline/` | Hub-spoke network (Bicep) | 🟢 Beginner |82| S02 | `S02-agentic-workflow/` | Full 7-step agentic flow | 🟡 Intermediate |83| S03 | `S03-documentation-generation/` | Workload documentation | 🟢 Beginner |84| S04 | `S04-service-validation/` | Deployment preflight | 🟢 Beginner |85| S05 | `S05-troubleshooting/` | Diagnose agent | 🟢 Beginner |86| S06 | `S06-sbom-generator/` | SBOM generation | 🟡 Intermediate |87| S07 | `S07-diagrams-as-code/` | Architecture diagrams | 🟡 Intermediate |88| S08 | `S08-coding-agent/` | GitHub Copilot coding agent | 🔴 Advanced |89| S09 | `S09-orchestration-test/` | Conductor orchestration | 🟡 Intermediate |9091## Template Inventory (16 Templates)9293All in `.github/templates/`. Naming: `{step}-{name}.template.md`.9495| Template | Artifact | Validation |96| --- | --- | --- |97| `01-requirements.template.md` | Requirements | Standard (strict) |98| `02-architecture-assessment.template.md` | WAF Assessment | Standard (strict) |99| `03-des-cost-estimate.template.md` | Design Cost Estimate | Cost validator |100| `04-governance-constraints.template.md` | Governance | Standard (strict) |101| `04-implementation-plan.template.md` | Implementation Plan | Standard (strict) |102| `04-preflight-check.template.md` | Preflight Check | Standard (strict) |103| `05-implementation-reference.template.md` | Impl Reference | Relaxed |104| `06-deployment-summary.template.md` | Deploy Summary | Standard (strict) |105| `07-ab-cost-estimate.template.md` | As-Built Cost | Cost validator |106| `07-backup-dr-plan.template.md` | Backup/DR Plan | Relaxed |107| `07-compliance-matrix.template.md` | Compliance Matrix | Relaxed |108| `07-design-document.template.md` | Design Document | Relaxed |109| `07-documentation-index.template.md` | Doc Index | Relaxed |110| `07-operations-runbook.template.md` | Ops Runbook | Relaxed |111| `07-resource-inventory.template.md` | Resource Inventory | Relaxed |112| `PROJECT-README.template.md` | Project README | — |113114## Instruction File Map (16 Files)115116| Instruction | Applies To (glob) |117| --- | --- |118| `agent-research-first.instructions.md` | `**/*.agent.md` |119| `agent-skills.instructions.md` | `**/.github/skills/**/SKILL.md` |120| `agents-definitions.instructions.md` | `**/*.agent.md` |121| `artifact-generation.instructions.md` | `**/agent-output/**/*.md` |122| `artifact-h2-reference.instructions.md` | `**/agent-output/**/*.md` |123| `bicep-code-best-practices.instructions.md` | `**/*.bicep` |124| `copilot-thought-logging.instructions.md` | `**` |125| `cost-estimate.instructions.md` | `**/03-des-cost-estimate.md`, etc. |126| `docs.instructions.md` | `docs/**/*.md` |127| `github-actions.instructions.md` | `.github/workflows/*.yml` |128| `governance-discovery.instructions.md` | `**/04-governance-*.md` |129| `instructions.instructions.md` | `**/*.instructions.md` |130| `markdown.instructions.md` | `**/*.md` |131| `powershell.instructions.md` | `**/*.ps1`, `**/*.psm1` |132| `prompt.instructions.md` | `**/*.prompt.md` |133| `workload-documentation.instructions.md` | `**/agent-output/**/07-*.md` |134135## Artifact Flow (7-Step Workflow)136137```text138Step 1 Step 2 Step 3 Step 4139Requirements → Architecture → Design → Planning140(01-*.md) (02-*.md) (03-des-*) (04-*.md)141 │142 ├─ Diagrams (03-des-diagram.py/png)143 ├─ ADRs (03-des-adr-*.md)144 └─ Cost Estimate (03-des-cost-estimate.md)145146Step 5 Step 6 Step 7147Implementation → Deploy → Documentation148(infra/bicep/) (06-*.md) (07-*.md × 7 types)149(05-*.md)150```151152## Key Files for Documentation Maintenance153154These files contain counts, tables, or version references that need155updating when agents, skills, or scenarios change:156157| File | Contains |158| --- | --- |159| `docs/README.md` | Agent tables, skill tables, scenario table, structure tree |160| `docs.instructions.md` | Agent count/table, skill count/table |161| `scenarios/README.md` | Scenario index table |162| `VERSION.md` | Canonical version number |163| `CHANGELOG.md` | Release history |164| `README.md` (root) | Overview, project structure, tech stack |165166## docs/ Folder Contents167168| File | Purpose |169| --- | --- |170| `README.md` | Documentation hub with quick links |171| `quickstart.md` | 10-minute getting started guide |172| `workflow.md` | Detailed 7-step workflow reference |173| `copilot-tips.md` | Prompting best practices |174| `troubleshooting.md` | Common issues and fixes |175| `dev-containers.md` | Dev container setup |176| `terraform-roadmap.md` | Future Terraform support plans |177| `GLOSSARY.md` | Terms and definitions |178| `_superseded/` | Archived docs (do not link from live docs) |179| `presenter/` | Presentation materials (pptx, ROI, infographics) |180| `testing/` | Test checklists |181182## Skill Discovery & Auto-Invocation183184Skills are discovered by VS Code Copilot via **description keyword matching**185in the SKILL.md frontmatter — not through `tools:` arrays in agent definitions.186187### Agent-Referenced Skills188189These skills are explicitly referenced in agent body text via mandatory190"Read skills FIRST" instructions:191192| Skill | Referenced By |193| --- | --- |194| `azure-defaults` | all 8 primary agents |195| `azure-artifacts` | requirements, architect, bicep-plan, deploy, conductor |196| `azure-diagrams` | design, architect agents |197| `azure-adr` | design agent |198| `github-operations` | conductor, bicep-plan agents |199200### General-Purpose Skills201202Discovered purely by prompt keyword matching — no agent explicitly203references them:204205- `gh-cli` — Triggered by "gh command", "GitHub CLI" prompts206- `git-commit` — Triggered by "commit", "git commit" prompts207- `docs-writer` — Triggered by "update docs", "check staleness" prompts208- `make-skill-template` — Triggered by "create skill", "new skill" prompts209210### Instruction Files (Separate Mechanism)211212Instruction files (`.github/instructions/*.instructions.md`) load automatically213via `.gitattributes` `applyTo` globs — this is a distinct mechanism from skill214discovery. Instructions are file-type-scoped rules, not invokable skills.