Repo Architecture Reference
For use by the docs-writer skill. Last verified: 2026-02-12.
Workspace Root Structure
azure-agentic-infraops/
├── .github/
│ ├── agents/ # 8 agent definitions + 3 subagents
│ │ └── _subagents/ # Validation subagents (lint, what-if, review)
│ ├── skills/ # 8 skill definitions (incl. docs-writer)
│ │ └── azure-artifacts/templates/ # 16 artifact templates
│ ├── instructions/ # 20 file-type instruction files
├── agent-output/{project}/ # Agent-generated artifacts (01-07)
├── docs/ # User-facing documentation
│ ├── 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 (8 Primary + 3 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 |
05-bicep-planner.agent.md |
Opus 4.6 |
4 |
04-implementation-plan.md |
| Bicep Code |
06-bicep-code-generator.agent.md |
Sonnet 4.5 |
5 |
Bicep in infra/bicep/ |
| Deploy |
07-deploy.agent.md |
Sonnet 4.5 |
6 |
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 |
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 (8 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" |
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" |
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 (19 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 |
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 |
github-actions.instructions.md |
.github/workflows/*.yml |
governance-discovery.instructions.md |
**/04-governance-*.md |
instructions.instructions.md |
**/*.instructions.md |
markdown.instructions.md |
**/*.md |
no-heredoc.instructions.md |
** |
powershell.instructions.md |
**/*.ps1, **/*.psm1 |
prompt.instructions.md |
**/*.prompt.md |
code-commenting.instructions.md |
** |
shell.instructions.md |
**/*.sh |
docs-trigger.instructions.md |
**/*.{js,mjs,cjs,ts,tsx,jsx,py,ps1,sh,bicep,tf} |
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 |
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 |
prompt-guide/ |
Agent & skill prompt examples and best practices |
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:
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-23description: 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-12.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/ # 8 skill definitions (incl. docs-writer)17│ │ └── azure-artifacts/templates/ # 16 artifact templates18│ ├── instructions/ # 20 file-type instruction files19├── agent-output/{project}/ # Agent-generated artifacts (01-07)20├── docs/ # User-facing documentation21│ ├── prompt-guide/ # Agent & skill prompt examples22│ ├── presenter/ # Presentation materials23│ └── testing/ # Test checklists24├── infra/bicep/ # Bicep module library25├── mcp/azure-pricing-mcp/ # Azure Pricing MCP server26├── scripts/ # Validation and automation scripts27└── temp/ # Scratch space (gitignored for outputs)28```2930## Agent Inventory (8 Primary + 3 Subagents)3132### Primary Agents3334| Agent | File | Model | Step | Artifacts |35| ------------------ | ---------------------------------- | ---------- | ---- | ------------------------------- |36| InfraOps Conductor | `01-conductor.agent.md` | Opus 4.6 | All | Orchestration |37| Requirements | `02-requirements.agent.md` | Opus 4.6 | 1 | `01-requirements.md` |38| Architect | `03-architect.agent.md` | Opus 4.6 | 2 | `02-architecture-assessment.md` |39| Design | `04-design.agent.md` | Sonnet 4.5 | 3 | `03-des-*.{py,png,md}` |40| Bicep Plan | `05-bicep-planner.agent.md` | Opus 4.6 | 4 | `04-implementation-plan.md` |41| Bicep Code | `06-bicep-code-generator.agent.md` | Sonnet 4.5 | 5 | Bicep in `infra/bicep/` |42| Deploy | `07-deploy.agent.md` | Sonnet 4.5 | 6 | `06-deployment-summary.md` |43| As-Built | `08-as-built.agent.md` | Sonnet 4.5 | 7 | `07-ab-*.md` docs suite |44| Diagnose | `09-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 (8 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| `git-commit` | `git-commit/` | Tool Integration | "commit" |73| `github-operations` | `github-operations/` | Workflow | "create issue", "create PR", "gh command" |74| `make-skill-template` | `make-skill-template/` | Meta | "create skill" |7576## Template Inventory (16 Templates)7778All in `.github/skills/azure-artifacts/templates/`. Naming: `{step}-{name}.template.md`.7980| Template | Artifact | Validation |81| ----------------------------------------- | -------------------- | ----------------- |82| `01-requirements.template.md` | Requirements | Standard (strict) |83| `02-architecture-assessment.template.md` | WAF Assessment | Standard (strict) |84| `03-des-cost-estimate.template.md` | Design Cost Estimate | Cost validator |85| `04-governance-constraints.template.md` | Governance | Standard (strict) |86| `04-implementation-plan.template.md` | Implementation Plan | Standard (strict) |87| `04-preflight-check.template.md` | Preflight Check | Standard (strict) |88| `05-implementation-reference.template.md` | Impl Reference | Relaxed |89| `06-deployment-summary.template.md` | Deploy Summary | Standard (strict) |90| `07-ab-cost-estimate.template.md` | As-Built Cost | Cost validator |91| `07-backup-dr-plan.template.md` | Backup/DR Plan | Relaxed |92| `07-compliance-matrix.template.md` | Compliance Matrix | Relaxed |93| `07-design-document.template.md` | Design Document | Relaxed |94| `07-documentation-index.template.md` | Doc Index | Relaxed |95| `07-operations-runbook.template.md` | Ops Runbook | Relaxed |96| `07-resource-inventory.template.md` | Resource Inventory | Relaxed |97| `PROJECT-README.template.md` | Project README | — |9899## Instruction File Map (19 Files)100101| Instruction | Applies To (glob) |102| ------------------------------------------- | ------------------------------------------------- |103| `agent-research-first.instructions.md` | `**/*.agent.md` |104| `agent-skills.instructions.md` | `**/.github/skills/**/SKILL.md` |105| `agent-definitions.instructions.md` | `**/*.agent.md` |106| `azure-artifacts.instructions.md` | `**/agent-output/**/*.md` |107| `bicep-code-best-practices.instructions.md` | `**/*.bicep` |108| `code-review.instructions.md` | `**/*.{js,mjs,cjs,ts,tsx,jsx,py,ps1,sh,bicep,tf}` |109| `cost-estimate.instructions.md` | `**/03-des-cost-estimate.md`, etc. |110| `docs.instructions.md` | `docs/**/*.md` |111| `github-actions.instructions.md` | `.github/workflows/*.yml` |112| `governance-discovery.instructions.md` | `**/04-governance-*.md` |113| `instructions.instructions.md` | `**/*.instructions.md` |114| `markdown.instructions.md` | `**/*.md` |115| `no-heredoc.instructions.md` | `**` |116| `powershell.instructions.md` | `**/*.ps1`, `**/*.psm1` |117| `prompt.instructions.md` | `**/*.prompt.md` |118| `code-commenting.instructions.md` | `**` |119| `shell.instructions.md` | `**/*.sh` |120| `docs-trigger.instructions.md` | `**/*.{js,mjs,cjs,ts,tsx,jsx,py,ps1,sh,bicep,tf}` |121| `workload-documentation.instructions.md` | `**/agent-output/**/07-*.md` |122123## Artifact Flow (7-Step Workflow)124125```text126Step 1 Step 2 Step 3 Step 4127Requirements → Architecture → Design → Planning128(01-*.md) (02-*.md) (03-des-*) (04-*.md)129 │130 ├─ Diagrams (03-des-diagram.py/png)131 ├─ ADRs (03-des-adr-*.md)132 └─ Cost Estimate (03-des-cost-estimate.md)133134Step 5 Step 6 Step 7135Implementation → Deploy → Documentation136(infra/bicep/) (06-*.md) (07-*.md × 7 types)137(05-*.md)138```139140## Key Files for Documentation Maintenance141142These files contain counts, tables, or version references that need143updating when agents or skills change:144145| File | Contains |146| ----------------------------- | ------------------------------------------ |147| `docs/README.md` | Agent tables, skill tables, structure tree |148| `docs.instructions.md` | Agent count/table, skill count/table |149| `docs/prompt-guide/README.md` | Agent & skill prompt examples |150| `VERSION.md` | Canonical version number |151| `CHANGELOG.md` | Release history |152| `README.md` (root) | Overview, project structure, tech stack |153154## docs/ Folder Contents155156| File | Purpose |157| ---------------------- | ------------------------------------------------ |158| `README.md` | Documentation hub with quick links |159| `quickstart.md` | 10-minute getting started guide |160| `workflow.md` | Detailed 7-step workflow reference |161| `troubleshooting.md` | Common issues and fixes |162| `dev-containers.md` | Dev container setup |163| `terraform-roadmap.md` | Future Terraform support plans |164| `GLOSSARY.md` | Terms and definitions |165| `prompt-guide/` | Agent & skill prompt examples and best practices |166| `presenter/` | Presentation materials (pptx, ROI, infographics) |167| `testing/` | Test checklists |168169## Skill Discovery & Auto-Invocation170171Skills are discovered by VS Code Copilot via **description keyword matching**172in the SKILL.md frontmatter — not through `tools:` arrays in agent definitions.173174### Agent-Referenced Skills175176These skills are explicitly referenced in agent body text via mandatory177"Read skills FIRST" instructions:178179| Skill | Referenced By |180| ------------------- | ------------------------------------------------------ |181| `azure-defaults` | all 8 primary agents |182| `azure-artifacts` | requirements, architect, bicep-plan, deploy, conductor |183| `azure-diagrams` | design, architect agents |184| `azure-adr` | design agent |185| `github-operations` | conductor, bicep-plan agents |186187### General-Purpose Skills188189Discovered purely by prompt keyword matching — no agent explicitly190references them:191192- `git-commit` — Triggered by "commit", "git commit" prompts193- `docs-writer` — Triggered by "update docs", "check staleness" prompts194- `make-skill-template` — Triggered by "create skill", "new skill" prompts195196### Instruction Files (Separate Mechanism)197198Instruction files (`.github/instructions/*.instructions.md`) load automatically199via `.gitattributes` `applyTo` globs — this is a distinct mechanism from skill200discovery. Instructions are file-type-scoped rules, not invokable skills.