بنقرة واحدة
adr-template
Write the canonical ADR template file used by all architecture decision records in this project
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Write the canonical ADR template file used by all architecture decision records in this project
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate Azure infrastructure as Bicep code from planning data
Generate Azure infrastructure as Terraform code from planning data
Generate a Mermaid architecture diagram derived from application components and infrastructure context data
Configure an individual application component by mapping it to an Azure service with SKU, region, and service-specific settings
Document source control, CI/CD platform, environments, deployment process, and quality gates for the application
Read all planning data, propose relevant ADR topics, and generate Architecture Decision Records following the project template
| name | adr-template |
| description | Write the canonical ADR template file used by all architecture decision records in this project |
This skill writes the canonical Architecture Decision Record (ADR) template to infra/architecture-decisions/adr-template.md. This file serves as the master template that the /generate-adrs skill uses when creating individual ADRs.
The generated file will be displayed in the UI when the user runs npx @zureltd/az-infra-harness and navigates to the Architecture Decisions section.
Run this skill when:
/adr-templateCheck whether infra/architecture-decisions/adr-template.md already exists and has content.
If the file exists → follow Update Mode (Step 2a). If the file does not exist → follow Fresh Mode (Step 2b).
Read the existing template and present it to the user.
I found your existing ADR template. Here's what's currently in it:
[Show current template content]
Would you like to customize it, or keep it as-is? You can:
- Add or remove sections
- Rename section headings
- Add project-specific guidance text
- Say "keep as-is" to confirm without changes
Wait for the user's response, then make the requested changes. Ask "Shall I save the updated template?" before writing.
This skill has minimal required interaction — the default template is well-defined. Present the default template and ask if the user wants to customize it.
I'll create the standard ADR template for this project. Here's the default template:
---
# [Short descriptive title of the decision]
**Status:** [draft | reviewed | accepted]
**Date:** [YYYY-MM-DD]
**Category:** [compute | data | networking | security | cicd | auth | other]
## Context
[Describe the context and problem statement. What forces are at play? What are the constraints?]
## Options Considered
### Option 1: [Name]
**Pros:**
- [Advantage 1]
- [Advantage 2]
**Cons:**
- [Disadvantage 1]
- [Disadvantage 2]
### Option 2: [Name]
**Pros:**
- [Advantage 1]
- [Advantage 2]
**Cons:**
- [Disadvantage 1]
- [Disadvantage 2]
## Decision
[Describe the chosen solution]
## Rationale
[Explain why this option was chosen over the alternatives]
## Consequences
[What are the implications of this decision? Both positive and negative outcomes.]
## Related Components
[List component IDs this decision affects]
---
Would you like to use this default template, or would you like to customize any sections?
Options:
- Say "use default" to proceed with this template
- Tell me what you'd like to change (add sections, rename headings, add project-specific fields)
If user says "use default" or similar: proceed directly to save. If user requests customization: apply changes, show the updated template, confirm before saving.
Before saving:
[YYYY-MM-DD] should remain as a placeholder — it's part of the template)Target location: infra/architecture-decisions/adr-template.md
Pre-save checks:
infra/architecture-decisions/ existsError handling:
✅ Created ADR template successfully!
📄 File location: infra/architecture-decisions/adr-template.md
This template will be used by /generate-adrs when creating individual architecture decision records.
🌐 To view in the UI:
1. Ensure the Az Infra Harness is running: `npx @zureltd/az-infra-harness`
2. Refresh your browser
3. Navigate to the Architecture Decisions section
You can now run /generate-adrs to generate ADRs based on your planning data.
Agent: "I'll create the standard ADR template for this project. [Shows default template] Would you like to use this default template, or would you like to customize any sections?"
User: "Use default."
Agent: "✅ Created ADR template successfully!
📄 File location: infra/architecture-decisions/adr-template.md"
Agent: "I'll create the standard ADR template for this project. [Shows default template] Would you like to use this default template, or customize any sections?"
User: "Add a 'Risk Assessment' section after Consequences."
Agent: "I'll add a Risk Assessment section. Here's the updated template: [shows updated template with new section]. Shall I save this?"
User: "Yes."
Agent: "✅ Created ADR template successfully!"
infra/architecture-decisions/adr-template.mdinfra/architecture-decisions/adrs/adr-001-container-platform.mdDATA-STRUCTURE.mdinfra/architecture-decisions/adr-template.md