Code Review Prompt Generator
Generate a staff-level PR review prompt focusing on concurrency hazards, security vulnerabilities (XSS/SQLi/SSRF), type safety, and maintainability.
How to Use Code Review Prompt Generator
- Paste a code diff or file to generate a structured security and architecture code review prompt.
Keyboard Shortcuts & Sandbox Guarantee
More in AI & Prompt Engineering
Build structured CO-STAR / RISEN prompts (Role, Context, Objective, Constraints, Output Format) locally or enhance with server-side Gemini.
Transform vague one-line prompts into unambiguous, constraint-driven instructions with explicit evaluation criteria.
Construct production `systemInstruction` definitions with persona boundaries, tool-use rules, JSON output schemas, and refusal guardrails.
Wrap complex code snippets into a structured prompt requesting time/space complexity (Big-O), data flow trace, and edge-case analysis.
Combine error stack traces, reproduction steps, and source code into a root-cause analysis prompt.
Create a comprehensive prompt from your `package.json` or file tree to generate developer documentation.