code-review
Review code changes against the task, repository conventions, and applicable implementation rules. Report only evidenced, actionable findings without editing…
от siberiacancode★ 25 звёзд на GitHub
Установить code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Code Review
Before starting, locate, read, and apply these skills:
language- Relevant
testing,practices, andpackagesskills when applicable
Process
1. Establish context
Read the task, referenced specification, documentation, test cases, repository instructions, and available implementation context. Inspect the working tree without modifying it. For a standalone review, use the supplied base Git ref and optional target (default HEAD), resolve both refs, and review the complete diff from their merge base. When invoked by implementation without refs, review its staged and unstaged changes against the starting state if that state can be established. Request missing information when the review range or task intent cannot be determined reliably; never guess or claim to have reviewed unidentifiable changes.
2. Review the changes
Read and apply review analysis. Trace each material change from its entry point through the relevant contracts, state, dependencies, error handling, UI, and tests. Read the applicable rules in ../implementation/rules/code/ before judging conventions: architecture, general conventions, naming, destructuring, and types as relevant; components, hooks, forms, state management, and mocks when changed. Apply testing and other shared rules only when relevant. A checklist item is not a finding by itself.
3. Report findings
Start with a concise summary of the reviewed range, task intent, and limitations. For Git refs, include the merge-base, target, and resolved hashes so the range is reproducible. Do not claim to have inspected changes or run checks that were unavailable.
Group confirmed, actionable findings by severity (blocking, important, minor), omitting empty groups and duplicate root causes. Each finding needs a short title, exact file and line where possible, supporting evidence, practical consequence, and smallest safe fix. Link an applicable implementation rule when relevant; do not invent rule citations for behavioral defects. Use natural headings rather than fixed labels.
If no actionable findings are confirmed, say so and identify the reviewed areas and limitations. Keep speculative questions separate from confirmed findings; never manufacture issues.
This skill is read-only. The invoking implementation workflow owns any fixes and subsequent review iterations.
Review format
Report findings in descending severity order: 🔴 Critical, 🟠 Major, 🟡 Minor. Number findings continuously and use the same structure for each: a bold title with severity, file location, concise explanation, and a recommendation prefixed with > 💡.
Use ### Code Review · N findings as the heading. If no issues are found, report 0 findings. Do not include unverified issues or stylistic nitpicks.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- rules/analysis.md
FAQ
Что делает скилл code-review?
Review code changes against the task, repository conventions, and applicable implementation rules. Report only evidenced, actionable findings without editing files.
Как установить скилл code-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-review запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…