code-review
БесплатноБез исполняемых скриптовНе проверенSystematic and adaptable code review methodology using Language Server Protocol tools. Adapts to available LSP capabilities across programming languages. Use…
Об этом скилле
Code Review
Systematic 9-phase code review methodology using Language Server Protocol tools. Adapts to available LSP capabilities across programming languages.
Skill Methodology
Systematic 9-phase code review methodology using Language Server Protocol tools. Extends DEVELOPER profile with sequential analysis phases assessing code quality, architecture, and maintainability.
[!IMPORTANT] The skill embodies Analyze → Verify → Document → Deliver
- Process skill instructions systematically
- Take time to read, understand, and apply each section's logic carefully
- Rushing past documented procedures causes fatal execution errors
Phase Overview
- Phase 1 (Project Discovery) - Establish tool inventory, understand project structure, identify technology stack
- Phase 2 (Structural Analysis) - Analyze code organization, module structure, architectural patterns
- Phase 3 (Dependency Mapping) - Map import relationships, call hierarchies, dependency flow
- Phase 4 (Type Safety) - Assess type coverage, identify type safety issues, verify type inference
- Phase 5 (Usage Analysis) - Analyze how symbols are used throughout the codebase
- Phase 6 (Code Quality) - Evaluate error handling, resource management, code maintainability
- Phase 7 (Refactoring Safety) - Test rename operations, assess refactoring risk before changes
- Phase 8 (Consistency) - Verify naming conventions, style consistency, architectural patterns
- Phase 9 (Report) - Synthesize findings into actionable report with prioritized recommendations
[!IMPORTANT] Review phases provide thorough investigation, tool-verified findings, and incremental validation for code quality assessment.
Systematic Approach
The phases must be completed sequentially:
- DO complete each phase fully - Each phase delivers specific analysis findings
- DO wait for approval - Confirm deliverables before proceeding to next phase
- DO adapt approach - Adjust based on available LSP capabilities
- DO NOT skip phases - Even if you think you have enough information
[!IMPORTANT] Review quality improves through systematic tool usage and incremental validation.
Understanding Language Server Capabilities
The initial Project Discovery phase establishes which tools are available by calling get_server_capabilities tool. This response shows:
- Which LSP capabilities are supported (
supported: true/false) - Exact tool names mapped to each capability for this review
- Tool-specific usage metadata and guidelines
[!IMPORTANT] The server capabilities response is the authoritative source for determining which tools to use in subsequent phases.
Adapting the Review Process
The 9-phase methodology remains consistent across languages. Use the server capabilities response to determine which tools to invoke in each subsequent phase:
- Phase 1 (Project Discovery) - Always available, establishes tool inventory
- Phase 2 (Structural Analysis) - Requires
documentSymbolProvidercapability (universally supported) - Phase 3 (Dependency Mapping) - Best with
callHierarchyProvidercapability, adapts to definitions/references only - Phase 4 (Type Safety) - Best with
inlayHintProviderandtypeDefinitionProvidercapabilities, adapts to hover-only - Phase 5 (Usage Analysis) - Requires
referencesProvidercapability (widely supported) - Phase 6 (Code Quality) - Adapts based on
codeActionProvideranddiagnosticsProvidercapabilities - Phase 7 (Refactoring Safety) - Best with
renameProvidercapability, adapts to manual assessment - Phase 8 (Consistency) - Uses basic symbol and formatting tools (widely supported)
- Phase 9 (Report) - Always available, synthesizes findings
Handling Capability Gaps
When a phase requires capabilities not supported by the language server:
- DO NOT skip the phase - Analysis objective remains valid
- DO adapt your approach - Use alternative tools or manual analysis
- DO document limitations - Note which analyses couldn't be performed
- DO NOT fail the review - Work with available capabilities
[!IMPORTANT] Review quality varies based on server capabilities. Document limitations in the final report.
Phase Execution Instructions
- Phase 1 (Project Discovery) - Read instructions
- Phase 2 (Structural Analysis) - Read instructions
- Phase 3 (Dependency Mapping) - Read instructions
- Phase 4 (Type Safety) - Read instructions
- Phase 5 (Usage Analysis) - Read instructions
- Phase 6 (Code Quality) - Read instructions
- Phase 7 (Refactoring Safety) - Read instructions
- Phase 8 (Consistency) - Read [instruction
Установить code-review в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл code-review?
Systematic and adaptable code review methodology using Language Server Protocol tools. Adapts to available LSP capabilities across programming languages. Use when user asks for code reviews, quality assessments, or specific analysis of codebases in any programming language.
Как установить скилл code-review?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл code-review запускает скрипты?
Нет, скилл состоит только из инструкций (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