api-versioning
API versioning strategies for ASP.NET Core. Covers Asp.Versioning library, URL segment, header, and query string strategies,…
Architecture selection advisor for .NET applications. Asks structured questions about domain complexity, team size, system lifetime, compliance, and integration needs, then recommends the best-fit architecture: Vertical Slice, Clean Architecture, DDD + Clean Architecture, or
Claude Code
$ npx -y skills add codewithmukesh/dotnet-claude-kit --skill architecture-advisor --agent claude-code
Codex
$ npx skills add codewithmukesh/dotnet-claude-kit --skill architecture-advisor -a codex -y
Cursor
$ npx skills add codewithmukesh/dotnet-claude-kit --skill architecture-advisor -a cursor -y
Gemini CLI
$ npx skills add codewithmukesh/dotnet-claude-kit --skill architecture-advisor -a gemini-cli -y
GitHub Copilot
$ npx skills add codewithmukesh/dotnet-claude-kit --skill architecture-advisor -a github-copilot -y
OpenCode
$ npx skills add codewithmukesh/dotnet-claude-kit --skill architecture-advisor -a opencode -y
Windsurf
$ npx skills add codewithmukesh/dotnet-claude-kit --skill architecture-advisor -a windsurf -y
name: architecture-advisor description: > Architecture selection advisor for .NET applications. Asks structured questions about domain complexity, team size, system lifetime, compliance, and integration needs, then recommends the best-fit architecture: Vertical Slice, Clean Architecture, DDD + Clean Architecture, or Modular Monolith. Load this skill when the user asks "which architecture", "choose architecture", "set up project", "new project", "architecture decision", "restructure", or "how should I organize". Always load BEFORE any architecture-specific skill.
1. **Ask before recommending** — Never prescribe an architecture without understanding the project. Run the questionnaire first to gather context about domain, team, lifetime, and constraints. 2. **Right-size the architecture** — The best architecture is the simplest one that handles the project's actual complexity. CRUD apps do not need DDD. Startups do not need Clean Architecture. Match complexity to real requirements, not aspirations. 3. **Architecture is not permanent** — Every architecture has an evolution path. Start simple and add structure when complexity demands it. Document the decision so the team knows when to evolve. 4. **Four supported architectures** — dotnet-claude-kit provides first-class patterns for Vertical Slice Architecture (VSA), Clean Architecture (CA), DDD + Clean Architecture, and Modular Monolith. Each has specific strengths and trade-offs.
Before recommending an architecture, ask questions across these 6 categories. Not every question applies to every project — skip irrelevant ones.
| # | Question | Low Signal | High Signal | |---|----------|-----------|-------------| | 1 | How many distinct business entities does the system manage? | < 10 entities | 20+ entities with relationships | | 2 | Do business rules involve multiple entities interacting? | Rules are per-entity CRUD | Complex invariants across entity groups | | 3 | Are there business workflows with multiple steps? | Simple request → response | Sagas, approval chains, state machines | | 4 | Do domain experts use specialized vocabulary? | Generic terms (create, update) | Ubiquitous language (underwrite, adjudicate) |
| # | Question | Low Signal | High Signal | |---|----------|-----------|-------------| | 5 | How large is the development team? | 1-3 developers | 8+ developers, multiple teams | | 6 | Do different teams own different parts of the system? | Single team owns everything | Teams aligned to business domains | | 7 | What is the team's experience level with .NET? | Junior or mixed | Senior, experienced with patterns |
| # | Question | Low Signal | High Signal | |---|----------|-----------|-------------| | 8 | Expected system lifetime? | < 2 years, MVP/prototype | 5+ years, long-lived product | | 9 | How many concurrent users or requests per second? | < 100 RPS | 1000+ RPS, variable load | | 10 | Will the system need to scale independently by feature area? | Uniform load | Hot spots need independent scaling |
| # | Question | Low Signal | High Signal | |---|----------|-----------|-------------| | 11 | Are there audit trail or compliance requirements? | Basic logging sufficient | Full audit trail, SOX/HIPAA/PCI | | 12 | Do different parts of the system have different security boundaries? | Single auth boundary | Multi-tenant, data isolation |
| # | Question | Low Signal | High Signal | |---|----------|-----------|-------------| | 13 | Is this greenfield or brownfield? | Greenfield, starting fresh | Brownfield, migrating from legacy | | 14 | Are there existing architectural patterns the team follows? | No established patterns | Strong conventions in place |
| # | Question | Low Signal | High Signal | |---|----------|-----------|-------------| | 15 | How many external systems does this integrate with? | 0-2 simple APIs | 5+ systems with complex contracts | | 16 | Are there event-driven or async communication needs? | Synchronous request/response | Event sourcing, pub/sub, eventual consistency |
Map questionnaire answers to architecture recommendations:
| Profile | Recommended Architecture | Why | |---------|------------------------|-----| | Low domain complexity, small team, short lifetime | **Vertical Slice Architecture** | Minimal ceremony, fast feature delivery, easy to understand | | Low-medium domain complexity, any team size, API-focused | **Vertical Slice Architecture** | Feature cohesion, one file per operation, natural fit for minimal APIs | | Medium domain complexity, medium team, long lifetime | **Clean Architecture** | Enforced boundaries via project references, testable domain, clear dependency direction | | High domain complexity, specialized vocabulary, complex invariants | **DDD + Clean Architecture** | Aggregates protect invariants, value objects model domain concepts, domain events decouple side effects | | Multiple bounded contexts, team-per-domain, independent deployment potential | **Modular Monolith** | Module isolation, independent data stores, evolution path to microservices | | Brownfield with existing layered architecture | **Clean Architecture** | Familiar to teams coming from N-tier, preserves layer separation with better dependency direction |
If signals point to different architectures:
1. **Default to simpler** — When in doubt, start with VSA and evolve 2. **Domain complexity wins** — High domain complexity overrides team size and lifetime signals 3. **Team familiarity matters** — A team experienced with CA will be more productive with CA than learning VSA, even if VSA is technically simpler 4. **Compliance drives structure** — Regu
API versioning strategies for ASP.NET Core. Covers Asp.Versioning library, URL segment, header, and query string strategies,…
Architecture conformance check: verifies an existing codebase against its declared architecture (VSA, Clean Architecture, DDD,…
.NET Aspire for cloud-native orchestration. Covers AppHost configuration, service defaults, resource configuration, service…
Authentication and authorization for ASP.NET Core. Covers JWT bearer tokens, OpenID Connect, ASP.NET Identity, authorization…
Avalonia UI 12 for cross-platform .NET desktop apps: compiled bindings (x:DataType, on by default in 12),…
Autonomous iteration loops for .NET: drive a broken build or failing test suite to green with bounded iterations, progress…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.