Skip to main content
skill CX Codex

project-structure · wshaddix — Claude Code skill: .NET solution layout

A skill that hands your coding agent a fixed layout for .NET solutions: where projects live, how shared build settings and package versions are wired.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add wshaddix/dotnet-skills --skill project-structure -a claude-code
Open on GitHub

What project-structure does

The skill spells out how a .NET repo should be arranged. Source code goes under src/, tests under tests/, one project per concern such as Core, Infrastructure and API, the solution file sits at the root, and shared build configuration lives there too. Your agent follows those rules instead of inventing its own.

A chunk of it covers solution file formats. The .slnx format is XML, so it reads cleanly and produces far fewer merge conflicts, but it needs .NET 9+ SDK or Visual Studio 17.13+. You can move an existing .sln over with dotnet sln MySolution.sln migrate. Keeping both files around in one repo is asking for trouble.

The rest is shared configuration: Directory.Build.props for language settings and SourceLink, Directory.Build.targets for analyzers, and Directory.Packages.props for central package management. Nested Directory.Build.props files do not pull in the outer one on their own, so you import it by hand. If package versions are already scattered across your .csproj files, expect to move to central management in steps.

What it helps with

  • lay out a fresh .NET repo with src/ and tests/
  • migrate a solution from .sln to .slnx
  • move shared build settings into Directory.Build.props
  • collect NuGet versions in Directory.Packages.props
  • wire up SourceLink for debugging and symbols

Example prompts for the agent

  • Set up this .NET repo using the layout from the skill: src/, tests/, solution file at the root
  • Configure central package management with Directory.Packages.props
  • Migrate the solution to .slnx and make sure the old .sln file is gone

How to install project-structure

1Skills CLI (Vercel)

npx skills add wshaddix/dotnet-skills --skill project-structure -a claude-code

2Manually: put the files in place

~/.claude/skills/project-structure/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/project-structure/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about project-structure

How do I install project-structure in Claude Code?

Run npx skills add wshaddix/dotnet-skills --skill project-structure -a claude-code. The skill lands in ~/.claude/skills/project-structure/SKILL.md.

What does project-structure do?

It gives the agent rules for organizing a .NET solution: folder layout, project references, shared build properties, central package versions and SourceLink.

Which .NET versions support the .slnx format?

.slnx needs .NET 9+ SDK or Visual Studio 17.13+. On .NET 10 dotnet new sln creates it by default; on .NET 9 you pass --format slnx.

Similar skills

All skills for Backend and APIs →

project-structure by other authors comes first.

project-structure codewithmukesh A skill that tells your agent how to lay out a .NET solution: central package versions, shared build properties, .slnx format and naming rules. CX Codex +1 2,800installs project-structure modelcontextprotocol This skill maps the layout of the modelcontextprotocol/servers repo and tells you which file or directory a new piece of code belongs in. CX Codex +1 ★ 91,547repo stars mcp-builder official anthropics This skill walks through building an MCP server in TypeScript or Python, from reading the protocol spec to writing tests and evaluation questions. 130,949installs claude-api official anthropics Reference skill for the Claude API and Anthropic SDK that enforces valid model IDs, adaptive thinking, and streaming. 74,198installs lark-im larksuite This skill lets an agent work with Lark IM messages, chats, files, and interactive cards. Use it when coding tasks need access to team conversations. CX Codex +1 472,900installs lark-event larksuite Listens to Lark/Feishu events and streams them as NDJSON. Use it for bots, message processing, and long-running subscribers. CX Codex +1 466,800installs caveman-discover JuliusBrussee Finds and labels every LLM workflow in your repository so Caveman Cloud breaks down spend by actual job rather than grouping everything into one bucket. CX Codex +1 104,400installs migration JuliusBrussee Enforces reversible, compatibility-safe transitions for schema, data, and API updates. Useful whenever data loss or rollout downtime is unacceptable. CX Codex +1 103,900installs

From the same set13

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor