# Analyzing Dotnet Performance (agent skill)

> Analyzing Dotnet Performance is an agent skill (a SKILL.md file) from dotnet/skills. Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification. It works with Claude Code, Codex, Cursor and GitHub Copilot and has 5,568 GitHub stars across a repository of 4 listed skills.

Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns. Scan C#/.NET code for performance anti-patterns and produce prioritized findings with concrete fixes. Patterns sourced from the official .NET performance blog series, distilled to customer-actionable guidance.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/dotnet/skills |
| Skill path | plugins/dotnet-diag/skills/analyzing-dotnet-performance/SKILL.md |
| Skill name | analyzing-dotnet-performance |
| GitHub stars | 5,568 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 4 |
| Plugin marketplace | dotnet-agent-skills |
| Official | yes |
| Works with | Claude Code, Codex, Cursor, GitHub Copilot |
| Category | Coding |
| Last commit | Oct 6, 2026 |

## When it triggers

- Use when analyzing .

## Add this skill

### Claude Code

```sh
/plugin marketplace add dotnet/skills
/plugin install dotnet-diag@dotnet-agent-skills
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/dotnet/skills.git
cp -r skills/plugins/dotnet-diag/skills/analyzing-dotnet-performance .agents/skills/analyzing-dotnet-performance   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/dotnet/skills.git
cp -r skills/plugins/dotnet-diag/skills/analyzing-dotnet-performance .cursor/skills/analyzing-dotnet-performance   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/dotnet-analyzing-dotnet-performance
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
