all publishers

.NET (Microsoft)

@dotnet source repo

378 published skills · page 4 of 4

  1. ▌
    Migrate Static To Wrapper · dotnet
    Mechanically replace static dependency call sites with wrapper or built-in abstraction calls across a bounded scope, such as migrating DateTime.UtcNow to TimeProvider.GetUtcNow() or File.ReadAllText to IFileSystem.
    22.1k repo stars
  2. ▌
    Thread Abort Migration · dotnet
    Migrates .NET Framework code using Thread.Abort to cooperative cancellation with CancellationToken in modern .NET 6+.
    22.1k repo stars
  3. ▌
    Optimizing Ef Core Queries · dotnet
    Optimize Entity Framework Core queries by fixing N+1 problems, choosing correct tracking modes, using compiled queries, and avoiding common performance traps.
    22.1k repo stars
  4. ▌
    Binlog Failure Analysis · dotnet bundle
    Diagnose MSBuild build failures by analyzing .binlog files using an MCP server or text-log replay.
    22.1k repo stars
  5. ▌
    Detect Static Dependencies · dotnet
    Scan C# source files for hard-to-test static dependencies and produce a ranked report of static call sites by frequency.
    22.1k repo stars
  6. ▌
    Nuget Trusted Publishing · dotnet bundle
    Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo, replacing long-lived API keys with short-lived tokens.
    22.1k repo stars
  7. ▌
    Analyzing Dotnet Performance · dotnet bundle
    Scans C#/.NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I/O with tiered severity classification.
    22.1k repo stars
  8. ▌
    Including Generated Files · dotnet
    Fix MSBuild targets so generated files are compiled, copied to output, and cleaned properly.
    22.1k repo stars
  9. ▌
    Minimal API File Upload · dotnet
    Implement file upload endpoints in ASP.NET Core minimal APIs (.NET 8+) with size limits, content validation, and streaming.
    22.1k repo stars
  10. ▌
    Resolve Project References · dotnet
    Prevents misguided optimization of MSBuild's ResolveProjectReferences target by explaining that its reported time is wall-clock wait time, not CPU work, and redirects to task self-time analysis.
    22.1k repo stars
  11. ▌
    Template Authoring · dotnet
    Guides creation and validation of custom dotnet new templates from existing projects, including template.json authoring and packaging for NuGet distribution.
    22.1k repo stars
  12. ▌
    Template Discovery · dotnet
    Finds, inspects, and compares .NET project templates by resolving natural-language descriptions to ranked template matches with pre-filled parameters.
    22.1k repo stars
  13. ▌
    Generate Testability Wrappers · dotnet
    Generate wrapper interfaces, default implementations, and DI registration code to make hard-to-test static dependencies in C# testable, using built-in abstractions like TimeProvider or custom wrappers.
    22.1k repo stars
  14. ▌
    Migrate Dotnet8 To Dotnet9 · dotnet bundle
    Upgrade .NET 8 projects to .NET 9 by updating target frameworks, resolving breaking changes, and fixing build errors.
    22.1k repo stars
  15. ▌
    Exp Simd Vectorization · dotnet
    Optimizes hot-path scalar loops in .NET 8+ with cross-platform Vector128/Vector256/Vector512 SIMD intrinsics, or replaces manual math loops with single TensorPrimitives API calls.
    22.1k repo stars
  16. ▌
    Template Comparison · dotnet
    Compares two or more dotnet new templates side by side to help users choose between them based on parameters, feature support, frameworks, and classifications.
    22.1k repo stars
  17. ▌
    Template Validation · dotnet
    Validates custom dotnet new templates for correctness before publishing, catching missing fields, parameter bugs, shortName conflicts, constraint issues, and common authoring mistakes.
    22.1k repo stars
  18. ▌
    Migrate Dotnet9 To Dotnet10 · dotnet bundle
    Migrate .NET 9 projects to .NET 10 by updating target frameworks, resolving breaking changes, and fixing build errors.
    22.1k repo stars
  19. ▌
    Migrate Nullable References · dotnet bundle
    Enable nullable reference types in a C# project and systematically resolve all warnings, file-by-file or project-wide.
    22.1k repo stars
  20. ▌
    Android Tombstone Symbolication · dotnet bundle
    Resolves native backtrace frames from .NET Android app crashes to function names, source files, and line numbers using ELF BuildIds and Microsoft's symbol server.
    22.1k repo stars
  21. ▌
    Exp Mock Usage Analysis · dotnet
    Audits .NET test mock usage by tracing each mock setup through the production code's execution path to find dead, unreachable, redundant, or replaceable mocks.
    22.1k repo stars
  22. ▌
    Directory Build Organization · dotnet bundle
    Organize multi-project .NET repos with Directory.Build.props, Directory.Build.targets, Directory.Packages.props, and Directory.Build.rsp for centralized MSBuild settings and NuGet Central Package Management.
    22.1k repo stars
  23. ▌
    Migrate Vstest To Mtp · dotnet
    Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP), updating project files, CLI arguments, and CI/CD pipelines for MSTest, NUnit, and xUnit.net.
    22.1k repo stars
  24. ▌
    Migrate Dotnet10 To Dotnet11 · dotnet bundle
    Upgrade .NET 10 projects to .NET 11 by updating target frameworks, fixing breaking changes, and updating infrastructure.
    22.1k repo stars
  25. ▌
    Exp Test Maintainability · dotnet
    Analyzes .NET test suites for duplicated boilerplate, copy-paste tests, and structural maintainability issues, producing a report with concrete before/after refactoring suggestions.
    22.1k repo stars
  26. ▌
    Template Instantiation · dotnet
    Creates .NET projects from templates with validated parameters, Central Package Management adaptation, and multi-project composition.
    22.1k repo stars
  27. ▌
    Migrate Mstest V3 To V4 · dotnet
    Fix build errors and breaking changes when upgrading MSTest from v3 to v4, or plan a complete migration.
    22.1k repo stars
  28. ▌
    Migrate Xunit To Mstest · dotnet bundle
    Migrate .NET test projects from xUnit.net (v2 or v3) to MSTest v4, converting attributes, assertions, fixtures, and project configuration.
    22.1k repo stars
  29. ▌
    Template Smart Defaults · dotnet
    Fills in cross-parameter defaults when creating .NET projects with dotnet new, keeping related parameters consistent without overriding values the user set explicitly.
    22.1k repo stars
  30. ▌
    Migrate Mstest V1v2 To V3 · dotnet
    Migrate test projects from MSTest v1 (assembly references) or v2 (NuGet 1.x-2.x) to MSTest v3, handling breaking changes like assertion overloads, DataRow constructors, .testsettings replacement, and target framework updates.
    22.1k repo stars
  31. ▌
    Create Skill · dotnet
    Scaffolds new agent skills conforming to the Agent Skills specification and dotnet/skills repository conventions, generating SKILL.md files with proper frontmatter and directory structures.
    22.1k repo stars
  32. ▌
    Create Skill Test · dotnet
    Scaffolds eval.yaml test files for agent skills in the dotnet/skills repository, including scenario writing, assertion definition, and rubric creation.
    22.1k repo stars
  33. ▌
    Agentic Workflows · dotnet
    Routes requests to design, create, debug, update, or upgrade GitHub Agentic Workflows by loading the appropriate workflow prompt or skill file.
    22.1k repo stars
  34. ▌
    Create Custom Agent · dotnet
    Scaffolds VS Code custom agent files (.agent.md) with YAML frontmatter, tool configuration, handoffs, and instructions for specialized AI personas.
    22.1k repo stars
  35. ▌
    Run Tests · dotnet
    Run, filter, or troubleshoot .NET tests with `dotnet test`, detecting the test platform (VSTest vs Microsoft.Testing.Platform) and framework to apply the correct command syntax.
    22.1k repo stars
  36. ▌
    Crap Score · dotnet
    Calculates CRAP (Change Risk Anti-Patterns) scores for .NET methods by combining cyclomatic complexity with code coverage data from Cobertura XML reports.
    22.1k repo stars
  37. ▌
    Setup Local Sdk · dotnet
    Install a .NET SDK into a project-local directory for safe preview testing, version pinning, or reproducible team setups without modifying the system-wide installation.
    22.1k repo stars
  38. ▌
    Grade Tests · dotnet
    Grades individual test methods and produces a compact markdown table with a letter grade, score band, and one-line note for each test.
    22.1k repo stars
  39. ▌
    Dump Collect · dotnet bundle
    Configure and collect crash dumps for modern .NET applications (CoreCLR and NativeAOT) on Linux, macOS, and Windows, including containers.
    22.1k repo stars
  40. ▌
    Maui Theming · dotnet bundle
    Add light/dark mode, custom branded themes, and runtime theme switching to .NET MAUI apps using AppThemeBinding, ResourceDictionary swapping, and system theme detection APIs.
    22.1k repo stars
  41. ▌
    Test Tagging · dotnet
    Analyzes test suites across multiple languages and tags each test with standardized traits (positive, negative, critical-path, etc.) for better test categorization and coverage visibility.
    22.1k repo stars
  42. ▌
    MCP Csharp Test · dotnet bundle
    Test C# MCP servers at unit and integration levels using xUnit, Moq, and the MCP client SDK.
    22.1k repo stars
  43. ▌
    Filter Syntax · dotnet
    Reference for test filter syntax across VSTest and MTP platforms, covering MSTest, NUnit, xUnit v3, and TUnit frameworks with examples and translation guidance.
    22.1k repo stars
  44. ▌
    Authoring Github Workflows · dotnet
    Author and review GitHub Actions workflow YAML to ensure syntactic and structural correctness, preventing failures from unquoted expressions and other YAML-vs-Actions traps.
    22.1k repo stars
  45. ▌
    MCP Csharp Debug · dotnet bundle
    Run, debug, and interactively test C# MCP servers locally with IDE configuration, MCP Inspector, and GitHub Copilot Agent Mode integration.
    22.1k repo stars
  46. ▌
    Maui Safe Area · dotnet bundle
    Provides guidance on using the new .NET 10 cross-platform safe area API for edge-to-edge layouts, keyboard avoidance, and migration from legacy iOS-only APIs.
    22.1k repo stars
  47. ▌
    Mtp Hot Reload · dotnet
    Sets up Microsoft Testing Platform hot reload to iterate fixes on failing tests without rebuilding, covering package installation, environment configuration, and the iterative workflow.
    22.1k repo stars
  48. ▌
    MCP Csharp Create · dotnet bundle
    Create MCP servers using the C# SDK and .NET project templates, covering scaffolding, tool/prompt/resource implementation, and transport configuration for stdio and HTTP.
    22.1k repo stars
  49. ▌
    Convert To Cpm · dotnet bundle
    Migrate .NET projects from per-project package versioning to NuGet Central Package Management (CPM) using Directory.Packages.props, with baseline build capture, version conflict resolution, and post-conversion validation.
    22.1k repo stars
  50. ▌
    MCP Csharp Publish · dotnet bundle
    Publish and deploy C# MCP servers to NuGet, Docker, Azure, and the MCP Registry.
    22.1k repo stars
  51. ▌
    Configure Auth · dotnet
    Add authentication and authorization to a Blazor Web App, handling render modes, Identity pages, and auth state serialization.
    22.1k repo stars
  52. ▌
    Plan UI Change · dotnet
    Plan complex Blazor UI features by decomposing them into focused, composable components with clear data flow and implementation order.
    22.1k repo stars
  53. ▌
    Use JS Interop · dotnet
    Add, review, or fix JavaScript interop in Blazor components, including collocated modules, lifecycle timing, batching, typed wrappers, and disposal patterns.
    22.1k repo stars
  54. ▌
    Microbenchmarking · dotnet bundle
    Create, run, configure, and review BenchmarkDotNet microbenchmarks for .NET code, covering project setup, comparison strategies, and cost-aware execution.
    22.1k repo stars
  55. ▌
    Maui Data Binding · dotnet bundle
    Wire UI controls to ViewModel properties with compile-time safety, change notification, and minimal overhead using .NET MAUI data bindings.
    22.1k repo stars
  56. ▌
    Msbuild Server · dotnet
    Improve CLI build performance by enabling MSBuild Server for persistent caching of evaluation results across sequential builds.
    22.1k repo stars
  57. ▌
    Assertion Quality · dotnet
    Analyzes test suites to measure assertion diversity, detect shallow or trivial assertions, and identify tests that lack meaningful verification.
    22.1k repo stars
  58. ▌
    Coverage Analysis · dotnet bundle
    Analyzes .NET project code coverage and CRAP (Change Risk Anti-Patterns) scores to identify risk hotspots, methods blocking coverage gains, and prioritize where to add tests.
    22.1k repo stars
  59. ▌
    Test Gap Analysis · dotnet bundle
    Analyzes production code to find gaps in existing tests by reasoning about hypothetical mutations and checking whether tests would catch them.
    22.1k repo stars
  60. ▌
    Csharp Scripts · dotnet
    Run file-based C# apps with the .NET CLI for quick experiments, prototypes, and small utilities without creating a project.
    22.1k repo stars
  61. ▌
    Dotnet Pinvoke · dotnet bundle
    Correctly call native C/C++ libraries from .NET using P/Invoke and LibraryImport, covering function signatures, string marshalling, memory lifetime, SafeHandle, and cross-platform patterns.
    22.1k repo stars
  62. ▌
    Technology Selection · dotnet bundle
    Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI, Microsoft Agent Framework, GitHub Copilot SDK, ONNX Runtime, and OllamaSharp.
    22.1k repo stars
  63. ▌
    Author Component · dotnet bundle
    Create or review Blazor components (.razor files) with correct architecture, covering parameters, EventCallback, RenderFragment, lifecycle, async patterns, disposal, and CSS isolation.
    22.1k repo stars
  64. ▌
    Dotnet Maui Doctor · dotnet bundle
    Diagnoses and fixes .NET MAUI development environment issues by validating .NET SDK, workloads, Java JDK, Android SDK, Xcode, and Windows SDK with version requirements discovered dynamically from NuGet.
    22.1k repo stars
  65. ▌
    Maui App Lifecycle · dotnet bundle
    Handle .NET MAUI application state transitions, Window lifecycle events, and state preservation across backgrounding and resume cycles.
    22.1k repo stars
  66. ▌
    Item Management · dotnet
    Provides canonical patterns for MSBuild item groups: Include/Remove/Update semantics, item metadata, batching with %(Metadata), transforms, per-item filtering, and cross-product batching pitfalls.
    22.1k repo stars
  67. ▌
    Code Testing Agent · dotnet bundle
    Generates and writes unit tests for any programming language using a multi-agent pipeline that researches, plans, and implements tests with build and verification steps.
    22.1k repo stars
  68. ▌
    Platform Detection · dotnet bundle
    Detects the test platform (VSTest vs Microsoft.Testing.Platform) and test framework (MSTest, xUnit, NUnit, TUnit) from .NET project files.
    22.1k repo stars
  69. ▌
    Test Anti Patterns · dotnet
    Audits test files for anti-patterns and quality issues, producing a severity-ranked report across multiple languages and frameworks.
    22.1k repo stars
  70. ▌
    Dotnet Webapi · dotnet
    Guides creation and modification of ASP.NET Core Web API endpoints with correct HTTP semantics, OpenAPI metadata, and error handling.
    22.1k repo stars
  71. ▌
    Maui Collectionview · dotnet bundle
    Guidance for implementing CollectionView in .NET MAUI apps — data display, layouts (list & grid), selection, grouping, scrolling, empty views, templates, incremental loading, swipe actions, and pull-to-refresh.
    22.1k repo stars
  72. ▌
    Eval Performance · dotnet
    Diagnose and improve MSBuild project evaluation performance by analyzing phases, glob patterns, import chains, and property functions.
    22.1k repo stars
  73. ▌
    Extension Points · dotnet
    Guides MSBuild extensibility through CustomBefore/CustomAfter hooks, wildcard imports, import gating, and NuGet package build extension layout.
    22.1k repo stars
  74. ▌
    Target Authoring · dotnet
    Canonical patterns for writing custom MSBuild targets, covering the three-level target chain, chain extension, DependsOnTargets vs BeforeTargets vs AfterTargets, Returns vs Outputs, and common pitfalls.
    22.1k repo stars
  75. ▌
    System Text JSON Net11 · dotnet
    Provides guidance on new System.Text.Json APIs introduced in .NET 11, including typed JsonTypeInfo access and PascalCase naming policy.
    22.1k repo stars
  76. ▌
    Collect User Input · dotnet
    Build forms, validate data, and react to user input in Blazor applications.
    22.1k repo stars
  77. ▌
    Binlog Generation · dotnet
    Add the /bl switch to MSBuild-based commands to generate binary logs for build diagnostics and performance analysis.
    22.1k repo stars
  78. ▌
    Build Parallelism · dotnet
    Optimize MSBuild build parallelism by configuring /maxcpucount, graph build mode, project references, and analyzing binlogs to reduce multi-project solution build times.
    22.1k repo stars