跳到正文
cccskills

开发技能

编码规范、框架、重构、代码审查(1.6万 个)

按价格或排序方式筛选

Upgrade MSTest v1 or v2 projects to v3, including partially completed migrations. Update packages, repair affected assertions and test data, replace legacy settings, and compare test results while preserving the existing test runner.

中文简介正在准备中。当前显示英语简介。

  • Upgrading an MSTest v1 or v2 project to v3
  • Fixing compilation errors after a v3 package update
  • Repairing DataRow values that mismatch parameter types
dotnet/skills56952026年10月21日 更新

Create a missing .NET test project or repair references and solution registration in an existing one. Follow the repository’s framework and package conventions, then verify the build or test entry point used by CI, the automated integration process.

中文简介正在准备中。当前显示英语简介。

  • Set up a new .NET test project
  • Repair tests missing from CI discovery
  • Restore a reference to production code
dotnet/skills56952026年10月21日 更新

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/skills56952026年10月21日 更新

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/skills56952026年10月21日 更新

Organize shared build settings, tasks, and package versions across .NET projects. Review Directory.Build file placement and import order, centralize repeated configuration, and retain the settings that belong to individual projects or folders.

中文简介正在准备中。当前显示英语简介。

  • Centralizing repeated build settings across projects
  • Managing shared NuGet package versions
  • Fixing imports in nested Directory.Build files
dotnet/skills56952026年10月21日 更新

Adjust .NET MAUI layouts to avoid system bars, screen cutouts, and keyboards, or extend content to screen edges. It covers .NET 10 safe area APIs, migration from older settings, and CSS coordination for Blazor Hybrid.

中文简介正在准备中。当前显示英语简介。

  • Fixing status bar overlap after upgrading to .NET 10
  • Keeping chat inputs visible above the keyboard
  • Creating edge-to-edge photo or video screens
dotnet/skills56952026年10月21日 更新

Choose when MSBuild copies files to build or publish folders. The skill explains settings that avoid unnecessary copies, restore output files changed by tests or apps, and apply shared copy behavior across existing projects.

中文简介正在准备中。当前显示英语简介。

  • Reducing unnecessary file copies on every build
  • Restoring test databases changed between builds
  • Choosing copy settings for configuration files
dotnet/skills56952026年10月21日 更新

Plan and implement complex Blazor pages by dividing them into focused components. Define parent and child relationships, decide where data is managed, map data and events between components, and establish the order for building them.

中文简介正在准备中。当前显示英语简介。

  • Building dashboards with multiple sections
  • Planning screens with sidebars and content panels
  • Defining data ownership and flow between components
dotnet/skills56952026年10月21日 更新

Generate ASP.NET Core pages, components, or API endpoints for creating, reading, updating, and deleting database records. Follow the project's existing styling and code conventions, with database migrations and verification of the generated functionality.

中文简介正在准备中。当前显示英语简介。

  • Add database-backed record management pages
  • Generate Minimal API endpoints for a model
  • Create Blazor forms that match existing styling
dotnet/skills56952026年10月21日 更新

Establish repeatable performance measurements for MSBuild and .NET builds before optimizing. Compare clean-output, changed-source, and unchanged builds, record timing ranges, and assess output layouts, dependency references, and parallel build options against the measured baseline.

中文简介正在准备中。当前显示英语简介。

  • Measure slow builds before choosing an optimization
  • Compare build times before and after changes
  • Check rebuild behavior after a small source edit
dotnet/skills56952026年10月21日 更新

Diagnose MSBuild failures from an existing binary build log. Inspect errors, settings, project references, and execution details to explain failures that console output alone does not clarify, including failures across multiple projects.

中文简介正在准备中。当前显示英语简介。

  • Investigating build errors with unclear console output
  • Tracing cascading failures across multiple projects
  • Checking MSBuild target execution order
dotnet/skills56952026年10月21日 更新

Connect .NET MAUI screens to application data using XAML or C#. Covers compile-time binding checks, change notifications, value conversion, and fallback displays to help implement bindings and investigate screens that fail to update.

中文简介正在准备中。当前显示英语简介。

  • Fix screens that do not reflect data changes
  • Add compile-time checks to XAML bindings
  • Convert and format values for display
dotnet/skills56952026年10月21日 更新

Diagnose and fix .NET MAUI development environment problems involving SDKs, Java, Android tools, and platform requirements. The skill discovers required versions from NuGet metadata and checks the environment again after each fix.

中文简介正在准备中。当前显示英语简介。

  • Setting up a .NET MAUI development environment
  • Investigating missing SDK or JDK build errors
  • Checking the environment after SDK or OS updates
dotnet/skills56952026年10月21日 更新

Optimize .NET loops with SIMD, which processes multiple values in one operation, or review existing SIMD code. Check behavioral equivalence, memory safety, platform fallbacks, and benchmarks to establish whether the optimization is correct and worthwhile.

中文简介正在准备中。当前显示英语简介。

  • Optimize numeric loops with SIMD
  • Review existing vectorized code for correctness
  • Test boundary lengths and overlapping buffers
dotnet/skills56952026年10月21日 更新

Capture MSBuild execution records as binary logs during .NET builds, tests, packaging, publishing, or restores. It explains unique filenames, PowerShell quoting, and file checks so logs remain available for later failure or performance analysis.

中文简介正在准备中。当前显示英语简介。

  • Saving logs before investigating a build failure
  • Keeping separate logs for Debug and Release builds
  • Choosing log filenames for CI artifact uploads
dotnet/skills56952026年10月21日 更新

Investigate MSBuild failures caused by projects or build configurations writing to the same output folders. Compare build logs, output paths, and project settings to identify collisions behind overwritten files, restore errors, or failures that disappear on retry.

中文简介正在准备中。当前显示英语简介。

  • Investigate file access errors during parallel builds
  • Find shared intermediate folders causing NuGet restore errors
  • Check output paths when building for multiple frameworks
dotnet/skills56952026年10月21日 更新

Diagnose unnecessary rebuilds in MSBuild by examining build logs, file timestamps, and declared inputs and outputs. Identify why work repeats, guide fixes when requested, and verify that a second unchanged build skips the expected targets.

中文简介正在准备中。当前显示英语简介。

  • Investigating rebuilds when no files changed
  • Reviewing inputs and outputs on custom targets
  • Checking generated files and cleanup behavior
dotnet/skills56952026年10月21日 更新

Build or update ASP.NET Core API endpoints with defined request and response types, appropriate HTTP status codes, OpenAPI documentation, and centralized error handling. Also creates .http request files for manually checking endpoint behavior.

中文简介正在准备中。当前显示英语简介。

  • Add API endpoints following existing project conventions
  • Document API inputs and responses with OpenAPI
  • Standardize error responses and exception handling
dotnet/skills56952026年10月21日 更新

Review C#/.NET code for about 50 inefficient API usage patterns across asynchronous work, memory, strings, collections, and I/O. Get exact occurrence counts, prioritized findings, and concrete fixes, with attention to frequently executed code.

中文简介正在准备中。当前显示英语简介。

  • Reviewing frequently executed C#/.NET code
  • Finding unnecessary memory allocations
  • Checking known performance pitfalls before release
dotnet/skills56952026年10月21日 更新

Review MSBuild project files and build definitions for correctness and maintainability. Get prioritized findings with concrete recommendations, distinguishing confirmed defects from conditional risks and valid exceptions such as F# source ordering or required imports.

中文简介正在准备中。当前显示英语简介。

  • Reviewing build files for maintainability
  • Checking path portability across operating systems
  • Reviewing import safety and required-file assumptions
dotnet/skills56952026年10月21日 更新

Create or review Blazor components, reusable parts of a web interface. Covers passing data and events between parent and child components, content templates, asynchronous work, display states, and resource cleanup when components are removed.

中文简介正在准备中。当前显示英语简介。

  • Creating reusable Blazor interface components
  • Reviewing data and event flow between parent and child components
  • Implementing debounced actions and periodic updates
dotnet/skills56952026年10月21日 更新

Design, configure, run, and review BenchmarkDotNet measurements of small .NET operations. Compare implementations, runtime versions, or input sizes, while controlling setup work, measurement errors, and case counts so results support a concrete performance decision.

中文简介正在准备中。当前显示英语简介。

  • Compare the performance of alternative implementations
  • Reproduce a reported performance problem
  • Measure performance before and after a code change
dotnet/skills56952026年10月21日 更新

Write and review .NET calls to native C/C++ libraries using P/Invoke. Covers function declarations, string conversion, memory ownership, and platform differences to help investigate crashes, memory leaks, and corrupted data.

中文简介正在准备中。当前显示英语简介。

  • Create .NET declarations from C/C++ headers
  • Investigate crashes and memory leaks in native calls
  • Review string encoding and memory ownership
dotnet/skills56952026年10月21日 更新

Create a new ASP.NET Core web app with Blazor. Choose where pages and interactive components run based on application needs, generate the project with appropriate options, configure initial authentication when needed, and verify building and startup.

中文简介正在准备中。当前显示英语简介。

  • Start a new Blazor website or web application
  • Choose a rendering mode for the required interactivity
  • Generate a project with individual account authentication
dotnet/skills56952026年10月21日 更新