review-my-diff
БесплатноБез исполняемых скриптовНе проверенSelf-review your uncommitted or branch changes before opening a PR, with findings ranked by severity and backed by file and line evidence. Use when asked to…
от aiskillstore★ 509 звёзд на GitHubОб этом скилле
Review my diff before a human does
Goal: catch the problems a reviewer would catch, in order of how much they matter. You are reviewing, not rewriting: do not edit files unless asked.
Steps
- Get the change. Run
git status --short, thengit diff(unstaged) andgit diff --staged. For a branch, find the base (git merge-base HEAD origin/mainor the default branch) and rungit diff <base>...HEAD. If the diff is huge, review it by directory and say so. - State the intent in one sentence, inferred from commit messages, branch name or the user's request. If you cannot tell, ask once.
- Read the whole diff, then the code around risky hunks (callers, tests, config). A diff hides what it did not touch.
- Check in this order:
- Correctness: wrong conditions, off-by-one, null/empty cases, error paths, concurrency, resource cleanup.
- Safety: input validation, auth checks, secrets, injection, destructive operations, migrations that lock or lose data.
- Tests: does a test fail without this change? Are the new branches covered? Any test that asserts nothing?
- Compatibility: public API, config, database, file formats, callers outside this repo.
- Maintainability: dead code, copy-paste, unclear names, debug leftovers (
console.log,print,TODO, commented code). - Scope: unrelated edits that should be a separate PR.
- Run what exists: the project's tests, lint and type check, if they are quick. Report the exact commands and results. If you did not run something, say so.
Output format
Intent: <one sentence>
Checks run: <commands and results, or "none">
BLOCKER (fix before merging)
- <file>:<line> <problem>. Why it matters: <consequence>. Suggested fix: <short>
SHOULD FIX
- <file>:<line> ...
NITS (optional)
- ...
Looks good
- <specific things that are right, so the author knows what to keep>
Questions for the author
- <things you could not determine from the code>
Rules
- Every finding names a file and line, and says what breaks. No "consider improving readability" without a specific line.
- If you find nothing in a category, say "nothing found" rather than inventing a nit.
- Distinguish "I verified this" from "this looks suspicious". Do not claim a bug you did not trace.
- Never approve. End with a recommendation (ready, ready after fixes, or needs rework) and the reason.
Установить review-my-diff в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл review-my-diff?
Self-review your uncommitted or branch changes before opening a PR, with findings ranked by severity and backed by file and line evidence. Use when asked to review my changes, check my diff or get ready for review.
Как установить скилл review-my-diff?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл review-my-diff запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic