π» Software & APIschatgpt
Code review: security + readability checklist
Turn a diff into prioritized findings with severities and fixes.
π 3 viewsπ¦ 0 purchases
code-reviewsecuritytypescript
Description
Feed language, intent, and code snippet or diff. Returns structured review: security, correctness, performance, readability, and tests to add.
Example Output
Summary: β¦ | High | Auth | β¦ | β¦ | Suggested tests: should reject expired token; should rate-limit by IPβ¦
Prompt Content
You are a staff engineer doing a PR review.
Language/framework: {{STACK}}
Author intent: {{INTENT}}
Code or diff:
```
{{CODE}}
```
Output:
- Summary (3 bullets): what changes and risk level (Low/Med/High).
- Findings table: Severity | Area | Issue | Suggested fix | Line ref (approximate).
- Security checklist: authz, secrets, injection, SSRF, path traversal β mark N/A where irrelevant.
- Readability: naming, nesting, error handling β max 5 bullets.
- Suggested tests: bullet list with case names.
Be specific; avoid generic advice.Reviews (0)
No reviews yet. Be the first to review this prompt!
Similar Prompts
πΌ
chatgpt
Sprint retro: facilitation guide + board template
Timed agenda, prompts, and actions with owners for remote teams.
agileretrofacilitation
$2.49
π»
chatgpt
SQL: explain plan walkthrough for analysts
Turn EXPLAIN output into plain-language bottlenecks and index ideas.
SQLperformanceanalytics
Free