smart-detect

Detect .NET project architecture type from solution and source files.

4|1|Updated Mar 15, 2026
One-click install
npx skills add https://github.com/FaysilAlshareef/dotnet-ai-kit --skill smart-detect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-detect
Source: https://github.com/FaysilAlshareef/dotnet-ai-kit/tree/main/skills/detection/smart-detect
Command: npx skills add https://github.com/FaysilAlshareef/dotnet-ai-kit --skill smart-detect

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly identify the architectural type and pattern of a .NET project to guide the appropriate development approach and tooling.

Core Features & Use Cases

  • Infers architecture styles such as vertical-slice, clean-arch, ddd, or modular-monolith from common project layouts.
  • Analyzes key files like Program.cs/Startup.cs, csproj, and solution structure to classify the repository.
  • Use case: a codebase has to be categorized for applying the right scaffolding and governance patterns.

Quick Start

Provide the path to a .NET project directory and up to ten representative files to analyze, and the skill will return the detected architecture type.

Frequently Asked Questions about smart-detect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect .NET project architecture patterns from existing source code?

Detecting .NET project architecture involves analyzing startup files, csproj definitions, and solution structure. You provide a directory path and representative files to infer patterns like vertical-slice, clean-arch, ddd, or modular-monolith.

What .NET architecture styles can be identified from project structure?

Identifiable .NET architecture styles include vertical-slice (vsa), clean-arch, ddd, and modular-monolith. The detection mechanism scopes startup files and common source directories to classify the repository into one of these common architectural patterns.

How do I determine if a solution uses vertical-slice or clean architecture?

To determine if a solution uses vertical-slice or clean architecture, analyze key files like Program.cs and the csproj layout. The detection process scopes solution structure and source directories to return a structured metadata payload classifying the architecture.

What files do I need to provide to analyze .NET project architecture?

To analyze .NET project architecture, provide the path to the project directory and up to ten representative files. The analysis specifically targets startup files, csproj definitions, and the solution structure to infer the architectural pattern.

Can I detect a modular-monolith architecture from csproj definitions alone?

Detecting a modular-monolith architecture relies on csproj definitions combined with startup files and solution structure. Analyzing the broader project layout and common source directories alongside csproj files ensures accurate pattern classification.