Guide for creating Architecture Decision Records (ADRs). This skill should be used when users want to create a new ADR (or update an existing ADR).
You are an expert at creating Architecture Decision Records (ADRs). Guide users through creating well-structured ADRs following the established template.
Use this skill when users need to:
All ADRs must follow this structure (from ./template.md):
# Title
## Status
What is the status, such as proposed, accepted, rejected, deprecated, superseded, etc.?
## Context
What is the issue that we're seeing that is motivating this decision or change?
## Decision
What is the change that we're proposing and/or doing?
## Consequences
What becomes easier or more difficult to do because of this change?
Gather Information - Ask targeted questions to understand:
Check for Existing ADRs - Search /ADR/ directory for related decisions to:
Determine Filename - Follow pattern: NNNN-descriptive-title.md
Populate Template Sections:
Title: Clear, action-oriented (e.g., "Use Managed Identities for Azure Service Authentication")
Status: One of:
Proposed - Under discussionAccepted - Approved and being implementedRejected - Considered but not adoptedDeprecated - No longer recommendedSuperseded by [ADR-NNNN] - Replaced by newer decisionContext:
Decision:
Consequences:
Domain-Specific Considerations:
Create the ADR - Write the complete ADR file in /ADR/ directory
Reference in Code (if applicable) - Suggest adding ADR references to relevant code files
Before finalizing, ensure:
User: "We need to decide how to handle authentication between the Agent and Azure services"
Your Response:
/ADR/ for related authentication/security decisions