# CodeAnalysis (Roslyn)

> Use this tool when you need to identify and cleanup dead code in .NET solutions and projects. It analyzes code to detect unreferenced members, including classes, methods, and fields, and provides configurable filtering options for precise results. Ideal for refactoring and optimizing codebases, it takes in .NET project files and outputs a list of unused code members for removal.

Canonical page: https://skillsregistry.net/skills/trite-code-analysis  
JSON: https://api.skillsregistry.net/v1/skills/trite-code-analysis

## Description

Analyzes .NET solutions and projects using Roslyn to detect unreferenced code members including classes, methods, properties, and fields with configurable filtering options for public members, entry points, and project-specific analysis to help identify dead code for cleanup and refactoring.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

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

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/trite-code-analysis)
- **Repository:** <https://github.com/trite/codeanalysismcp>

## 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": "trite-code-analysis"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/trite-code-analysis` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/trite-code-analysis/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
