PromptGalaxi
πŸ’» Software & APIschatgpt

Code review: security + readability checklist

Turn a diff into prioritized findings with severities and fixes.

πŸ‘ 3 viewsπŸ“¦ 0 purchases
code-reviewsecuritytypescript

Free

One-time purchase Β· Instant access

Sign in required to purchase

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
0 purchases
$2.49
πŸ’»
chatgpt

SQL: explain plan walkthrough for analysts

Turn EXPLAIN output into plain-language bottlenecks and index ideas.

SQLperformanceanalytics
0 purchases
Free
πŸ“
chatgpt

Newsletter issue: curated links + commentary

Hook, 4–6 link blurbs with takeaways, and sign-off matching your voice.

newslettercurationeditorial
0 purchases
Free