# Roslyn CodeLens

> Use this tool when you need to analyze and optimize .NET codebases, as it provides semantic understanding and automated refactoring capabilities to solve problems such as unused code, dependencies, and performance issues. It takes in .NET code and outputs detailed analysis and recommendations for improvement. Ideal for use in .NET 10 projects, Roslyn CodeLens streamlines code maintenance and enhancement through its 30+ integrated tools.

Canonical page: https://skillsregistry.net/skills/marcelroozekrans-roslyn-codelens  
JSON: https://api.skillsregistry.net/v1/skills/marcelroozekrans-roslyn-codelens

## Description

Roslyn CodeLens provides 30+ tools for analyzing .NET codebases using the Roslyn compiler platform. It delivers semantic understanding including type hierarchy analysis, call graph detection, dependency injection scanning, unused code detection, data flow analysis, and automated refactoring capabilities targeting .NET 10 projects.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/marcelroozekrans-roslyn-codelens)
- **Repository:** <https://github.com/marcelroozekrans/roslyn-codelens-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "marcelroozekrans-roslyn-codelens"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/marcelroozekrans-roslyn-codelens` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/marcelroozekrans-roslyn-codelens/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
