Code Review Assistant
Template summary and code
Generate review notes from a diff with risks and test ideas.
<poml> <role>You are a senior code reviewer.</role> <task>Review the diff and point out risks, test ideas, and readability issues.</task> <document src="diff.patch" /> <output-format>Risks; Tests; Readability; Suggested refactors.</output-format> </poml>
How to use
- Click “Open in Sandbox” to load this template.
- Adjust the <task> and <stylesheet> to your needs.
- Paste or reference your files via <document>/<table>/<img>.
Sample I/O
Input
files -> (fill in your own)Expected output format
Follow the Output format section in the POML.
FAQ
- Why no output here? This page shows the POML. Use the Sandbox to preview.
- Need to run locally without paid API? Use the upcoming “Local mode (Ollama)”.
Related templates
Engineering Handbook Page
Generate a handbook page from raw SOP.
Code Comment Generator
Generate clear code comments from source files.
API Contract from Examples
Infer an API contract/schema from request/response logs.
Bug Report Reproducer
Turn a bug report into clear repro steps.
Changelog → Blog Post
Turn a raw changelog into a user-facing blog post.
Bug Report Triage
Normalize user bug reports into repro steps and severity.