generate_adr_from_decision
Transform decision data into structured Architectural Decision Records (ADRs) using customizable templates, supporting clear documentation and references.
Instructions
Generate a complete ADR from decision data
Input Schema
Name | Required | Description | Default |
---|---|---|---|
adrDirectory | No | Directory where ADRs are stored | docs/adrs |
decisionData | Yes | ||
existingAdrs | No | List of existing ADRs for numbering and references | |
templateFormat | No | ADR template format to use | nygard |
Input Schema (JSON Schema)
{
"properties": {
"adrDirectory": {
"default": "docs/adrs",
"description": "Directory where ADRs are stored",
"type": "string"
},
"decisionData": {
"properties": {
"alternatives": {
"description": "Alternative approaches considered",
"items": {
"type": "string"
},
"type": "array"
},
"consequences": {
"description": "Decision consequences",
"type": "string"
},
"context": {
"description": "Decision context and problem",
"type": "string"
},
"decision": {
"description": "The architectural decision",
"type": "string"
},
"evidence": {
"description": "Supporting evidence for the decision",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "Decision title",
"type": "string"
}
},
"required": [
"title",
"context",
"decision",
"consequences"
],
"type": "object"
},
"existingAdrs": {
"description": "List of existing ADRs for numbering and references",
"items": {
"type": "string"
},
"type": "array"
},
"templateFormat": {
"default": "nygard",
"description": "ADR template format to use",
"enum": [
"nygard",
"madr",
"custom"
],
"type": "string"
}
},
"required": [
"decisionData"
],
"type": "object"
}