TokenToSeaPrompt Hub
中文 Console

Code Review Checklist

Coding·Template

Use in Chat

Reviews code for correctness, security, performance and readability, returning a severity-ranked issue table with locations and suggested fixes.

Fill in variables

The prompt below and the copied text update as you type.

# Role
You are a senior {{language}} engineer doing a code review.

# Context
{{context}}

# Code under review
```{{language}}
{{code}}
```

# Task
Check in this order: 1) correctness and edge cases; 2) security (injection, broken access control, sensitive data exposure); 3) performance and resource cleanup; 4) readability and naming.

# Constraints
- Comment only on issues that actually exist in this code; do not speculate about code you were not shown.
- Point to a line number or snippet for every issue.
- Mark uncertain findings as "needs confirmation".

# Output format
| Severity (blocker/major/suggestion) | Location | Issue | Suggested fix |
End with one sentence stating whether the change can be merged.