Skip to main content
skill CX Codex

dotnet-aspire — Claude Code skill: setup and installation

The dotnet-aspire skill helps add .NET Aspire to an existing .NET solution, including its orchestration and shared service setup. Use it when wiring a distributed app.

no license 104 installs ★ 25 updated 2026-02-19

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

What dotnet-aspire does

The skill examines a .NET solution to identify APIs, web apps, and worker services, then guides the setup of AppHost and ServiceDefaults projects. AppHost describes the services and their dependencies; ServiceDefaults supplies shared service configuration. The skill also covers service discovery and adding NuGet packages.

Install the Aspire workload with dotnet workload install aspire. If the app uses container resources such as PostgreSQL or Redis, Docker Desktop must be running before you start AppHost. Without it, those container resources will not start. The setup also covers service links and launching AppHost with dotnet run --project MyApp.AppHost.

What it helps with

  • add AppHost and ServiceDefaults projects to a .NET solution
  • connect APIs, web apps, and worker services
  • replace hardcoded service URLs with service discovery
  • attach databases, caches, or message queues to AppHost

Example prompts for the agent

  • Add .NET Aspire to this solution and create the AppHost and ServiceDefaults projects.
  • Set up service discovery between the API and web app in this .NET solution.
  • Connect PostgreSQL and Redis to AppHost and link them to the right projects.

How to install dotnet-aspire

1Skills CLI (Vercel)

npx skills add markpitt/claude-skills --skill dotnet-aspire -a claude-code

2Manually: put the files in place

~/.claude/skills/dotnet-aspire/SKILL.md

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

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

Questions about dotnet-aspire

How do I install dotnet-aspire in Claude Code?

Run npx skills add markpitt/claude-skills --skill dotnet-aspire -a claude-code. The skill file is placed at ~/.claude/skills/dotnet-aspire/SKILL.md.

What does dotnet-aspire do?

It guides adding .NET Aspire to a solution: setting up AppHost and ServiceDefaults, connecting services, and configuring distributed app orchestration.

What do I need to run AppHost with containers?

Install the Aspire workload with dotnet workload install aspire. Container resources also require Docker Desktop to be running.

Similar skills

All skills for Cloud: AWS, Azure, GCP →

From the same set10

The whole set →
avalonia Guides an agent through Avalonia work: MVVM, XAML, bindings, styling, controls, and platform-specific code for .NET applications. CX Codex +1 286installs microsoft-graph A hub for Microsoft Graph work: eight reference files, shared query parameters and permission rules. Useful when the agent is writing a Microsoft 365 integration. CX Codex +1 263installs kiss-principle The kiss-principle skill helps spot needless complexity in code and design, then plan simpler solutions without dropping required behavior. Use it during reviews, refactors, or feature planning. CX Codex +1 251installs markdown-formatter markdown-formatter rewrites the markup of a markdown file against one set of style rules, then checks the result with a bundled script and reports what changed. CX Codex +1 245installs azure-devops Guides an agent through Azure DevOps REST API work across Boards, Repos, Pipelines, Test Plans, and Artifacts. Useful for integrations and DevOps automation. CX Codex +1 191installs github-api github-api routes GitHub REST and GraphQL requests through dedicated reference guides. Helps build integrations, automate pull requests, and trigger Actions without leaking tokens. CX Codex +1 148installs gof-design-patterns gof-design-patterns finds the right Gang of Four pattern for the problem you describe and writes a working implementation in one of eight languages. CX Codex +1 145installs root-cause-analysis The root-cause-analysis skill guides investigations with 5 Whys, Ishikawa diagrams, Pareto analysis, and fault trees. Use it to trace a bug or failure beyond its visible symptoms. CX Codex +1 107installs

Project sponsors

Companies that keep this analytics open