💻 Software & APIschatgpt
Code review: security + readability checklist
Turn a diff into prioritized findings with severities and fixes.
👁 19 vues📦 0 achats
code-reviewsecuritytypescript
Description
Feed language, intent, and code snippet or diff. Returns structured review: security, correctness, performance, readability, and tests to add.
Exemple de résultat
Summary: … | High | Auth | … | … | Suggested tests: should reject expired token; should rate-limit by IP…
Contenu de la demande
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.Avis (0)
No reviews yet. Be the first to review this prompt!
Demandes similaires
💻
chatgpt
SQL: explain plan walkthrough for analysts
Turn EXPLAIN output into plain-language bottlenecks and index ideas.
SQLperformanceanalytics
Free
💼
chatgpt
Sprint retro: facilitation guide + board template
Timed agenda, prompts, and actions with owners for remote teams.
agileretrofacilitation
$2.49