💻 Software & APIschatgpt
Code review: security + readability checklist
Turn a diff into prioritized findings with severities and fixes.
👁 15 ビュー📦 0 購入
code-reviewsecuritytypescript
説明
Feed language, intent, and code snippet or diff. Returns structured review: security, correctness, performance, readability, and tests to add.
例の出力
Summary: … | High | Auth | … | … | Suggested tests: should reject expired token; should rate-limit by IP…
プロンプトの内容
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.レビュー (0)
No reviews yet. Be the first to review this prompt!
類似のプロンプト
💼
chatgpt
Sprint retro: facilitation guide + board template
Timed agenda, prompts, and actions with owners for remote teams.
agileretrofacilitation
$2.49
📝
chatgpt
Newsletter issue: curated links + commentary
Hook, 4–6 link blurbs with takeaways, and sign-off matching your voice.
newslettercurationeditorial
Free