Skip to content
cccskills

Browse skills

111 skills (repositories by dotnet) · sorted by popularity

Migrate legacy .NET project files to SDK-style format, reducing repetitive XML and explicit file lists. Convert package references, move assembly metadata into project settings, and consolidate shared build and package settings across multiple projects.

  • Convert legacy .csproj or .vbproj files to SDK-style
  • Migrate packages.config to PackageReference
  • Replace AssemblyInfo.cs with generated assembly metadata
dotnet/skills5.7KUpdated Oct 20, 2026

Prepare .NET projects for Native AOT, compilation before execution, and trimming, which removes unused code. Use build warnings to guide type annotations, reflection changes, and source-generated JSON serialization, then check all target frameworks.

  • Preparing a .NET project for Native AOT
  • Resolving IL warnings from trimming analysis
  • Adding annotations to reflection code
dotnet/skills5.7KUpdated Oct 20, 2026

Compare two or more dotnet new templates using their installed options, features, and supported frameworks. Get a focused comparison table and a recommendation that explains which template best fits the project you want to build.

  • Choosing between webapi and webapp
  • Comparing blazor and blazorwasm
  • Selecting console or worker for background processing
dotnet/skills5.7KUpdated Oct 20, 2026

Find changes in observable behavior that existing tests could miss. Map public results to test assertions, identify gaps in boundaries, permissions, and calculations, and propose focused tests, with optional verification when requested.

  • Check whether existing tests would catch a bug
  • Find missing boundary and permission-denial tests
  • Review exact amounts and rounding in financial calculations
dotnet/skills5.7KUpdated Oct 20, 2026

Scan C# code for dependencies on clocks, files, environment settings, and other resources that make tests difficult. Get source locations, consistent counts, and suggested abstractions, interfaces or providers that let tests control those dependencies.

  • Assessing testability before adding unit tests
  • Finding hidden dependencies in legacy C# code
  • Prioritizing dependencies to replace
dotnet/skills5.7KUpdated Oct 20, 2026

test-tagging

FreeSummary

Classify existing tests with standard tags for success cases, errors, boundaries, and other behaviors. Get a per-test mapping and distribution summary, or apply tags using supported framework syntax and verify compilation and test discovery.

  • Comparing success-case and error-case test counts
  • Adding standard tags to existing tests
  • Reviewing the mix of boundary and integration tests
dotnet/skills5.7KUpdated Oct 20, 2026

Move .NET tests from VSTest to Microsoft.Testing.Platform, the test execution platform. Update project settings, test commands, and CI pipelines for the selected SDK, then verify test counts and expected reports or diagnostic files.

  • Migrate .NET test projects from VSTest to MTP
  • Update test commands in CI pipelines
  • Translate xUnit.net v3 test filters
dotnet/skills5.7KUpdated Oct 20, 2026

Keep older instructions working by forwarding explicit calls under the former name to code-testing. This compatibility alias passes along the original request and follows that skill’s workflow without adding another interpretation step.

  • Following older instructions that use the former skill name
  • Forwarding an explicit legacy call to code-testing
  • Checking the distinction between skill and custom agent names
dotnet/skills5.7KUpdated Oct 20, 2026

Replace C# static calls for time, files, or environment values with existing abstractions that tests can substitute. Update construction and affected tests within a defined scope, while preserving read counts, evaluation order, date-time semantics, and existing static callers.

  • Migrating DateTime.UtcNow calls to TimeProvider
  • Replacing File calls with an existing IFileSystem
  • Replacing disk or environment access in unit tests with fakes
dotnet/skills5.7KUpdated Oct 20, 2026

Find language-specific guidance files for a code-testing pipeline. This reference catalog points agents to build and test commands, mocking patterns, common errors, and selected workflow examples across languages including .NET, Python, TypeScript, Go, and Java.

  • Finding test guidance for a project's programming language
  • Locating build commands and test framework guidance
  • Finding mocking patterns and common error references
dotnet/skills5.7KUpdated Oct 20, 2026

Review custom dotnet new templates before publishing. Check required fields, parameter types and defaults, command name conflicts, and constraints, then receive findings grouped by severity with concrete fixes for errors and warnings.

  • Checking template.json before publishing
  • Investigating templates missing after installation
  • Reviewing parameter types and default values
dotnet/skills5.7KUpdated Oct 20, 2026

crap-score

FreeSummary

Calculate change risk for a specific .NET method, class, or file by combining code complexity with measured test coverage. Get ranked results and recommendations on where to add tests or simplify logic.

  • Calculate risk scores for a specific method
  • Prioritize tests within a class
  • Find complex, undertested methods in a file
dotnet/skills5.7KUpdated Oct 20, 2026

Identify a .NET project’s test framework, project format, and execution platform: VSTest or Microsoft.Testing.Platform. Trace configuration imports and overrides to explain the result, including conflicting settings or differences between target frameworks.

  • Determine whether tests execute on VSTest or MTP
  • Identify the test framework from project configuration
  • Investigate conflicting runner settings
dotnet/skills5.7KUpdated Oct 20, 2026

Create .NET projects from templates and align them with neighboring projects and centralized package versions. Validate options, connect projects in a solution, and build the result to check that the generated structure works.

  • Creating a new .NET application from a template
  • Combining an API, tests, and a library in one solution
  • Adding a new project with centralized package versions
dotnet/skills5.7KUpdated Oct 20, 2026

Find suitable .NET project templates from a plain-language project description. Inspect available options, defaults, and requirements, then preview generated files without creating them. Receive a concrete template recommendation with relevant parameters and any required installation details.

  • Finding templates for an authenticated web API
  • Checking installed and NuGet.org template choices
  • Inspecting template parameters, defaults, and constraints
dotnet/skills5.7KUpdated Oct 20, 2026

Correct and improve existing MSTest tests using APIs supported by the installed version. Refine assertions and failure messages, update data-driven tests, fix setup and cleanup, and address MSTest diagnostics while preserving the project's established conventions.

  • Making assertion failures easier to understand
  • Correcting expected and actual argument order
  • Improving existing data-driven tests
dotnet/skills5.7KUpdated Oct 20, 2026

msbuild

FreeSummary

Investigate MSBuild failures, measure slow builds, or review existing build definitions. Use binary logs, project settings, and comparable timing measurements to identify causes, propose focused repairs, and verify behavior without broad configuration changes.

  • Investigating build failures from binary logs
  • Measuring bottlenecks and comparing build times
  • Finding why unchanged projects rebuild
dotnet/skills5.7KUpdated Oct 20, 2026

Migrate .NET tests from xUnit.net v2 to v3 while preserving the existing test runner. Update packages, project settings, and affected test code, then verify test discovery, execution, and skip behavior.

  • Upgrading xUnit.net v2 test projects to v3
  • Fixing compilation errors caused by v3 changes
  • Updating custom test attributes and async tests
dotnet/skills5.7KUpdated Oct 20, 2026

convert-to-cpm

FreeSummary

Move NuGet package versions from individual .NET projects into a shared management file. The skill audits version conflicts, preserves project conditions, validates builds before and after conversion, and produces comparison files and a migration report.

  • Adopting central NuGet package version management
  • Aligning inconsistent package versions across projects
  • Moving shared version properties into central declarations
dotnet/skills5.7KUpdated Oct 20, 2026

Upgrade MSTest v3 test projects to v4 by updating packages, adapting code to changed APIs, and checking execution behavior. It also helps resolve build errors and problems finding tests in CI after an upgrade.

  • Upgrading an MSTest v3 project to v4
  • Fixing compilation errors after an upgrade
  • Updating custom TestMethodAttribute implementations
dotnet/skills5.7KUpdated Oct 20, 2026

Make C# code testable when it directly uses static services such as time, files, or processes. It introduces existing abstractions or minimal wrappers, supplies dependency registration, and demonstrates tests with controlled substitutes for real resources.

  • Introducing TimeProvider for time-dependent tests
  • Testing file operations with MockFileSystem
  • Wrapping Environment, Console, or Process calls
dotnet/skills5.7KUpdated Oct 20, 2026

filter-syntax

FreeSummary

Provide reference syntax for selecting .NET tests by name, class, category, or other properties. Help test-running skills construct filters for VSTest and Microsoft Testing Platform, or translate existing filters for a different test framework.

  • Selecting tests by class or method
  • Including or excluding tests by category or property
  • Translating VSTest filters for xUnit v3 on MTP
dotnet/skills5.7KUpdated Oct 20, 2026

Convert .NET tests from xUnit.net v2 or v3 to MSTest v4 while keeping the existing test runner and target framework. Preserve assertions, shared setup, and parallel execution, then compare test counts and outcomes.

  • Converting xUnit tests to MSTest v4
  • Preserving shared setup and parallel execution
  • Checking test counts and outcomes after migration
dotnet/skills5.7KUpdated Oct 20, 2026

Interpret MSBuild performance summaries when ResolveProjectReferences appears unusually expensive. Separate time spent waiting for dependent projects from actual task work, then use task self-time rankings to identify a concrete optimization target.

  • Investigating a high ResolveProjectReferences time
  • Separating dependency wait time from task work
  • Finding the actual bottleneck in a build log
dotnet/skills5.7KUpdated Oct 20, 2026