Skip to content
Back to skills

Code Review

ASecurity

Analyze code changes for impact, quality, and safety using CodeLens MCP tools

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
ai-agentsgit

Works with

  • mcp

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add mupozg823/codelens-mcp-plugin --skill code-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mupozg823-code-review/badge)](https://www.skillsdirectory.com/skills/mupozg823-code-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codelens-review
description: "Analyze code changes for impact, quality, and safety using CodeLens MCP tools"
tools:
  [
    prepare_harness_session,
    get_changed_files,
    graph,
    find_referencing_symbols,
    get_file_diagnostics,
    overview,
  ]
---

# CodeLens Code Review

Analyze the impact and safety of code changes using structural analysis.

## Workflow

1. **Bind and identify changes**: Reuse a confirmed project binding, or call `prepare_harness_session` with the absolute project and `detail=compact`. Identify the requested diff with native Git; use `get_changed_files` only if exposed to this host.
2. **Assess impact**: Where downstream effects remain uncertain, call `graph` with mode=impact on the relevant changed paths
3. **Check references**: For modified symbols with uncertain callers, call `find_referencing_symbols` and retain the relevant source locations
4. **Run diagnostics**: Call `get_file_diagnostics` on changed files to detect type errors or warnings
5. **Summarize**: Report the blast radius, breaking changes risk, and diagnostic issues

Load deferred tools with native tool search when supported. If a tool or language
diagnostic is unavailable, use the project's native checks and report the gap.
Expand impact or references only where the initial evidence leaves uncertainty;
avoid repeating a full scan for every file when one bounded report answers it.

## 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)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.