azure-adr
Skill3 starsChanged 8 months agoMITArchived repositoryView on GitHub
Creates Azure Architecture Decision Records with WAF mapping, alternatives, and consequences. USE FOR: ADR creation, architecture decisions, trade-off analysis, WAF pillar justification. DO NOT USE FOR: Bicep/Terraform code generation, diagram creation, cost estimates.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- appinsights-instrumentationSkill
- azure-aigatewaySkill
- azure-aiSkill
- azure-artifactsSkill
- azure-bicep-patternsSkill
- azure-cloud-migrateSkill
- azure-complianceSkill
- azure-computeSkill
- azure-cost-optimizationSkill
- azure-defaultsSkill
- azure-deploySkill
- azure-diagnosticsSkill
- azure-diagramsSkill
- azure-hosted-copilot-sdkSkill
- azure-kustoSkill
- azure-messagingSkill
- azure-prepareSkill
- azure-quotasSkill
- azure-rbacSkill
- azure-resource-lookupSkill
- azure-resource-visualizerSkill
- azure-storageSkill
- azure-validateSkill
- context-optimizerSkill
- context-shreddingSkill
- copilot-customizationSkill
- count-registrySkill
- docs-writerSkill
- drawioSkill
- entra-app-registrationSkill
- excalidrawSkill
- github-operationsSkill
- golden-principlesSkill
- iac-commonSkill
- make-skill-templateSkill
- mermaidSkill
- microsoft-code-referenceSkill
- microsoft-docsSkill
- microsoft-foundrySkill
- microsoft-skill-creatorSkill
- python-diagramsSkill
- session-resumeSkill
- terraform-patternsSkill
- terraform-search-importSkill
- terraform-testSkill
- workflow-engineSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Create formal Architecture Decision Records that document significant infrastructure decisions with Azure-specific context, WAF pillar …
- Distinctive: line 83
One decision per ADR: - Keep ADRs focused on a single decision
- Distinctive: line 84
Include alternatives: - Always document what was considered and rejected
- Very specific: line 117
When called from Architect → use 03-des-adr- prefix
- Very specific: line 118
When called after deployment (Step 6) → use 07-ab-adr- prefix
- Distinctive: line 124
Document any deviations in the "Implementation Notes" section.
- Distinctive: line 128
Follow these steps when creating ADRs:
- Very specific: line 131
Determine Number: - Check existing ADRs in agent-output/{project}/ for next sequence
- Distinctive: line 133
Generate Document: - Create ADR following template structure
- Distinctive: line 139
Before finalizing the ADR, verify:
- Distinctive: line 157
Key rules: Always include WAF analysis, document 2-3 alternatives, include both positive and negative consequences, use specific decision …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azure Architecture Decision Records (ADR) Skill
Create formal Architecture Decision Records that document significant infrastructure decisions with Azure-specific context, WAF pillar analysis, and implementation guidance.
When to Use This Skill
| Trigger Phrase | Use Case |
| "Create an ADR for..." | Document a specific architectural decision |
| "Document the decision to use..." | Record technology/pattern choice |
| "Record why we chose..." | Capture decision rationale |
| "Architecture decision record for..." | Formal ADR creation |
Output Format
ADRs are saved to the project's agent-output folder:
agent-output/{project}/
├── 03-des-adr-0001-{short-title}.md # Design phase ADRs
└── 07-ab-adr-0001-{short-title}.md # As-built phase ADRsNaming Convention
- Prefix:
03-des-adr-(design) or07-ab-adr-(as-built) - Number: 4-digit sequence (0001, 0002, etc.)
- Title: Lowercase with hyphens (e.g.,
use-cosmos-db-for-state)
ADR Template Structure
📋 Reference: Read references/adr-template.md for the full ADR template
with all sections (Context, Decision, Alternatives, Consequences,
WAF Pillar Analysis, Compliance, Implementation Notes).
Example Prompts
Design Phase ADR
Create an ADR documenting our decision to use Azure Cosmos DB
instead of Azure SQL for the e-commerce catalog service.
Consider WAF implications and cost trade-offs.As-Built ADR
Document the architectural decision we made during implementation
to use Azure Front Door instead of Application Gateway.
Include the performance testing results that informed this choice.From Assessment
Use the azure-adr skill to document the database decision from
the architecture assessment above as a formal ADR.Integration with Workflow
| Step | Context | ADR Type |
| Step 2 (Architect) | After WAF assessment | Design ADR (03-des-adr-*) |
| Step 5 (Bicep Code) | After implementation choices | As-built ADR (07-ab-adr-*) |
| Step 6 (Deploy) | After deployment decisions | As-built ADR (07-ab-adr-*) |
Best Practices
- One decision per ADR - Keep ADRs focused on a single decision
- Include alternatives - Always document what was considered and rejected
- Map to WAF pillars - Show impact on each Well-Architected pillar
- Link to requirements - Reference the requirement that drove the decision
- Keep it concise - ADRs should be readable in 5 minutes
Common ADR Topics
| Category | Example Decisions |
| Compute | AKS vs App Service, Container Apps vs Functions |
| Data | Cosmos DB vs SQL, Redis vs Table Storage |
| Networking | Hub-spoke vs flat, Private Link vs Service Endpoints |
| Security | Managed Identity vs SPN, Key Vault vs App Config |
| Integration | Event Grid vs Service Bus, API Management tiers |
What This Skill Does NOT Do
- ❌ Generate Bicep or Terraform code
- ❌ Create architecture diagrams (use
drawioskill) - ❌ Deploy resources (use
deployagent) - ❌ Create implementation plans (use
iac-planneragent)
Workflow Integration
This skill produces artifacts in Step 3 (design) or Step 7 (as-built).
| Workflow Step | ADR Prefix | Status Default | Purpose |
| Step 3 (Design) | 03-des-adr- | Proposed | Document decisions before build |
| Step 7 (As-Built) | 07-ab-adr- | Accepted | Document implemented decisions |
Artifact Suffix Rules
- When called from Architect → use
03-des-adr-prefix - When called after deployment (Step 6) → use
07-ab-adr-prefix - When called standalone:
- Design/proposal/planning language → use
03-des-adr- - Deployed/implemented/current state language → use
07-ab-adr-
- Design/proposal/planning language → use
Important: The 07-ab-adr- ADR may differ from 03-des-adr- if implementation required changes.
Document any deviations in the "Implementation Notes" section.
Generation Workflow
Follow these steps when creating ADRs:
- Gather Information - Collect decision context, alternatives, stakeholders
- Determine Number - Check existing ADRs in
agent-output/{project}/for next sequence - Determine Phase - Design (
03-des-) or As-Built (07-ab-) based on context - Generate Document - Create ADR following template structure
- Include WAF Analysis - Map decision impact to all 5 WAF pillars
- Document Alternatives - List at least 2-3 alternatives with rejection reasons
Quality Checklist
Before finalizing the ADR, verify:
- ADR number is sequential and correct
- File name follows naming convention (
{step}-adr-NNNN-{title-slug}.md) - Status is set appropriately (Proposed for design, Accepted for as-built)
- Date is in YYYY-MM-DD format
- Context clearly explains the problem/opportunity
- Decision is stated clearly and unambiguously
- At least 1 positive consequence documented
- At least 1 negative consequence documented
- At least 1 alternative documented with rejection reasons
- WAF pillar analysis includes all 5 pillars
- Implementation notes provide actionable guidance
Guardrails
📋 Reference: Read references/guardrails.md for detailed DO/DON'T rules and anti-pattern table.
Key rules: Always include WAF analysis, document 2-3 alternatives, include both positive and negative consequences, use specific decision statements.
Reference Index
Load these on demand — do NOT read all at once:
| Reference | When to Load |
references/adr-template.md | Full ADR template with all sections |
references/guardrails.md | Guardrails, DO/DON'T rules, anti-patterns |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

