codewithmukesh/dotnet-claude-kit/project-structure
Claude Code and agent skill by codewithmukesh/dotnet-claude-kit
- community
Checking that the SKILL.md file is still in the repository.
.NET solution and project structure conventions. Covers .slnx format, Directory.Build.props, Directory.Packages.props for central package management, global usings, and naming conventions. Load this skill when setting up a new solution, adding projects, configuring build properties, or when the user mentions "solution structure", ".slnx", "Directory.Build.props", "central package management", "Directory.Packages.props", "global usings", ".editorconfig", "project layout", or "naming conventions".
Install
npx vskill@latest install codewithmukesh/dotnet-claude-kit/project-structureSKILL.md
The same SKILL.md was published earlier as codewithmukesh/dotnet-claude-kit/project-structure.
Project Structure
Core Principles
- Central package management — Use
Directory.Packages.propsto manage NuGet package versions in one place. No version numbers in individual.csprojfiles. - Shared build properties — Use
Directory.Build.propsfor common settings (target framework, nullable, implicit usings). Don't repeat in every project. - .slnx for solutions — The new XML-based solution format is cleaner and more merge-friendly than the legacy
.slnformat. - src/tests separation — Source projects in
src/, test projects intests/. Clear boundary.
Patterns
Solution Layout
Directory.Build.props
Directory.Packages.props (Central Package Management)
Project File (.csproj) with Central Package Management
global.json (SDK Pinning)
.slnx Solution Format
Naming Conventions
| Element | Convention | Example | |
|---|---|---|---|
| Solution | CompanyName.AppName or AppName | MyApp.slnx | |
| Project | AppName.Layer | MyApp.Api, MyApp.Domain | |
| Namespace | Matches folder path | MyApp.Api.Features.Orders | |
| Feature folder | PascalCase, plural | Features/Orders/ | |
| Test project | ProjectName.Tests | MyApp.Api.Tests |
Anti-patterns
Don't Scatter Package Versions
Don't Repeat Build Properties
Don't Mix Source and Test Projects
Decision Guide
| Scenario | Recommendation | |
|---|---|---|
| New solution | .slnx format | |
| Package version management | Directory.Packages.props (central) | |
| Shared build settings | Directory.Build.props | |
| SDK version pinning | global.json | |
| Common using directives | Global usings in Directory.Build.props | |
| Small API (1-2 devs) | Single project (MyApp.Api) | |
| Medium API (3-5 devs) | 2-3 projects (Api, Domain, Infrastructure) | |
| Large / modular app | Module-per-project with shared Contracts |
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/project-structure/SKILL.md
Popularity
- Repository stars
- 655
- Repository forks
- 150
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 21 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codewithmukesh/dotnet-claude-kit/project-structure)