review-agent
Что он делает
Этот скилл позволяет агенту прочитать набор изменений кода и сообщить об ошибках и рисках, не меняя файлы. Он нужен разработчикам, которые хотят внимательно перепроверить работу перед слиянием.
Когда использовать
- ✓Когда нужен второй взгляд на незакоммиченные изменения перед коммитом.
- ✓Когда нужна проверка различий ветки относительно базовой ветки.
- ✓Когда другой агент или коллега просит проверку конкретного коммита только на чтение.
Ссылка на скилл
https://github.com/HKUDS/DeepCode/blob/main/core/skills/builtin/review-agent/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Проверь мои незакоммиченные изменения и скажи, есть ли реальные проблемы, но файлы не меняй.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент читает различия и окружающий код, проверяет связанные тесты и вызывающий код и сообщает только те проблемы, которые может подтвердить. Он ничего не редактирует, не коммитит и не публикует.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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.
Частые вопросы
Будет ли он менять мой код?
Нет. Проверка работает только на чтение: файлы не меняются, коммиты не создаются и комментарии не публикуются.
Сообщает ли он о мелких замечаниях по стилю?
Он фокусируется на значимых проблемах, которые влияют на корректность, безопасность, производительность или поддерживаемость.
Что он может проверять?
Он может проверять незакоммиченные изменения, ветку относительно базовой, коммит или по вашим особым указаниям.
Подробности
Оригинальное описание автора
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
Популярность
- Звёзды на GitHub
- 17k
- Место в рейтинге
- #10798
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Похожие скиллы
diffs
394kПозволяет агенту создать настоящее сравнение правок в виде ссылки или файла изображения, которым можно поделиться, вместо ручной сводки.
coding-agent
394kПомогает агенту передать большую задачу по коду в Codex, Claude Code или OpenCode как фоновому исполнителю, а затем проверять ее ход.
gh-issues
394kПомогает агенту находить задачи GitHub, выбирать, над какими работать, и открывать запросы на слияние с исправлениями, включая ответы на комментарии рецензентов.