code-review-advanced
БесплатноБез исполняемых скриптовНе проверенPerforms evidence-driven code review for pull requests, legacy modules, and quality-critical changes. Use when reviewing complex or multi-file changes, test…
от jaktestowac★ 124 звезды на GitHubОб этом скилле
Advanced Code Review
Use this skill when a review needs to go beyond style feedback and surface the real engineering risks in a change. It is built for complex pull requests, sensitive code paths, test automation suites, and refactors where a shallow review would miss important trade-offs.
When to Use
Use this skill when the user asks for things like:
- "review this PR critically"
- "audit this change for maintainability or security"
- "look for architectural issues, not just syntax problems"
- "review this test automation code for flakiness and long-term cost"
- "analyze whether this refactor is safe to merge"
Typical scenarios:
- large or multi-file pull requests
- legacy code audits
- high-risk changes in authentication, payments, permissions, data flows, or CI pipelines
- changes that add tests but may still reduce confidence
- code that technically works but appears expensive to maintain
Review Principles
- Evidence over intuition - every important finding should point to observable code, behavior, or missing coverage
- Risk over volume - a few high-signal findings are better than a long list of cosmetic remarks
- Context before judgment - understand intent, constraints, and surrounding patterns before recommending change
- Severity must mean something - blockers and high-risk findings must be clearly separated from notes and polish
- Actionable feedback only - explain why the issue matters and what the safer direction looks like
- Acknowledge uncertainty - if the review lacks context, say so explicitly instead of pretending certainty
Review Workflow
Follow the phases in order.
Phase 0: Frame the review
Before reviewing, establish:
- scope: whole repository, changed files only, or one subsystem
- review goal: correctness, readiness, architecture, security, test quality, or debt discovery
- change type: feature, bug fix, refactor, migration, test-only, or infrastructure
- constraints: release pressure, backward compatibility, legacy boundaries, compliance needs
If the user does not provide this information, infer cautiously and list assumptions.
Phase 1: Understand the context first
Do not comment on code in isolation if context is available.
Check:
- surrounding modules and nearby patterns
- existing tests and how they express behavior
- documentation, ticket intent, or change summary if available
- whether the implementation matches the apparent architectural direction of the repository
If the request is based on a diff or pull request, identify:
- what behavior changed
- what behavior stayed implicit
- what could regress without detection
Phase 2: Inspect the change through multiple lenses
Use ./resources/review-checklist.md as the primary checklist.
Always review at least these dimensions:
- Correctness - logic, edge cases, state transitions, and error handling
- Maintainability - readability, cohesion, duplication, coupling, and naming quality
- Architecture - boundary violations, abstraction quality, hidden dependencies, and future change cost
- Security and privacy - trust boundaries, secrets, authorization, unsafe defaults, and logging risks
- Performance and scalability - obvious hot paths, unnecessary work, poor batching, blocking calls, or repeated setup
- Testing - missing coverage, weak assertions, test realism, determinism, and regression detection strength
- Operability - observability, diagnostics, fallback behavior, and failure recovery
When the reviewed code touches automated tests, also load ./resources/test-automation-review-lens.md.
Phase 3: Build findings with clear structure
Each meaningful finding should contain:
- severity: Blocker, High, Medium, Low, or Note
- area: correctness, architecture, test quality, security, performance, maintainability, or operability
- summary: short statement of the issue
- evidence: concrete file, behavior, or omission that supports the claim
- risk: why the issue matters
- recommended direction: the smallest safe improvement or follow-up
Do not inflate severity.
Use these severity rules:
- Blocker - likely wrong, unsafe, or merge-blocking
- High - significant regression, security, data, or reliability risk
- Medium - important quality issue that should be addressed soon
- Low - valid improvement but not urgent
- Note - observation, trade-off, or follow-up idea with no immediate action required
Phase 4: Write a review that is easy to act on
Use ./resources/review-report-template.md for the response structure.
The review should usually include:
- a short executive summary
- the highest-risk findings first
- specific strengths worth preserving
- missing tests, docs, or operational safeguards
- a final recommendation:
approve,comment, orrequest changes
Keep feedback concrete and teammate-friendly. Prefer "Consider extracting this dependency boundary because..." over
Установить code-review-advanced в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл code-review-advanced?
Performs evidence-driven code review for pull requests, legacy modules, and quality-critical changes. Use when reviewing complex or multi-file changes, test automation suites, architectural refactors, or hot paths that need analysis of correctness, maintainability, security, performance, test quality, and operability risks. Provides structured feedback with severity-ranked findings, actionable recommendations, and clear rationale. For a fast sanity check of a small diff or single file, use the code-review skill instead.
Как установить скилл code-review-advanced?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-review-advanced запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic