Helps find, inspect, and compare (at a high level) .NET project templates. Resolves natural-language project descriptions to ranked template matches with pre-filled parameters. USE FOR: finding the right dotnet new template for a task, inspecting a template's parameters and constraints, understandin
code-testing-agent
An AI skill for Claude Code, Cursor, Codex and other AI agents, from dotnet/skills. Scored by fixed code checks, no AI.
DCode 51/100Builder 0/10
Legacy compatibility alias for the code-testing skill. Do not self-activate for user requests and do not treat this name as a custom agent. When invoked explicitly by older instructions, load code-testing and follow it instead.
Tags: Testing
Install
npx skills add dotnet/skills --skill code-testing-agent
Where do I paste this?
Open a terminal in your project folder, paste the command and press Enter. It needs Node.js on your computer.
Run it in your project. The skills CLI asks which agents to install it for (Claude Code, Cursor, Codex and more); add -g to install it for your user instead.
No terminal? Copy SKILL.md and give it to your AI as instructions.
Safety checks
Safety 7/7Fixed checks over SKILL.md and its files. They catch known risky patterns; they cannot prove a skill is safe.
Each check shows when the skill’s files load from GitHub.
Not checked
- Running the skill to see what it does
- Packages it installs from npm or pip
- What it can reach on your computer when it runs
SKILL.md
A skill is instructions and scripts your agent will follow, so read it before you install it. Its text loads here from GitHub; you can also read it on GitHub.
More skills from dotnet/skills
Run file-based C# apps with the .NET CLI when the user explicitly wants C#/.NET code without creating a project. Use for C# language/API experiments, one-file C# apps, small multi-file C# apps composed with `#:include`/`#:exclude`, or C# file-based apps linked with `#:ref`. Do not use for language-a
Set up or recover MTP hot reload for a long-lived console-host edit/re-run loop in a Microsoft Testing Platform project. Use for explicit MTP console requests such as "enable hot reload", "dotnet run to rerun on edit", or unsupported/rude edits. Covers setup, run/watch, restarts, filters, and the VS
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.
ALWAYS USE before running .NET tests or answering with a test command or flags. Trigger on "run the tests", "exact dotnet test command", one test/class/category/trait/target framework, combined filters, `--filter-query`, `--no-build`, `--diag`, diagnostic logs, TRX, coverage collection, crash/hang d
Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet/login, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azu
Compares two or more dotnet new templates side by side to help users choose between them based on parameters, feature support, frameworks, and classifications. USE FOR: deciding between similar templates (webapi vs webapp, blazor vs blazorwasm, console vs worker), producing a side-by-side comparison
Creates .NET projects from templates with validated parameters, smart defaults, Central Package Management adaptation, and latest NuGet version resolution. USE FOR: creating new dotnet projects, scaffolding solutions with multiple projects, installing or uninstalling template packages, creating proj