VerifiziertDer Scanner hat kein Muster über „niedrig“ gefunden; Struktur- und Kompatibilitätsprüfung bestanden. Die Version ist unveränderlich und per SHA-256 gehasht. Automatische Analyse, keine Garantie. Von Denofy
Reviews a diff or pull request for correctness, security, tests and maintainability, and reports findings ranked by severity with concrete fixes. Use when the user asks for a code review, a second opinion on a change, or "is this safe to merge?".
Skill Claude Code Codex Cursor Gemini CLI Windsurf Copilot
Drafts a clear pull request title and description from the branch's commits and diff, with context, the change, how it was tested and risks. Use when the user opens a pull request or asks for a PR description.
Nutzen für: Opening a pull request from a branch with several commits
1---2name: code-review3description: Reviews a diff or pull request for correctness, security, tests and maintainability, and reports findings ranked by severity with concrete fixes. Use when the user asks for a code review, a second opinion on a change, or "is this safe to merge?".4license: MIT5version: 1.1.16use_when:7 - Reviewing a diff or pull request before it is merged8 - Getting a second look at correctness, security and tests9avoid_when:10 - You need a full security audit of a whole codebase11 - Formatting-only changes that a linter already checks12allowed-tools: Read, Grep, Glob, Bash(git diff:*), Bash(git log:*)13---1415# Code review1617Review like a careful senior colleague: find the problems that matter, explain them, propose a18fix, and do not drown the author in nitpicks.1920## 1. Understand the change2122- Read the description or ask what the change is supposed to do.23- Get the diff: `git diff <base>...HEAD` (or the files the user points to).24- Read the surrounding code of every changed function, not only the changed lines.2526## 2. Check, in this order27281. **Correctness** — Does it do what it claims? Edge cases: empty input, `null`/`undefined`,29 zero, very large values, unicode, time zones, concurrency, retries, partial failure.302. **Security** — Untrusted input reaching SQL, shell, HTML, file paths or URLs; missing31 authorisation checks; secrets in code or logs; unsafe deserialisation; open redirects.323. **Data** — Migrations that lock or rewrite large tables, missing indexes, lost data on33 rollback, breaking API or schema changes for existing clients.344. **Tests** — Is the new behaviour tested? Would the tests fail without the change? Are35 failure paths covered?365. **Error handling and observability** — Errors swallowed, unclear messages, missing logs for37 operations that can fail in production.386. **Maintainability** — Duplication with existing helpers, unclear names, functions doing too39 much, dead code. Only mention style if the project has no formatter.4041## 3. Report4243Group findings by severity and give each one a location, the problem and a fix:4445```markdown46### Blocking4748- `src/api/orders.ts:88` — the discount is applied twice when `retry=true`.49 Fix: compute the total once before the retry loop (suggested patch below).5051### Should fix5253- …5455### Optional5657- …5859### Looks good6061- Short note on what is solid, so the author knows what not to change.62```6364- Verify each finding by tracing a realistic input to the failure. If you are not sure, say so65 and ask a question instead of stating it as fact.66- Prefer a small suggested patch over a long explanation.67- Do not approve or merge on the user's behalf.
Code review
Review like a careful senior colleague: find the problems that matter, explain them, propose a
fix, and do not drown the author in nitpicks.
1. Understand the change
Read the description or ask what the change is supposed to do.
Get the diff: git diff <base>...HEAD (or the files the user points to).
Read the surrounding code of every changed function, not only the changed lines.
2. Check, in this order
Correctness — Does it do what it claims? Edge cases: empty input, null/undefined,
zero, very large values, unicode, time zones, concurrency, retries, partial failure.
Security — Untrusted input reaching SQL, shell, HTML, file paths or URLs; missing
authorisation checks; secrets in code or logs; unsafe deserialisation; open redirects.
Data — Migrations that lock or rewrite large tables, missing indexes, lost data on
rollback, breaking API or schema changes for existing clients.
Tests — Is the new behaviour tested? Would the tests fail without the change? Are
failure paths covered?
Error handling and observability — Errors swallowed, unclear messages, missing logs for
operations that can fail in production.
Maintainability — Duplication with existing helpers, unclear names, functions doing too
much, dead code. Only mention style if the project has no formatter.
3. Report
Group findings by severity and give each one a location, the problem and a fix:
### Blocking
- `src/api/orders.ts:88` — the discount is applied twice when `retry=true`.
Fix: compute the total once before the retry loop (suggested patch below).
### Should fix
- …
### Optional
- …
### Looks good
- Short note on what is solid, so the author knows what not to change.
Verify each finding by tracing a realistic input to the failure. If you are not sure, say so
and ask a question instead of stating it as fact.
Prefer a small suggested patch over a long explanation.
Do not approve or merge on the user's behalf.
SkillBQualitätInstallationen: 6Aktualisiert vor 11 Stunden
Checks a change or a module for common security problems (injection, broken access control, secrets, unsafe dependencies, SSRF, XSS, insecure defaults) and explains each finding with a fix. Use when the user asks for a security review or before merging changes that handle input, authentication or fi
Nutzen für: Reviewing a change that touches input handling, auth or secrets