dotnet-project-init

Discover .NET solution structure, frameworks, and EF Core contexts.

4|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/zdanovichnick/dotnet-pilot --skill dotnet-project-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-project-init
Source: https://github.com/zdanovichnick/dotnet-pilot/tree/main/skills/dotnet-project-init
Command: npx skills add https://github.com/zdanovichnick/dotnet-pilot --skill dotnet-project-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes guesswork by discovering the exact structure and technology choices of a .NET solution so downstream agents scaffold and verify correctly.

Core Features & Use Cases

  • Solution & project discovery: Finds the relevant .sln/.slnx, enumerates projects, and reads project references.
  • Framework and package detection: Identifies target frameworks, SDKs, test runners, ORM usage, and key NuGet packages for patterns like MediatR, AutoMapper, and validation.
  • Architecture and EF Core context detection: Infers architecture style (Clean/Vertical Slices/Flat) from the reference graph and locates DbContext classes, providers, and migration-related details.

Quick Start

Ask the AI to run dotnet-project-init for your current repository to detect projects, frameworks, test runners, EF Core contexts, and the most likely architecture style.

Frequently Asked Questions about dotnet-project-init

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

FAQPage Schema
How do I discover the project structure and architecture of an existing .NET solution?

To discover a .NET solution structure, you can map projects, frameworks, and package references by parsing .sln files and csproj metadata. This process infers architecture styles like Clean or Vertical Slices from the project reference graph to remove guesswork before scaffolding new code.

How can I detect EF Core DbContext classes and their providers in a .NET repository?

You can detect EF Core DbContext classes and their database providers by enumerating DbContext-derived classes across the .NET solution. This analysis locates migration-related details and ORM usage patterns by scanning project metadata and package references.

What is the best way to identify test runners and target frameworks in a multi-project .NET solution?

The best way to identify test runners and target frameworks in a .NET solution is to parse csproj files and evaluate dotnet list outputs. This detection identifies installed SDKs, testing frameworks, and key NuGet packages for patterns like MediatR and AutoMapper.

Can I infer the architecture style of a mixed-convention .NET solution automatically?

Yes, you can infer the architecture style of a mixed-convention .NET solution by analyzing the project reference graph. The detection evaluates project dependencies to determine whether the structure follows Clean, Vertical Slices, or Flat architecture patterns automatically.

Why does scaffolding new code in a multi-project .NET solution require solution discovery?

Scaffolding new code in a multi-project .NET solution requires solution discovery to ensure downstream agents validate and migrate safely. Mapping the exact structure and technology choices prevents integration errors when applying changes across mixed conventions and frameworks.