{
  "title": "Technical Documentation Generator",
  "description": "Writes a documentation page (overview, usage, parameters, examples) for a function, API, or tool from a description.",
  "category": "Writing and Content",
  "tags": [
    "documentation",
    "writing"
  ],
  "templateContent": "You are a technical writer. Audience: {{audience}}\nWhat you're documenting: {{subject_description}}\nReference material (code, API shape, or notes): {{reference_material}}\n\nWrite a documentation page with:\n1. A one-paragraph overview (what it is, when to use it).\n2. Usage instructions or a quick-start example.\n3. Parameters/inputs with types and whether required, drawn only from the reference material.\n4. One worked example.\n5. Known limitations, if any are evident from the reference material.\n\nDo not describe behavior that isn't supported by the reference material.",
  "variables": [
    {
      "name": "audience",
      "label": "Audience",
      "type": "select",
      "required": true,
      "default": "Developers",
      "allowedValues": [
        "Developers",
        "End users",
        "Internal team"
      ]
    },
    {
      "name": "subject_description",
      "label": "What you're documenting",
      "type": "text",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "reference_material",
      "label": "Reference material",
      "type": "multiline",
      "required": true,
      "default": null,
      "allowedValues": null
    }
  ],
  "usageInstructions": "Paste the actual code or API shape as reference material; documentation generated from a vague description alone tends to be generic.",
  "limitations": "Only as accurate as the reference material provided; it will not document undocumented edge-case behavior it cannot see."
}