Imported from mupozg823/codelens-mcp-plugin (
skills/code-review/SKILL.md). Install upstream withnpx skills add mupozg823/codelens-mcp-plugin --skill code-review. Copyright stays with the author.
CodeLens Code Review
Analyze the impact and safety of code changes using structural analysis.
Workflow
- Identify changes: Call
get_changed_fileswith the target ref (default: HEAD~1) - Assess impact: For each changed file, call
graphwith mode=impact to find affected downstream files - Check references: For modified symbols, call
find_referencing_symbolsto find callers that may break - Run diagnostics: Call
get_file_diagnosticson changed files to detect type errors or warnings - Summarize: Report the blast radius, breaking changes risk, and diagnostic issues
Usage
/codelens-review # Review HEAD~1 changes
/codelens-review main # Review changes vs main branch
Output Format
For each changed file, report:
- File path and change status (M/A/D)
- Symbol count and types affected
- Blast radius (number of downstream files)
- Diagnostic issues (errors/warnings)
- Risk assessment (low/medium/high)