{
  "title": "Design a Retry and Backoff Strategy for Flaky Network Calls",
  "description": "A structured prompt that helps you design a retry and backoff strategy for flaky network calls by asking the model to show its reasoning, not just its conclusion.",
  "category": "Software Development",
  "tags": [
    "software-development",
    "retry-backoff"
  ],
  "templateContent": "Act as a senior software engineer. Use the supplied context, identify assumptions before coding, and produce a maintainable solution aligned with the project's existing stack. Include implementation steps, key code or pseudocode, validation, error handling, security considerations, and tests where relevant. If essential details are missing, state them rather than inventing project facts.\n\nTask: Design a retry and backoff strategy for flaky network calls.\n\nContext to use:\n- Project or subject: {{project_or_subject}}\n- Constraints and preferences: {{constraints}}\n- Existing material or reference notes: {{source_material}}\n\nResponse format:\n1. Brief recommendation or approach\n2. Main deliverable, organized into clear sections\n3. Assumptions and unresolved questions\n4. Validation or quality checklist",
  "variables": [
    {
      "name": "project_or_subject",
      "label": "Project or subject",
      "type": "multiline",
      "required": true,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "constraints",
      "label": "Constraints and preferences",
      "type": "multiline",
      "required": false,
      "default": null,
      "allowedValues": null
    },
    {
      "name": "source_material",
      "label": "Existing material or reference notes",
      "type": "multiline",
      "required": false,
      "default": null,
      "allowedValues": null
    }
  ],
  "usageInstructions": "Fill in the context fields with your real project details, then review the assumptions section before acting on the output.",
  "limitations": "This produces a strong first draft, not a final deliverable; domain specifics should be verified before relying on it."
}