Railway's official agent skill: create projects, provision databases and buckets, deploy, manage variables and domains, and read build failures back — from the CLI, API or MCP server.
.NET Performance AnalysisSkill
Summary
The .NET team's official skill for scanning C# against ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex and I/O.
Features
- ~50 documented anti-patterns with tiered severity and concrete fixes
- Covers async, memory, strings, collections, LINQ, regex, serialisation and I/O
- Selectable scan depth: critical-only, standard or comprehensive
- States when not to apply it, so cold paths are left alone
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Description
"Make this faster" is a prompt an agent will happily answer with plausible-looking micro-optimisations. This skill, published by the .NET team, replaces the guessing with a checklist: roughly fifty known anti-patterns distilled from the official .NET performance blog series, each with a severity tier and a concrete fix.
The scan spans the areas where .NET performance is actually lost — async and Task misuse, allocation-heavy memory patterns, string building and formatting, collection choice and sizing, LINQ in hot paths, regex construction and caching, serialisation, and I/O. Findings come out prioritised rather than as a flat list, so the expensive fix in the hot path is not buried under stylistic noise.
It is explicit about scope, which is the part that keeps it useful: it targets API usage patterns, not algorithmic complexity, and it tells the agent not to apply it to code that is off the hot path and has no performance requirement. Scan depth is selectable — critical-only, standard or comprehensive — and it takes target-framework context, since some patterns only exist from .NET 8 onward.
Shipped in the dotnet-diag plugin of the .NET team's skills repository, alongside skills for dump collection, dotnet-trace, CLR activation debugging, crash symbolication and microbenchmarking. MIT licensed.
Related Skills
Diagnoses wrong gradients in differentiable NVIDIA Warp programs by measuring first — comparing autodiff against finite differences on a shrunk reproduction before proposing any fix.
Google's official skill for the gws CLI — drive Gmail, Drive, Calendar, Sheets, Docs, Chat and Admin APIs from an agent, with Model Armor screening.
Netlify's official skill for zero-config managed Postgres — querying from Functions, Drizzle setup, migrations and per-preview database branches.