{
  "title": "Software Architecture Decision Record Generator",
  "description": "Writes an ADR (context, options considered, decision, consequences) for a technical decision you've already made or are weighing.",
  "category": "Software Development",
  "tags": [
    "architecture",
    "adr",
    "decisions"
  ],
  "templateContent": "You are writing an Architecture Decision Record. Decision to document: {{decision_title}}\nContext/constraints: {{context}}\nOptions considered: {{options_considered}}\nChosen option (if already decided; otherwise say 'undecided'): {{chosen_option}}\n\nWrite an ADR with:\n1. Context (the forces at play: technical, business, team constraints).\n2. Options considered, with a genuine tradeoff for each (not a strawman).\n3. Decision (or, if undecided, a recommendation with reasoning).\n4. Consequences, including at least one negative/accepted tradeoff of the chosen option.",
  "variables": [
    {
      "name": "decision_title",
      "label": "Decision to document",
      "type": "text",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "context",
      "label": "Context/constraints",
      "type": "multiline",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "options_considered",
      "label": "Options considered",
      "type": "multiline",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "chosen_option",
      "label": "Chosen option",
      "type": "text",
      "required": false,
      "default": "undecided",
      "allowedValues": null
    }
  ],
  "usageInstructions": "List real options you actually weighed, including the one you didn't pick; an ADR with only one option considered usually means the tradeoffs weren't examined yet.",
  "limitations": "Reflects only the context and options you provide; it cannot independently verify technical claims about your infrastructure."
}