review · buiducnhat — скилл для Claude Code: что делает и как установить
Скилл review проверяет незакоммиченные правки в git с полным контекстом файлов, расставляет уровни критичности и выносит вердикт.
MIT 279 установок ★ 48 обновлён 2026-07-06
npx skills add buiducnhat/cobrew --skill review -a claude-codeЧто делает review
Скилл запускает проверку рабочего каталога git через git diff и git diff --cached. Он читает изменённые файлы целиком, а не только отдельные фрагменты диффа, поэтому видит архитектурный контекст и логику вокруг правок. Перед оценкой стиля агент заглядывает в docs/SUMMARY.md и стандарты кодирования проекта, а также запускает доступные тесты или линтеры для затронутых областей.
Каждая найденная проблема получает оценку от S0 (критическая ошибка или потеря данных) до S3 (мелкие правки стиля). В итоговом отчёте формируются сводка изменений, привязанные к строкам замечания с уровнем уверенности, список удачных решений и чеклист блокирующих правок. Если найден хотя бы один пункт категорий S0 или S1, вердикт однозначно требует доработок через Request Changes.
Какие задачи решает
- найти скрытые баги и уязвимости в незакоммиченном коде
- проверить диффы перед коммитом с учётом стандартов проекта
- сформировать чеклист критических исправлений для пулл-реквеста
- оценить влияние правок на соседние модули и архитектуру
Примеры запросов агенту
- Проверь незакоммиченные изменения в git и составь отчёт с вердиктом
- Сделай ревью текущего staged диффа с учётом стандартов проекта
- Найди критические проблемы в изменённых файлах перед коммитом
Как установить review
1Через Skills CLI (Vercel)
npx skills add buiducnhat/cobrew --skill review -a claude-code2Вручную: положить файлы
~/.claude/skills/review/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/review/
1Через Skills CLI (Vercel)
npx skills add buiducnhat/cobrew --skill review -a codex2Вручную: положить файлы
.agents/skills/review/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add buiducnhat/cobrew --skill review -a cursor2Вручную: положить файлы
.cursor/skills/review/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install buiducnhat/cobrew plugins/cobrew/skills/review2Вручную: положить файлы
.github/skills/review/SKILL.md1Через Skills CLI (Vercel)
npx skills add buiducnhat/cobrew --skill review -a gemini-cli2Командой платформы
gemini skills install https://github.com/buiducnhat/cobrew --path plugins/cobrew/skills/reviewВручную: положить файлы
.devin/skills/review/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add buiducnhat/cobrew --skill review -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о review
Как установить review в Claude Code?
Выполните в терминале команду npx skills add buiducnhat/cobrew --skill review -a claude-code.
Что делает скилл review?
Он изучает незакоммиченные изменения в git вместе с полным кодом файлов и проектной документацией, выдавая структурированный отчёт с уровнями серьёзности от S0 до S3 и итоговым вердиктом.
В каком случае скилл выносит вердикт Request Changes?
Агент требует доработок, если обнаружена хотя бы одна блокирующая проблема уровня S0 (критическая поломка, уязвимость или потеря данных) либо S1 (серьёзный баг или отсутствие валидации).
Исходный текст
SKILL.md · MIT
--- name: review description: Review current uncommitted git changes with full file context and produce a structured report with severity levels, actionable fixes, and an approval verdict. license: MIT --- # Review ## Overview Use this skill to review uncommitted changes in the current git workspace. Focus on correctness, safety, maintainability, and alignment with project standards. The review must produce: 1. A concise summary of what changed 2. Prioritized findings with severity labels 3. Actionable fix suggestions 4. A final verdict (`Approve` or `Request Changes`) ## Workflow ### Step 1: Gather Context 1. Inspect current changes: - `git diff` - `git diff --cached` (if staged changes exist) 2. Read the full modified files (not only the diff hunks) to understand surrounding logic and architecture. 3. Load only the project context relevant to the changed files before judging style/patterns: - If `docs/SUMMARY.md` exists, read it first. - Load only task-relevant detail docs. - Prioritize `Code Standard` docs for implementation conventions. - If docs conflict with code or user intent, use the available input/question tool before broad changes. 4. Run relevant quality checks for touched areas (lint/type/tests when practical). ### Step 2: Analyze Changes Evaluate each change across these dimensions: 1. **Correctness** - Does behavior match intended requirements? 2. **Safety & Security** - Are there vulnerabilities, data leaks, auth gaps, or unsafe assumptions? 3. **Reliability** - Are edge cases, null states, retries, and error paths handled? 4. **Style & Consistency** - Does code follow project conventions and established patterns? 5. **Performance** - Any unnecessary expensive operations or regressions? 6. **Testing** - Are critical paths covered with appropriate tests? 7. **Maintainability** - Is the code clear, modular, and easy to evolve? ### Step 3: Classify Findings by Severity Assign one severity per finding using this rubric: - **S0 - Critical** - Production-breaking issue, severe security risk, data corruption/loss, or irreversible side effects - Must be fixed before merge - **S1 - High** - Likely bug, correctness flaw, significant reliability issue, or major missing validation - Should be fixed before merge - **S2 - Medium** - Non-blocking but meaningful issue affecting maintainability, performance, or clarity - Fix recommended soon - **S3 - Low** - Minor improvement, polish, or style-level suggestion - Optional unless team standards require it ### Step 4: Produce Structured Review Report Use the report format below in this exact section order. ## Output Format ### 1) Summary - What changed (2-6 bullets) - Risk profile (low/medium/high) - Areas reviewed (files/modules) ### 2) Findings For each finding, use this template: - **ID**: `R-001` (incrementing) - **Severity**: `S0 | S1 | S2 | S3` - **Category**: `Correctness | Security | Reliability | Style | Performance | Testing | Maintainability` - **Location**: `path/to/file.ext#Lx-Ly` (or function/class name) - **Issue**: Clear statement of the problem - **Why it matters**: User/system impact - **Suggestion**: Concrete fix guidance - **Confidence**: `High | Medium | Low` If no findings exist, explicitly write: **No actionable findings**. ### 3) Positive Notes List good practices observed, such as: - Strong test coverage additions - Clean separation of concerns - Thoughtful error handling - Consistent style and naming ### 4) Must-Fix Checklist Include only `S0` and `S1` findings: - [ ] `R-00X` short fix description - [ ] `R-00Y` short fix description If none, state: **No must-fix items**. ### 5) Verdict Use one of: - **Approve** - No blocking issues (`S0/S1`) remain. - **Request Changes** - One or more blocking issues (`S0/S1`) found. Optionally include: - **Re-review focus**: exact files/areas to re-check after fixes. ## Rules - Be specific and cite exact locations whenever possible. - Do not judge code in isolation; always consider surrounding context. - Prefer actionable suggestions over vague criticism. - Distinguish clearly between blocking and non-blocking feedback. - Avoid speculative claims; if uncertain, lower confidence and explain why. - Align feedback with project documentation and coding standards. ## Review Quality Checklist Before finalizing, confirm: - All modified files were reviewed with context - Each finding has severity, impact, and fix suggestion - Blocking issues are separated into a must-fix checklist - Final verdict matches the finding severities - Feedback is concise, precise, and implementable
© buiducnhat · MIT · buiducnhat/cobrew
Похожие скиллы
Все скиллы по теме «Код-ревью и рефакторинг» →Сначала — review от других авторов.