Skip to main content
Exécutez n'importe quel Skill dans Manus
en un clic
Dépôt GitHub

CSharpEssentials

CSharpEssentials contient 28 skills collectées depuis senrecep, avec une couverture métier par dépôt et des pages de détail sur le site.

skills collectés
28
Stars
26
mis à jour
2026-05-31
Forks
1
Couverture métier
2 catégories métier · 100% classifié
explorateur de dépôts

Skills dans ce dépôt

csharpessentials-maybe
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Développeurs de logiciels

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
Analystes en assurance qualité des logiciels et testeurs

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
Développeurs de logiciels

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

2026-05-03
csharp-conventions
Développeurs de logiciels

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

2026-05-03
debugger
Développeurs de logiciels

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

2026-05-03
package-conventions
Développeurs de logiciels

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

2026-05-03
project-guard
Développeurs de logiciels

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

2026-05-03
testing-conventions
Analystes en assurance qualité des logiciels et testeurs

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

2026-05-03