Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick
GitHub-Repository

CSharpEssentials

CSharpEssentials enthält 28 gesammelte Skills von senrecep, mit Repository-Berufsabdeckung und Skill-Detailseiten auf SkillsMP.

gesammelte Skills
28
Stars
26
aktualisiert
2026-05-31
Forks
1
Berufsabdeckung
2 Berufskategorien · 100% klassifiziert
Repository-Explorer

Skills in diesem Repository

csharpessentials-maybe
Softwareentwickler

Use when representing optional values explicitly — Maybe<T> as a null-safe container, Maybe.From()/FromTry() for creation, HasValue/HasNoValue, Map/Bind chaining, TapNone for None-side effects, Match for consumption, and ToMaybeResult() to bridge into the Result pattern.

2026-05-31
csharpessentials-results
Softwareentwickler

Use when handling operation outcomes without exceptions — Result and Result<T> for success/failure, railway-oriented chaining with Then/ThenAsync/Ensure, Match for consumption, and Result.And/Or for combining multiple results.

2026-05-31
csharpessentials-rules
Softwareentwickler

Use when composing business validation logic — define rules as classes, Func fields, or inline lambdas; combine with .And()/.Or()/.Linear()/.Next(); evaluate with RuleEngine.Evaluate(); branch with RuleEngine.If().

2026-05-31
csharpessentials-these
Softwareentwickler

Use when modeling partial success — These<TError, TValue> holds Left (error only), Right (value only), or Both (error + value), enabling scenarios where a result can partially succeed while carrying warnings. Use FromResult to bridge from Result<T>, ToResult/ToResultLenient to bridge back, and Partition to split collections.

2026-05-31
csharpessentials-time
Softwareentwickler

Use when you need testable time — IDateTimeProvider wraps clock access so production code uses DateTimeProvider while tests use the built-in FakeDateTimeProvider to freeze/advance/set the clock; also provides .ToDateOnly() and .ToTimeOnly() DateTime extension methods.

2026-05-31
csharpessentials-mediator
Softwareentwickler

Use when adding cross-cutting pipeline behaviors to CQRS handlers — ValidationBehavior (CSharpEssentials.Validation, throws EnhancedValidationException), LoggingBehavior (ILoggableRequest), ExceptionHandlingBehavior (auto-converts exceptions to Result.Failure for Result-returning handlers), CachingBehavior (ICacheable with IDistributedCache), and TransactionScopeBehavior (ITransactionalRequest).

2026-05-31
csharpessentials-resilience
Softwareentwickler

Use when adding transient fault handling around Result-based operations — ResiliencePolicy/ResiliencePolicy<T> for retry, timeout, circuit breaker, and fallback composition backed by Polly v8 with Result-aware retry filtering.

2026-05-30
csharpessentials-meta
Softwareentwickler

Use when deciding which CSharpEssentials package to use — overview of all 20 packages organized by concern, the meta-package that bundles core functional modules, and a quick-reference table mapping problems to packages.

2026-05-28
csharpessentials-validation
Softwareentwickler

Use when writing model validation with Result<T> integration — Validator<T> base class, rules.For().NotEmpty()/.MaxLength()/.GreaterThan() chains, SetValidator for nested objects, ForEach for collections, native C# if/switch for conditional rules. Also use when migrating FROM FluentValidation — this skill contains a full side-by-side migration guide.

2026-05-27
csharpessentials-any
Softwareentwickler

Use when a method can return one of several distinct types — Any<T1,T2> as a type-safe discriminated union, implicit assignment from any branch type, exhaustive Match() to handle all cases, and Is<T>/As<T> for type inspection.

2026-05-06
csharpessentials-aspnetcore
Softwareentwickler

Use when wiring CSharpEssentials Result<T> into ASP.NET Core — GlobalExceptionHandler maps unhandled exceptions to ProblemDetails, ResultEndpointFilter converts Result<T> returns to HTTP responses, and ConfigureSwaggerOptions adds per-version Swagger docs.

2026-05-06
csharpessentials-clone
Softwareentwickler

Use when entities need deep-copy semantics — implement ICloneable<T> on domain objects, then call .Clone() on IEnumerable<T> or IQueryable<T> collections to produce independent deep copies of every element.

2026-05-06
csharpessentials-core
Softwareentwickler

Use for low-level C# utility helpers — string case conversions (ToPascalCase/ToSnakeCase/ToKebabCase), URL-safe and v7 GUID generation, null-safe collection helpers (WhereNotNull, AddIf), and async cancellation utilities.

2026-05-06
csharpessentials-efcore
Softwareentwickler

Use when wiring EF Core with CSharpEssentials domain models — AuditInterceptor for automatic CreatedAt/UpdatedAt, DomainEventInterceptor for post-save event dispatch, SlowQueryInterceptor for query monitoring, and ToPagedListAsync for offset pagination.

2026-05-06
csharpessentials-entity
Softwareentwickler

Use when building DDD domain models — EntityBase<TId> for aggregate roots with audit fields and domain events, SoftDeletableEntityBase for soft deletion lifecycle, and IDomainEvent for defining and raising domain events.

2026-05-06
csharpessentials-enums
Softwareentwickler

Use when you need enum-to-string serialization without reflection — [StringEnum] source generator produces compile-time ToString(), Parse(), and TryParse() methods that are NativeAOT-safe and zero-allocation.

2026-05-06
csharpessentials-errors
Softwareentwickler

Use when creating structured error values — Error factory methods (Failure/Validation/NotFound/Conflict/Unauthorized/Forbidden/Unexpected), ErrorMetadata for contextual data, HTTP status mapping, and domain-specific static error class hierarchies.

2026-05-06
csharpessentials-gcpsecretmanager
Softwareentwickler

Use when loading secrets from Google Cloud Secret Manager into IConfiguration at startup — AddGcpSecretManager() registers a configuration provider that pulls named secrets so they are available as standard config values throughout the application.

2026-05-06
csharpessentials-http
Softwareentwickler

Use when making HTTP calls that should return Result<T> instead of throwing exceptions — GetFromJsonResultAsync, PostAsJsonResultAsync, DeleteResultAsync on HttpClient, and HttpRequestBuilder for fluent multi-header/query-param requests with optional Polly resilience.

2026-05-06
csharpessentials-json
Softwareentwickler

Use when configuring System.Text.Json for ASP.NET Core — JsonOptions.Default with camelCase/no-nulls/no-cycles, ConditionalStringEnumConverter for [StringEnum] enums, MultiFormatDateTimeConverter for flexible date parsing, and PolymorphicJsonConverterFactory for $type discriminator.

2026-05-06
csharpessentials-logging
Softwareentwickler

Use when adding request/response body logging middleware to ASP.NET Core — AddRequestResponseLogging() with configurable body/header capture, UseRequestResponseLogging() pipeline registration, and [SkipRequestResponseLogging] / [SkipRequestLogging] / [SkipResponseLogging] attributes for per-endpoint opt-out.

2026-05-06
code-reviewer
Softwarequalitätssicherungsanalysten und -tester

Code review specialist for the CSharpEssentials NuGet ecosystem. Use when reviewing C# code for correctness, consistency, and alignment with the project's functional programming philosophy.

2026-05-03
conventional-commits
Softwareentwickler

Git commit message conventions for CSharpEssentials. Use when writing or reviewing commit messages.

2026-05-03
csharp-conventions
Softwareentwickler

C# coding conventions for CSharpEssentials. Use when writing, reviewing, or refactoring C# code in this project.

2026-05-03
debugger
Softwareentwickler

Debugging specialist for CSharpEssentials. Use when analyzing test failures, build errors, or runtime bugs in this project.

2026-05-03
package-conventions
Softwareentwickler

NuGet package and project file conventions for CSharpEssentials. Use when modifying .csproj, Directory.Packages.props, or Directory.Build.props.

2026-05-03
project-guard
Softwareentwickler

CSharpEssentials project guardrails. Use before committing or when reviewing changes to catch common violations.

2026-05-03
testing-conventions
Softwarequalitätssicherungsanalysten und -tester

Unit testing conventions for CSharpEssentials. Use when writing, reviewing, or modifying tests.

2026-05-03