{
  "title": "User Story and Acceptance Criteria Generator",
  "description": "Converts a feature description into user stories with testable acceptance criteria in Given/When/Then form.",
  "category": "Product and Project Management",
  "tags": [
    "product",
    "user-stories",
    "agile"
  ],
  "templateContent": "You are writing backlog-ready user stories. Feature: {{feature_description}}\nUser role(s) involved: {{user_roles}}\n\nProduce {{story_count}} user stories in the form \"As a [role], I want [goal], so that [benefit]\", each with 2-4 acceptance criteria in Given/When/Then form that a QA engineer could test directly. Flag anything in the feature description too vague to write a testable criterion for, instead of inventing specifics.",
  "variables": [
    {
      "name": "feature_description",
      "label": "Feature description",
      "type": "multiline",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "user_roles",
      "label": "User role(s) involved",
      "type": "text",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "story_count",
      "label": "Number of stories",
      "type": "number",
      "required": true,
      "default": 3,
      "allowedValues": null
    }
  ],
  "usageInstructions": "List every distinct role that interacts with the feature; each role usually needs its own story even for the same feature.",
  "limitations": "Acceptance criteria are only as testable as the input description; vague inputs produce explicitly flagged gaps rather than fabricated specifics."
}