review-agent
Was er macht
Dieser Skill lässt einen Agenten eine Reihe von Code-Änderungen lesen und Fehler und Risiken melden, ohne Dateien zu ändern. Er richtet sich an Entwickler, die vor dem Zusammenführen einen sorgfältigen zweiten Blick wollen.
Wann du ihn nutzt
- ✓Wenn du vor dem Commit eine zweite Meinung zu nicht committeten Änderungen willst.
- ✓Wenn du die Unterschiede eines Branches gegenüber seinem Basis-Branch prüfen lassen willst.
- ✓Wenn ein anderer Agent oder ein Teammitglied eine reine Lesekontrolle eines bestimmten Commits anfordert.
Link zum Skill
https://github.com/HKUDS/DeepCode/blob/main/core/skills/builtin/review-agent/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Bitte prüfe meine nicht committeten Änderungen und nenne mir echte Probleme, ohne die Dateien zu ändern.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent liest den Diff und den umliegenden Code, prüft die zugehörigen Tests und Aufrufer und meldet nur Probleme, die er bestätigen kann. Er ändert, committet oder veröffentlicht nichts.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Review Agent
Inspect the requested target directly and return every finding that the author would likely fix. Do not modify files, create commits, push branches, post review comments, or delegate the review to another agent.
Review the change
- Read the applicable
AGENTS.mdinstructions. - Inspect the complete diff for the requested target and enough surrounding code to understand each changed path.
- Identify concrete regressions introduced by the change. Continue through the whole diff after finding the first issue.
- Check the relevant tests and call sites to confirm that each finding is real and actionable.
For a base-branch review, compare the changes that would actually merge rather than diffing
directly against the branch tip. Resolve the comparison ref to the branch's upstream when that
upstream exists and is ahead of the local branch; otherwise use the local branch. Run
git merge-base HEAD <comparison-ref>, then inspect git diff <merge-base-sha>. If the local
branch cannot be resolved, try its configured upstream explicitly before reporting that the target
is unavailable.
Flag an issue only when all of these are true:
- It affects correctness, security, performance, or maintainability in a meaningful way.
- It is discrete and actionable.
- It was introduced by the reviewed change.
- The affected scenario or call path can be demonstrated from the code.
- The author would probably fix it if they knew about it.
Do not flag speculative concerns, pre-existing problems, intentional behavior changes, or style nits that do not obscure the code.
Write the result
Present findings first, ordered by severity. Use one entry per issue in this form:
[P1] Imperative finding title — path/to/file.rs:line
Follow the title with one short paragraph explaining the affected scenario and why the behavior is wrong. Keep the cited range as small as possible and make sure it overlaps the reviewed diff.
Use these priorities:
P0: universal release blocker or critical failure.P1: urgent defect that should be fixed next.P2: ordinary defect that should be fixed.P3: low-impact issue that is still worth fixing.
If there are no qualifying findings, say No findings. Do not invent a finding to fill the result.
After the findings, add a brief overall assessment and mention any material test gaps or residual
risks.
Häufige Fragen
Ändert er meinen Code?
Nein. Die Prüfung ist rein lesend. Sie verändert keine Dateien, erstellt keine Commits und veröffentlicht keine Kommentare.
Meldet er kleine Stilfragen?
Er konzentriert sich auf bedeutsame, umsetzbare Probleme, die Korrektheit, Sicherheit, Leistung oder Wartbarkeit betreffen.
Was kann er prüfen?
Nicht committete Änderungen, einen Branch im Vergleich zu seiner Basis, einen Commit oder eigene Vorgaben, die du gibst.
Details
Originalbeschreibung des Autors
Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.
repo: HKUDS/DeepCode
Beliebtheit
- GitHub-Sterne
- 17k
- Platz im Ranking
- #10798
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Ähnliche Skills
diffs
394kLässt deinen Agenten einen echten, teilbaren Diff seiner Änderungen als Viewer-Link oder Bilddatei erstellen, statt einer handgeschriebenen Zusammenfassung.
coding-agent
394kHilft deinem Agenten, eine größere Programmieraufgabe als Hintergrund-Worker an Codex, Claude Code oder OpenCode zu übergeben und danach den Fortschritt zu prüfen.
gh-issues
394kHilft deinem Agenten, GitHub-Issues zu finden, die zu bearbeitenden auszuwählen und Pull Requests mit Korrekturen zu öffnen, einschließlich der Nacharbeit an Review-Kommentaren.