{
  "title": "Review a Pull Request for Security Issues",
  "description": "A ready-to-use prompt to review a pull request for security issues, producing a structured draft you can act on directly rather than a vague suggestion.",
  "category": "Software Development",
  "tags": [
    "software-development",
    "review-pull"
  ],
  "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: Review a pull request for security issues.\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": "Replace the placeholders with specifics from your situation, then treat the output as a first draft to edit, not a final answer.",
  "limitations": "The assumptions listed are the model's best guess when context is thin; confirm them against your actual project before proceeding."
}