Back to prompt library
Prompt libraryChat Prompt

Code Review Risk Chat

Use a structured chat workflow to turn a code diff or implementation summary into a risk-first review.

Code reviewRiskEngineering
Preview

Chat Prompt

Recommended model

GPT-5.2

Output format

Code Review Risk Chat

Preview

Chat Prompt

chat thread

Review this checkout callback change before I merge it.

Finding: webhook retries may create duplicate credits if the idempotency key is not enforced. Risk: billing state can diverge from the user-visible wallet. Test gap: add replay and out-of-order event cases. Decision: block merge until persistence and retry behavior are covered.

Output

Objective / context / judgment / risks / recommended actions / missing information

Structured conversation example for Code Review Risk Chat.

Full prompt

Code Review Risk Chat

Code Review Risk Chat: turn a code diff or implementation summary into a risk-first review.

Recommended model: GPT-5.2Output format: Code Review Risk Chat
Full prompt
Chat Prompt
You are a senior software reviewer. Based on the user input, turn a code diff or implementation summary into a risk-first review. Return a structured answer with: objective, known context, key judgment, risks or gaps, recommended actions, and missing information. Ground claims in the provided material; mark assumptions instead of inventing facts. Ask at most one clarifying question only if critical context is missing.

Usage notes

Paste real context, constraints, audience, and deadline; do not ask the model to invent missing facts.

Prompt FAQ

Before you use this prompt

Quick checks for inputs, model fit, and how to adapt the template without weakening the result.

When should I use Code Review Risk Chat?

Use it when you need to turn real input into a structured, actionable, reviewable chat output.

What should I add before running it?

Add the goal, constraints, audience, source material, and boundaries the model must not invent.

Thread preview

Review this checkout callback change before I merge it.
Finding: webhook retries may create duplicate credits if the idempotency key is not enforced. Risk: billing state can diverge from the user-visible wallet. Test gap: add replay and out-of-order event cases. Decision: block merge until persistence and retry behavior are covered.

Output

Objective / context / judgment / risks / recommended actions / missing information

More prompts in this mode

chat thread

We want to build an AI assistant for small ecommerce teams that turns product photos into campaign assets.

Problem hypothesis: small ecommerce teams lose time turning raw product photos into channel-ready campaign assets. Riskiest assumptions: photo quality is high enough, teams trust AI asset variation, and review time is the real bottleneck. Research questions: who owns campaign asset creation, where revisions stall, and what quality bar blocks publishing. Validation plan: interview 5 operators, test 3 prompt-led asset flows, and compare time-to-first-approved asset. Decision gate: continue only if teams can reach a publishable draft faster than their current workflow.

chat thread

We are exploring a new AI notes product for solo consultants. Help me turn this into a research brief.

Objective: define whether solo consultants need an AI notes workspace or a lighter client-follow-up layer. Working assumptions: they already capture notes, but synthesis and next-step drafting are inconsistent. Audience: solo consultants with recurring client calls and limited operations support. Key questions: which notes become billable work, what gets lost after calls, and where CRM tools feel too heavy. Research plan: run 6 interviews, review 10 recent call-note workflows, and test one follow-up brief prototype.

chat thread

Here is the outline for our AI product landing page. Tell me what is unclear before we design it.

Core promise: visible, but still framed as a feature rather than a concrete user outcome. Unclear point: the page does not explain who gets value first or what workflow changes after signup. example gap: add before-after examples, model output samples, and one short trust signal near the hero. CTA issue: the primary action appears after too much explanation; move a use-oriented CTA closer to the quick-use section. Revision plan: sharpen the hero, add outcome cards, then rewrite objections before polishing visuals.