Dotnet Architecture
Use when the user asks about .NET clean architecture, ASP.NET Core solution structure, vertical slices, dotnet DI registration, minimal APIs vs controllers or project references. Produces a layered .NET solution layout with dependency rules. Not for MediatR, Result or EF Core recipes (use dotnet-patterns).
Install
npx skills add j4flmao/agent-skills --skill dotnet-architecturegit clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/backend/dotnet/architecture ~/.claude/skills/dotnet-architecturePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# .NET Architecture ## Purpose Structure .NET applications with clean architecture, vertical slices, or CQRS — dependency inversion, MediatR pipelines, DI registration, and solution organization. ## Agent Protocol ### Trigger User request includes: `dotnet clean architecture`, `dotnet vertical slice`, `dotnet CQRS`, `dotnet solution structure`, `.NET project layout`, `dotnet DI`, `dotnet MediatR`. ### Input Context - .NET version (supported releases: .NET 8 LTS, .NET 9 STS, .NET 10 LTS; .NET 6/7 are out of support) - Architecture (Clean Architecture, Vertical Slices, N-tier) - Database (EF Core, Dapper, ADO.NET) - Patterns (CQRS, Event Sourcing, Repository) ### Output Artifact Solution structure, project references, DI registration, MediatR pipeline, EF Core setup. ### Response Format Produce artifact directly. No preamble, no postamble, no explanations. No filler, no hedging, no transitions. ### Completion Criteria - Solution split by concern: Domain, Application, Infrastructure, Presentation - Domain has zero external dependencies - Application depends only on Domain - Infrastructure implements Application/Domain interfaces - DI registered in Composition Root (Presentation layer) - Architecture tests enforce dependency rules ### Max Response Length 4096 tokens ## Architecture Decision Trees ### Clean Architecture vs Vertical Slices vs N-tier | Criterion | Clean Architecture | Vertical Slices | N-tier | |-----------|-------------------|-----------------|--------|
Details
- Skill name
dotnet-architecture- Repository
- j4flmao/agent-skills
- Path
skills/backend/dotnet/architecture/SKILL.md- License
- MIT
- Repo updated
- 17 November 2026
FAQ
What does the Dotnet Architecture skill do?
Use when the user asks about .NET clean architecture, ASP.NET Core solution structure, vertical slices, dotnet DI registration, minimal APIs vs controllers or project references. Produces a layered .NET solution layout with dependency rules. Not for MediatR, Result or EF Core recipes (use dotnet-patterns).
How do I install the Dotnet Architecture skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill dotnet-architecture. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Dotnet Architecture popular?
It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.
Related skills
Agent Observability
45j4flmao/agent-skills
Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).
AI Agent Architectures
45j4flmao/agent-skills
Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).
AI Agent Core Loop
45j4flmao/agent-skills
Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).
Dotnet Patterns
45j4flmao/agent-skills
Use when the user asks about MediatR pipeline behaviors, the Result pattern in C#, FluentValidation, EF Core performance (AsNoTracking, ExecuteUpdate), EF Core outbox or dotnet CQRS handlers. Produces C# implementations of these patterns. Not for solution layout (use dotnet-architecture).
Devops Policy As Code
45j4flmao/agent-skills
Use when the user asks to enforce admission policies with OPA Gatekeeper, Rego, Kyverno, ValidatingAdmissionPolicy (CEL), conftest or opa test, mutation policies, or compliance as code in CI. Produces tested policies and CI enforcement. Not for compliance programs (use enterprise-compliance-audit) or RBAC/ABAC design (use abac-access-control).
Ecmwf Mars
23ecmwf/ecmwf-weather-skills
Handles any question about ECMWF MARS, including whether MARS access works from this machine — load it first. Writes, checks, sizes and runs requests against ECMWF's MARS archive — the full operational IFS archive (HRES, ENS, waves, past runs, model levels) ERA5 and the CARRA/CERRA regional reanalyses (class=rr) via MARS — through the ECMWF Web API (~/.ecmwfapirc) or a local mars client on ECMWF systems. Use when a task mentions MARS, asks whether MARS or the ECMWF Web API works from this machine, the ECMWF archive, past operational forecasts older than Open Data keeps, ensemble members or mod
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.