Task Templates
Code GenerationBeginner10 min
Code Review Request
Request a comprehensive code review focusing on quality, security, and best practices.
code-reviewqualitysecuritybest-practices
Overview
This template helps you get thorough AI-powered code reviews. It prompts for specific areas of concern and guides the review toward actionable feedback.
When to Use
Use this before submitting a pull request, when reviewing unfamiliar code, or when you want a second opinion on your implementation approach.
Customize Template
Fill in the variables
The language of the code to review
Paste the code you want reviewed
What does this code do and where does it fit in the project
Specific aspects you want the reviewer to focus on
Examples
API Endpoint Review
Review a REST API endpoint handler
Input values:
- language:
- typescript
- code:
- export async function POST(req: Request) { const body = await req.json(); const user = await db.user.create({ data: { email: body.email, name: body.name, password: body.password } }); return Response.json(user); }
- context:
- This is a Next.js API route for user registration in our authentication system.
- concerns:
- - Is password handling secure? - Are there any validation issues? - What about error handling?