跳到正文
cccskills

开发技能

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

按价格或排序方式筛选

Choose serialization formats for .NET APIs, messages, and stored data. Compare schema-based options such as Protobuf and MessagePack with JSON approaches, use System.Text.Json source generation for AOT scenarios, and plan compatible format changes.

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

  • Choosing a format for an API or message
  • Migrating from Newtonsoft.Json to System.Text.Json
  • Preparing serialization for Native AOT
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Build event-driven C# pipelines with R3, Cysharp’s reactive library. Learn how streams handle errors, async work, time and frame scheduling, and concurrent updates, plus how to connect streams with Task and IAsyncEnumerable or adapt code from Rx.NET.

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

  • Composing UI or domain event streams in C#
  • Choosing async behavior for stream operators
  • Bridging Observable streams with Task or IAsyncEnumerable
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Set up a consistent structure for modern .NET solutions. The skill covers XML solution files, shared build properties, centralized NuGet versions, SourceLink for source-level debugging, SDK pinning, and release-note-based version management across projects.

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

  • Starting a new multi-project .NET solution
  • Centralizing build properties and package versions
  • Pinning the .NET SDK for consistent builds
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Use this skill to add or review tracing, metrics, and logs in .NET code. It explains how to use built-in diagnostic APIs, configure OpenTelemetry collection in applications, propagate trace context, follow naming conventions, and keep instrumentation resilient and efficient.

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

  • Adding traces to a .NET library
  • Choosing metric instruments and dimensions
  • Setting up exporters in an application
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Organize .NET dependency injection registrations into reusable IServiceCollection extension methods. This keeps application startup files readable, groups services by feature, and lets tests reuse production setup while clarifying service lifetimes and scope handling.

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

  • Cleaning up a large ASP.NET Core Program.cs
  • Grouping registrations by application feature
  • Reusing production service setup in tests
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Organize .NET application settings with strongly typed options classes, then validate values as the app starts. Learn when to use data annotations or IValidateOptions, how option lifetimes behave, and how to handle changing configuration in services.

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

  • Binding appsettings.json to typed settings classes
  • Failing early when required configuration is invalid
  • Adding cross-property or conditional validation
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Manage repository-specific .NET CLI tools through `.config/dotnet-tools.json`. The skill covers installing, pinning, restoring, updating, and removing tools, so developers and CI pipelines can use the versions declared for a project.

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

  • Pinning tool versions for a .NET repository
  • Restoring the same tools in local development and CI
  • Managing project-specific CLI tools
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Use ILSpy to decompile .NET assemblies into readable code and inspect types or selected implementations. This helps explain how an API, NuGet package, framework component, or compiled binary behaves, with notes on locating assemblies and build formats that can limit readability.

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

  • Inspecting how a .NET API works internally
  • Reading implementation code from a NuGet package
  • Exploring framework or project build assemblies
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Use this skill to set up and maintain Entity Framework Core projects. It explains read-only query tracking, efficient loading of related data, bulk operations, migration workflows, and common database access pitfalls, with patterns for retries and separate migration services.

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

  • Setting up Entity Framework Core in a new project
  • Improving query performance and loading related data
  • Managing database migrations safely
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Improve database access in EF Core or Dapper by separating read and write models, limiting returned rows and columns, and avoiding N+1 queries. The skill explains when to use tracking, batching, SQL joins, projections, split queries, and purpose-built data stores.

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

  • Optimizing slow EF Core or Dapper data access
  • Designing separate read and write data models
  • Preventing N+1 queries and oversized result sets
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Choose .NET concurrency tools for the work at hand, from `async/await` for I/O to Channels for producer-consumer queues and Akka.NET for stateful entities. The skill offers an escalation path and guidance on avoiding shared mutable state, blocking, and unnecessary locks.

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

  • Choosing a concurrency approach for a .NET feature
  • Building a producer-consumer work queue with Channels
  • Handling parallel I/O or CPU-bound collection work
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Use modern C# practices when writing or refactoring code and designing APIs. Apply records, pattern matching, nullable types, async cancellation, value objects, and Span<T>/Memory<T> patterns to structure code and address performance-sensitive work.

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

  • Refactoring C# code with modern language features
  • Designing public APIs for libraries or services
  • Modeling domains with strongly typed value objects
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Configure Aspire AppHost to pass resource settings to applications as explicit environment variables. The skill keeps app code dependent on ordinary configuration and SDKs, making infrastructure settings easier to reproduce in production and tests without Aspire client or service discovery packages.

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

  • Mapping Aspire resources to app configuration
  • Keeping application projects free of Aspire clients
  • Making development settings reproducible in production
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Prepare C# and .NET libraries or applications for trimming and Native AOT, which removes unused code and can run without a JIT. The skill explains project settings, annotations, warning fixes, and alternatives for reflection-heavy code.

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

  • Adding trimming or Native AOT support to a .NET project
  • Resolving IL2xxx and IL3xxx compatibility warnings
  • Making reflection-heavy code safer for trimming
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Configure Akka.NET clusters to discover peers through Kubernetes, Azure, or static configuration and form clusters without fixed seed nodes. Set up management HTTP endpoints and health checks that load balancers and orchestrators can use to assess liveness and readiness.

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

  • Forming Akka.NET clusters with dynamic service discovery
  • Replacing fixed seed nodes in cloud deployments
  • Adding liveness and readiness checks for orchestration
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Build entity actors with Akka.Hosting using shared patterns for local tests and clustered production. Configure message routing, cluster sharding, durable reminders, and injectable time so actor behavior can be tested across execution modes.

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

  • Building actors for domain entities such as orders
  • Testing actor routing without a cluster
  • Configuring clustered sharding for production
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Choose suitable Akka.NET patterns for actor messaging, supervision, error handling, dependency injection, and distributing background work. Learn when to use local EventStream or cluster-wide DistributedPubSub, and how to make clustered systems testable in local mode.

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

  • Choosing actor messaging across processes or cluster nodes
  • Deciding how actors handle expected and unexpected errors
  • Selecting Props or DependencyResolver for actor creation
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Set up Akka.NET actor systems in .NET Aspire for local development and deployment. Configure clustering, SQL Server persistence, Akka.Management discovery, health checks, and Aspire orchestration so services and their dependencies can run together across multiple replicas.

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

  • Starting an Akka.NET project with Aspire orchestration
  • Configuring cluster discovery across replicas
  • Adding SQL Server persistence to an actor system
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Apply C# nullable reference types to make null intent clear in code and APIs. The guidance covers compiler flow analysis, nullable-analysis attributes, safe use of the null-forgiving operator, public API compatibility, C# 14's field keyword, and incremental migration of legacy projects.

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

  • Introducing nullable reference types into a legacy project
  • Designing API signatures that describe null behavior
  • Choosing nullable-analysis attributes for helper methods
Aaronontheweb/dotnet-skills12412026年10月12日 更新

Diagnose slow performance, rising memory use, battery drain, hangs, and launch delays in Apple platform apps. The skill routes investigations to profiling tools such as Instruments or xctrace, and covers memory leaks, energy use, and optimization paths.

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

  • Investigating an app that feels slow or freezes
  • Diagnosing growing memory use or suspected leaks
  • Finding causes of battery drain or device heat
CharlesWiltgen/Axiom12312026年10月27日 更新

Diagnose Swift Package Manager problems by inspecting package manifests, resolved versions, project references, and dependency graphs. It identifies version conflicts, duplicate symbols, Swift language mode mismatches, missing transitive modules, macro build issues, and platform incompatibilities, then suggests ways to resolve them.

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

  • Investigating Swift Package Manager resolution failures
  • Diagnosing a “No such module” build error
  • Finding the cause of duplicate symbol linker errors
CharlesWiltgen/Axiom12312026年10月27日 更新

Collect and analyze app performance traces from the command line with xcprof. The skill reports which measurements were available, attributes hot work to app code, and ranks actionable findings for CPU, memory, network, energy, and other supported profiling tasks.

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

  • Profiling CPU usage or a slow app action
  • Checking memory allocations or leaks
  • Comparing performance traces before and after a change
CharlesWiltgen/Axiom12312026年10月27日 更新

Get guidance for securing Apple app features, from storing secrets in Keychain and encrypting data with CryptoKit to adding passkeys, protecting AI agents from prompt injection, and managing app signing and provisioning profiles.

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

  • Storing API keys or tokens securely
  • Encrypting data or signing payloads
  • Adding passkey sign-in
CharlesWiltgen/Axiom12312026年10月27日 更新

Use this skill to build and troubleshoot UIKit interfaces, connect UIKit with SwiftUI, and modernize app lifecycle and resizing behavior. It points to guidance for Auto Layout, Combine, TextKit, PencilKit, and UIKit animations, including common layout and lifecycle problems.

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

  • Embed a UIKit view in SwiftUI
  • Add SwiftUI screens to a UIKit app
  • Debug Auto Layout constraint conflicts
CharlesWiltgen/Axiom12312026年10月27日 更新