StefanTheCode

60 mods across 2 repositories, 30 stars between them.

cqrs-mediatr-setup

25

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Set up CQRS with MediatR (or a thin custom dispatcher) in an ASP.NET Core project — commands, queries, handlers, and pipeline behaviors for validation, logging, and transactions. Use this skill whenever the user wants CQRS, MediatR, command/query handlers, a request pipeline, MediatR behaviors, or asks "how do I add…

19 23d ago A 117 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Decide whether a .NET feature/aggregate should be built as CRUD, Event Sourcing, or an event-driven design — and give the concrete implementation path. Use this skill whenever the user describes a domain, feature, aggregate, table, or entity and asks "CRUD or event sourcing?", "should this be event-sourced?", "is…

19 23d ago A 161 tokens original MIT

db-resiliency-setup

27

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Add database resiliency to EF Core — connection retry on transient failures, command timeouts, and safe retry with transactions/execution strategy. Use this skill whenever the user wants connection resiliency, retry on failure, transient fault handling, EnableRetryOnFailure, execution strategy, or asks "how do I…

19 23d ago A 98 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Audit EF Core DbContext and entity configuration for correctness and performance pitfalls — tracking defaults, lazy loading, missing configuration, connection setup, sensitive data logging, and pooling. Use this skill whenever the user shares a DbContext, OnModelCreating, IEntityTypeConfiguration, AddDbContext setup…

19 23d ago A 100 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Generate Domain-Driven Design building blocks in C# — aggregates, entities, value objects, domain events, and invariant-protecting factory methods. Use this skill whenever the user wants a DDD aggregate, value object, domain event, rich domain model, bounded context structure, encapsulated invariants, or asks "how do…

19 23d ago A 104 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Scan a .NET project's NuGet dependencies for known vulnerabilities, deprecated/outdated packages, and transitive risks, then recommend safe upgrades. Use this skill whenever the user wants to check dependencies for CVEs, vulnerable packages, outdated NuGet, transitive vulnerabilities, supply-chain risk, or asks "are…

19 23d ago A 99 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Diagnose and fix broken distributed traces in .NET — missing spans, broken context propagation across HTTP/messaging, orphaned traces, and missing instrumentation. Use this skill whenever the user has traces that don't connect across services, missing spans, broken trace context, propagation issues over HTTP/queues…

19 23d ago A 98 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Generate an optimized multi-stage Dockerfile and .dockerignore for a .NET app — small final image, layer caching, non-root user, and best practices. Use this skill whenever the user wants a Dockerfile, to containerize a .NET app, a multi-stage build, smaller images, chiseled/distroless images, or asks "how do I…

19 23d ago A 109 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Analyze and optimize Entity Framework Core queries in .NET code. Use this skill whenever the user shares EF Core / LINQ-to-Entities code, a DbContext, a repository, or a slow query and wants it reviewed or sped up — or mentions N+1, lazy loading, AsNoTracking, slow EF queries, cartesian explosion, projections, or "why…

19 23d ago A 112 tokens original MIT

ef-index-advisor

34

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Recommend database indexes for EF Core entities based on how they're actually queried — filters, joins, ordering, and uniqueness — and generate the HasIndex configuration. Use this skill whenever the user wants index recommendations, asks why a query is slow due to a missing index, wants to add indexes…

19 23d ago A 102 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Review EF Core migrations for destructive or risky operations before they hit production — dropped columns/tables, non-nullable adds without defaults, renames that drop data, type changes, and long-locking operations. Use this skill whenever the user has an EF Core migration, a generated Migration.cs, a pending schema…

19 23d ago A 104 tokens original MIT

gc-pressure-auditor

36

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Diagnose garbage-collection pressure in a .NET service — Large Object Heap usage, Gen2 churn, allocation rate, server vs workstation GC, and config — and recommend fixes. Use this skill whenever the user reports GC pauses, high CPU in GC, memory growth, LOH fragmentation, Gen2 collections, or asks "why is the GC…

19 23d ago A 105 tokens original MIT

healthchecks-setup

37

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Add ASP.NET Core health checks with a liveness/readiness split and dependency checks (database, cache, message broker) for Kubernetes and load balancers. Use this skill whenever the user wants health checks, liveness/readiness probes, /health endpoints, dependency health, Kubernetes probes, or asks "how do I add…

19 23d ago A 101 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Guide profiling a .NET app to find the real hot paths before optimizing — which tool to use (dotnet-trace, dotnet-counters, PerfView, VS Profiler), how to capture, and how to read the results. Use this skill whenever the user wants to profile, find bottlenecks, figure out what's slow, capture a trace, read a flame…

19 23d ago A 123 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Set up integration tests for an ASP.NET Core app using WebApplicationFactory and Testcontainers. Use this skill whenever the user wants integration tests, end-to-end API tests, tests that hit a real database, WebApplicationFactory setup, Testcontainers, test fixtures with a real Postgres/SQL Server/Redis, or asks "how…

19 23d ago A 110 tokens original MIT

jwt-auth-setup

40

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Set up JWT authentication and authorization in ASP.NET Core. Use this skill whenever the user wants to add login/auth, issue or validate JWT tokens, set up bearer authentication, refresh tokens, role/policy-based authorization, claims, or asks "how do I secure my API / add JWT auth / protect my endpoints". Always use…

19 23d ago A 99 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Migrate a .NET Framework solution from packages.config to PackageReference and Central Package Management (Directory.Packages.props). Use this skill whenever the user mentions packages.config, PackageReference, "migrate packages", Directory.Packages.props, Central Package Management / CPM, transitive package versions…

19 23d ago A 139 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Find unnecessary heap allocations in C# hot paths — LINQ in loops, boxing, closures, string concatenation, params arrays, async state machines — and rewrite to reduce GC pressure. Use this skill whenever the user wants to reduce allocations, cut GC pressure, find boxing/closures, optimize a hot path's memory, or asks…

19 23d ago A 104 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Generate Prometheus scrape config and a Grafana dashboard JSON for a .NET service's metrics — RED/USE method panels for requests, errors, latency, GC, and custom meters. Use this skill whenever the user wants a Grafana dashboard, Prometheus config, metrics panels, RED/USE dashboards, to visualize .NET metrics, or asks…

19 23d ago A 103 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Generate a production-shaped ASP.NET Core microservice template — health checks, OpenTelemetry, structured logging, config/options, Docker, and a messaging consumer/producer. Use this skill whenever the user wants a new microservice, a service template/scaffold, a service starter with observability and health checks…

19 23d ago A 102 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Scaffold ASP.NET Core Minimal API endpoints using the REPR pattern (Request-Endpoint-Response) with validation, typed results, and route grouping. Use this skill whenever the user wants to add a minimal API endpoint, convert controllers to minimal APIs, set up endpoint groups, TypedResults, route handlers, or asks…

19 23d ago A 106 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Structure a .NET app as a modular monolith — independent modules with enforced boundaries, public contracts, and in-process messaging between modules. Use this skill whenever the user wants a modular monolith, module boundaries, to split a monolith into modules, internal-by-default modules, module contracts, or asks…

19 23d ago A 105 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Set up mutation testing with Stryker.NET to measure whether tests actually catch bugs, and interpret the mutation score and surviving mutants. Use this skill whenever the user wants mutation testing, Stryker, to know if their tests are any good, test quality beyond coverage, surviving mutants, or asks "are my tests…

19 23d ago A 100 tokens original MIT

StefanTheCode/dotnet-ai-toolkit

Skill Claude CodeCodex

Generate architecture tests (NetArchTest or ArchUnitNET) that fail the build when architectural rules are violated — layer dependencies, naming, sealed/internal conventions, and namespace boundaries. Use this skill whenever the user wants architecture tests, to enforce layering, dependency rules as tests, naming…

19 23d ago A 98 tokens original MIT