Skip to main content
Ready to use

Code Change Review Checklist JSON Brief

Inspect a proposed code change for risks and meaningful test cases. Customize a structured brief.

Coding & Web DevelopmentIntermediateCopilot · Grok
{
  "task": "Code Change Review Checklist",
  "instructions": "Review [CODE DIFF] against [INTENDED BEHAVIOR]. Identify correctness, error-handling and readability issues with exact snippets from the diff. Separate confirmed problems from concerns needing context. Propose focused tests for changed behavior and explain expected results. Do not claim you ran the code.",
  "inputs": {
    "code_diff": "[CODE DIFF]",
    "intended_behavior": "[INTENDED BEHAVIOR]",
    "sections": [
      "confirmed_issues",
      "questions",
      "test_cases"
    ]
  },
  "output_format": "JSON",
  "rules": [
    "Use only the supplied material for factual claims.",
    "Mark missing information explicitly; do not invent names, dates, figures or sources.",
    "Return valid JSON with the requested sections."
  ]
}

How to use this prompt

Replace the bracketed values in this JSON task brief, then paste it into the selected chat service along with the requested source material. Check the returned JSON and its claims before using it.

← Browse all json prompts
Free · The Weekly Prompt

Get Better AI Prompts Every Week

Useful prompts, practical AI tips, and selected tools and opportunities.