Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

code-review

БесплатноБез исполняемых скриптовНе проверен

Systematic and adaptable code review methodology using Language Server Protocol tools. Adapts to available LSP capabilities across programming languages. Use…

axivoот axivo★ 70 звёзд на GitHub19 установок в других каталогах

Об этом скилле

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

  1. Phase 1 (Project Discovery) - Establish tool inventory, understand project structure, identify technology stack
  2. Phase 2 (Structural Analysis) - Analyze code organization, module structure, architectural patterns
  3. Phase 3 (Dependency Mapping) - Map import relationships, call hierarchies, dependency flow
  4. Phase 4 (Type Safety) - Assess type coverage, identify type safety issues, verify type inference
  5. Phase 5 (Usage Analysis) - Analyze how symbols are used throughout the codebase
  6. Phase 6 (Code Quality) - Evaluate error handling, resource management, code maintainability
  7. Phase 7 (Refactoring Safety) - Test rename operations, assess refactoring risk before changes
  8. Phase 8 (Consistency) - Verify naming conventions, style consistency, architectural patterns
  9. 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:

  1. Phase 1 (Project Discovery) - Always available, establishes tool inventory
  2. Phase 2 (Structural Analysis) - Requires documentSymbolProvider capability (universally supported)
  3. Phase 3 (Dependency Mapping) - Best with callHierarchyProvider capability, adapts to definitions/references only
  4. Phase 4 (Type Safety) - Best with inlayHintProvider and typeDefinitionProvider capabilities, adapts to hover-only
  5. Phase 5 (Usage Analysis) - Requires referencesProvider capability (widely supported)
  6. Phase 6 (Code Quality) - Adapts based on codeActionProvider and diagnosticsProvider capabilities
  7. Phase 7 (Refactoring Safety) - Best with renameProvider capability, adapts to manual assessment
  8. Phase 8 (Consistency) - Uses basic symbol and formatting tools (widely supported)
  9. 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

  1. Phase 1 (Project Discovery) - Read instructions
  2. Phase 2 (Structural Analysis) - Read instructions
  3. Phase 3 (Dependency Mapping) - Read instructions
  4. Phase 4 (Type Safety) - Read instructions
  5. Phase 5 (Usage Analysis) - Read instructions
  6. Phase 6 (Code Quality) - Read instructions
  7. Phase 7 (Refactoring Safety) - Read instructions
  8. Phase 8 (Consistency) - Read [instruction
Полный SKILL.md на GitHub

Установить code-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

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.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить code-review с