Organizes .NET solution trees: decides which solution folder each project belongs to, names folders, and writes .slnx files mapping configurations and excluding projects from build.
Ships in dotnet-solution. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The solution tree shows what the repository produces and what each project contributes to it. Group projects by that contribution, never by the technology they are written in or the kind of file they contain.
.slnx.Every project belongs to exactly one tier, and the top level of the tree shows which.
A project the user never receives is never placed in a deliverable's folder. A reader identifies the shipped deliverables from the top level alone.
Name a folder for the thing it governs, then check that the name still describes the folder once every project inside it is listed.
/Installer/ contains Contoso.Installer./Design System/ names a subject; /UI/ names nothing when every deliverable also has UI of its own.Common, Core, Shared, and Misc accept anything and describe nothing.Services or Libraries.The root contains projects that need no qualifier: framework-level helpers and hosting defaults that belong to no product and no subject. Everything else is qualified by a product, a subject, or a role, and belongs in the folder that names that qualifier.
No folder name explains a project in the root. A root project's own name states what it is. Rename a root project whose name only makes sense from context.
In a single-product solution the core is the product, and the root contains it. In a multi-product solution a project serving one subject moves into that subject's folder.
A set of projects that is removed from the repository in one operation gets its own folder, whatever tier each project belongs to. Name the folder for what the set is, and delete the folder with the set.
Shared fate outranks the tier rule only while the set has an end. A set with no end remains in its tier.
Depth equals rank. A top-level folder names something a maintainer would say when describing what the solution produces.
Add a subfolder only when its parent already contains more than roughly six projects and the subfolder names a real division. A subfolder containing one or two projects adds a level without adding a division.
The .slnx format is XML, and the .NET SDK reads it directly.
<Solution>
<Configurations>
<BuildType Name="Debug" />
<BuildType Name="Release" />
</Configurations>
<Folder Name="/Solution Items/">
<File Path="Directory.Build.props" />
<File Path="global.json" />
</Folder>
<Folder Name="/Design System/">
<Project Path="source/Contoso.Controls/Contoso.Controls.csproj" />
</Folder>
<Folder Name="/Installer/">
<Project Path="install/Contoso.Installer/Contoso.Installer.csproj" />
</Folder>
<Folder Name="/Playground/">
<Project Path="playground/Contoso.Playground/Contoso.Playground.csproj" />
</Folder>
<Folder Name="/Playground/Emulators/">
<Project Path="playground/Contoso.Playground.Storage/Contoso.Playground.Storage.csproj" />
</Folder>
<Folder Name="/Tests/">
<Project Path="tests/Contoso.Tests.Unit/Contoso.Tests.Unit.csproj" />
</Folder>
<Project Path="source/Contoso.Extensions/Contoso.Extensions.csproj" />
</Solution>
<File> puts the root files a maintainer edits into /Solution Items/.Path.A project builds in every solution configuration unless told otherwise. Map and exclude explicitly:
<Project Path="playground/Contoso.Playground/Contoso.Playground.csproj">
<BuildType Solution="Release.Preview|*" Project="Release" />
<Build Solution="Release.Preview|*" Project="false" />
</Project>
<BuildType Solution="…" Project="…" /> maps one solution configuration onto the project configuration to build.<Build Project="false" /> excludes the project from every configuration; adding Solution="…" narrows the exclusion to one.When a solution defines configurations beyond Debug and Release — one per target platform, framework, or host version — classify every project once.
| Project role | Mapping |
|---|---|
| Defines the extra configurations | Map plain Debug/Release onto one representative, and exclude them from the build |
| Shared, needed by every variant | Map each extra configuration onto Debug/Release, and build everywhere |
| Outside the variant matrix | Map onto Debug/Release, and exclude from every extra configuration |
A project outside the matrix that lacks the exclusion compiles once per configuration for no result.
references/solution-filters.md — Load when: a subset of a large solution loads and builds independently.
dotnet sln <solution>.slnx list lists every expected project.| Pitfall | Correct approach |
|---|---|
| Shared projects placed directly in the root | The root is for projects with no qualifier; a subject gets its own folder |
| One folder containing a shared library and a deliverable's own views | Name the shared folder for its subject; a deliverable's views remain in its folder |
| Test or sandbox project filed inside the deliverable's folder | Place the non-shipping tier in its own top-level folder |
| A shared-fate folder retained after its set is removed | Flatten the surviving folder up one level |
Sandbox or tool project with no <Build … Project="false" /> | Exclude it from every configuration it produces no result in |
Folder named for a class of file, such as Services | Name what the folder is about |
Mixed \ and / in Path attributes | Normalize to /; mixed separators come from editing the file on two operating systems |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dotnet-solution, solution-folder, slnx, project-organization
/dotnet-solution:organizing-dotnet-solutionsfrom dotnet-solution
npx claudepluginhub nice3point/revit-skills --plugin dotnet-solutionOther plugins' skills for the same job