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.
Inherits all available tools
Additional assets for this skill
This skill inherits all available tools. When active, it can use any tool Claude has access to.
LICENSEresources/code-quality.mdresources/consistency.mdresources/dependency-mapping.mdresources/project-discovery.mdresources/refactoring-safety.mdresources/report.mdresources/structural-analysis.mdresources/type-safety.mdresources/usage-analysis.mdSystematic 9-phase code review methodology using Language Server Protocol tools. Adapts to available LSP capabilities across programming languages.
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
[!IMPORTANT] Review phases provide thorough investigation, tool-verified findings, and incremental validation for code quality assessment.
The phases must be completed sequentially:
[!IMPORTANT] Review quality improves through systematic tool usage and incremental validation.
The initial Project Discovery phase establishes which tools are available by calling get_server_capabilities tool. This response shows:
supported: true/false)[!IMPORTANT] The server capabilities response is the authoritative source for determining which tools to use in subsequent phases.
The 9-phase methodology remains consistent across languages. Use the server capabilities response to determine which tools to invoke in each subsequent phase:
documentSymbolProvider capability (universally supported)callHierarchyProvider capability, adapts to definitions/references onlyinlayHintProvider and typeDefinitionProvider capabilities, adapts to hover-onlyreferencesProvider capability (widely supported)codeActionProvider and diagnosticsProvider capabilitiesrenameProvider capability, adapts to manual assessmentWhen a phase requires capabilities not supported by the language server:
[!IMPORTANT] Review quality varies based on server capabilities. Document limitations in the final report.
[!IMPORTANT] Review systematically all phase instructions to understand the required execution steps.
Practical guidance for applying code review methodology consistently throughout review sessions.
The primary protocol for large codebases is strictly one phase per turn to manage cognitive load, token consumption and maintain collaborative pacing. This protocol must be followed unless an explicit exception is granted.
For analysis scoped to a subset of the codebase (e.g., a small PR), analyze the complexity and estimated tool-call cost for the relevant phases. If this analysis determines the token cost is low and pacing can be accelerated, propose combining up to three related phases into a single turn for efficiency. The user must grant explicit approval before executing the combined phases.
Best practices for executing each review phase effectively.
Before finalizing the review, verify:
The code review findings serve as actionable reference for improvements and refactoring work.
[!IMPORTANT] If user requests a conversation log to document this code review session, the
conversation-logskill provides developer-specific guidance for technical session documentation.