/aspire:aspirefrom aspire
Routes Aspire distributed application tasks to the correct sub-skill. Detects AppHosts, enforces guardrails, and dispatches to bootstrap, orchestration, deployment, monitoring, or terminal skills.
Ships in aspire. 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.
Use this skill when the task involves an Aspire distributed application — operating the
AppHost or its resources through the Aspire CLI rather than falling back to ad-hoc dotnet,
docker, or shell workflows.
Three intents are commonly misread — resolve them before doing anything else:
aspire agent init, which sets up Aspire agent
guidance with scenario-based coverage for C# AppHost editing, TypeScript AppHosts, and
investigation workflows (see below). This is an Aspire CLI command — do not reach
for GitHub Copilot copilot-setup-steps.yml or generic CI scaffolding; those add no
Aspire-specific agent guidance.aspire describe for resource state, then aspire logs / aspire otel logs /
aspire otel traces. Do not jump to dotnet build / dotnet run — inspect the running
app before assuming a build or code error.aspire-orchestration for aspire update --migrate. This entry-point/package
migration is not Project v2 resource migration. Its package, config, tsconfig,
generated-import, and entry-point changes require approval before
aspire update --migrate --yes --non-interactive; use aspireify only if
separate source authoring remains afterward.Activate when ANY signal is present. Use the Scope column to decide whether to route to
the bootstrap skills (aspire-init / aspireify) or to a runtime sub-skill:
| Signal | How to Detect | Confidence | Scope |
|---|---|---|---|
| C# AppHost | .csproj containing Aspire.AppHost.Sdk | ✅ Definitive | AppHost present → orchestration / deployment / monitoring |
| File-based C# AppHost | apphost.cs with #:sdk Aspire.AppHost.Sdk | ✅ Definitive | AppHost present → orchestration / deployment / monitoring |
| TypeScript AppHost | Current apphost.mts or legacy apphost.ts file in project | ✅ Definitive | AppHost present → orchestration / deployment / monitoring |
| Go AppHost | apphost.go next to an aspire.config.json whose appHost.language is go | ✅ Definitive | AppHost present → orchestration / deployment / monitoring |
| Aspire config without AppHost | aspire.config.json present and no AppHost above | High | Bootstrap → aspireify (skeleton dropped, needs wiring) |
| Aspire config with AppHost | aspire.config.json present and AppHost above | High | AppHost present → orchestration / deployment / monitoring |
| Aspire settings | .aspire/ directory present | High | AppHost present (usually) |
| Generated TS or Go modules | .aspire/modules/ directory present | High | AppHost present (TS or Go) |
| Service defaults | <IsAspireSharedProject>true or a *.ServiceDefaults.csproj project reference | Medium | AppHost present |
No AppHost, no aspire.config.json | None of the above and user asks to add Aspire | n/a | Bootstrap → aspire-init (skeleton drop) |
Go AppHosts require Aspire 17.0 or later. A Go service wired into a C# or TypeScript AppHost does not make it a Go AppHost.
aspire-init for the skeleton drop. If an AppHost stub exists
but is unwired (no resources declared), route to aspireify.
Only continue with the steps below once a wired AppHost is present.aspire-orchestration: prefer aspire_apphost_start when the VS Code tool is available; use aspire start --non-interactive --isolated --apphost <path> in worktreesaspire wait <resource> before interacting with any resourceaspire describe, aspire otel logs, aspire logs, aspire otel traces, and aspire export before making code changesaspire integration search <query> when the package is unknown, then aspire add <package> when ready to mutate the AppHostaspire-orchestration after AppHost changes; otherwise prefer resource commands, runtime watch/HMR, dashboard actions, or IDE-managed debugging as appropriate.aspire-terminals before answering, even
for read-only advice. Do not answer terminal API, prompt, REPL or VHS tape
questions from this router's overview; the specialist owns the exact contracts.aspire-orchestration. New 13.5 C# templates can make dotnet run delegate through the
CLI bundle, but agents still use the editor lifecycle tool or aspire start for
detached, noninteractive, exact-target, and worktree-isolated execution.aspire_apphost_start or aspire_apphost_stop, load deferred contracts and prefer the matching tool, subject to the orchestration skill's worktree and stop-result rules; use start mode run unless the user explicitly asks to attach a debuggeraspire wait <resource>, never manual HTTP pollingaspire ps for running AppHost processes and aspire describe for resource
state/endpoints. Never generate removed 13.5 forms such as aspire ps --resources
or aspire ps --include-hidden.aspire resource <resource-name> <command> for resource operations such as stop, start, or rebuild when availableaspire stop --force as data-destructive: it permanently removes persistent
resources without another prompt, but preserves persistent volumes. Use it only after
explicit confirmation for one exact AppHost. With Aspire CLI 13.6 or later,
aspire stop --force --volumes also deletes every named volume Aspire created for
that AppHost; require approval for that AppHost-wide data scope and never add it to
routine shutdown or lock recovery.features.defaultWatchEnabled only for Aspire default watch; do not treat it as per-resource rebuild, restart, or hot reloadaspire docs search <topic> before editing unfamiliar AppHost APIsaspire docs api search <query> --language csharp|typescript|go for API reference before editing AppHost code (go needs Aspire 17.0 or later)--non-interactive for agent executionaspire integration list --format Json and aspire integration search <query> --format Json for read-only integration discovery.aspire/modules/ directly in TypeScript or Go AppHostsaspire start for an AppHost's lifecycle. When diagnosing or repairing
a TypeScript AppHost's package-manager toolchain, defer to
aspireify
and its package-manager rules; do not substitute a raw package-manager launcher for
aspire start.aspireify wiring. Route to
aspire-project-v2-migration only when the user wants to replace existing
AddProject, addProject, AddCSharpApp, or Blazor gateway resources with
Project v2 APIs. That migration requires an eligible 13.6+ AppHost and approval
of the exact per-resource edits.| Task | Route To |
|---|---|
| Start, stop, wait, restart, rebuild | → aspire-orchestration |
Create a new Aspire project from a template (aspire new) | → aspire-init (in-plugin) |
Add Aspire to an existing repo (aspire init, drop skeleton) | → aspire-init (in-plugin) |
Wire AppHost / scaffold resource graph / add integrations after aspire init | → aspireify (in-plugin) |
| Migrate existing legacy project resources to Project v2 | → aspire-project-v2-migration; assess and obtain approval before edits |
Migrate legacy TypeScript apphost.ts (aspire update --migrate) | → aspire-orchestration; hand back to aspireify only if source authoring remains |
| Deploy, publish, destroy, pipeline steps | → aspire-deployment |
| Logs, traces, metrics, dashboard, browser logs | → aspire-monitoring |
| WithTerminal/withTerminal, TerminalService, dock/dialog/headless terminals, terminal prompts, WithRepl, terminal CLI or tapes | → aspire-terminals; choose owner and lifetime before code |
| Diagnose a running app — "something's wrong", "show me what's happening", investigate errors / health / unexpected behavior | → aspire-monitoring — start with aspire describe for resource state, then aspire logs / aspire otel logs / aspire otel traces; investigate before editing code |
| Improve AI agent support / set up or refresh Aspire agent skills | → run aspire agent init (see below) |
| Explicitly configure the Aspire MCP server for agents | → aspire agent init --mcp on 13.6+ (see Skills vs. MCP) |
| Deployed app monitoring (Azure) | → azure-diagnostics skill (azure-skills plugin) |
aspire agent init)When the user asks for better AI agent support for their Aspire project (or to
set up / refresh agent guidance), recommend running aspire agent init. Check
aspire --version:
Skills vs. MCP. Installing skills and configuring the Aspire MCP server are separate choices:
aspire new and aspire init preselects
the recommended skills (including aspireify) and does not offer MCP configuration.
Standalone aspire agent init keeps an MCP choice that is off by default, and
non-interactive runs never configure MCP by default.aspire agent init --mcp (or
selected MCP interactively) and MCP config is still missing, treat that as a failed
opt-in and investigate it.aspire --version first:
aspire agent init --mcp (add --non-interactive for agent execution).
Keep any agent setup flags the user already chose: --skills and --skill-locations in
13.6, or --agents, --scope, and --skills in 17.0 and later. --mcp=false
is an explicit opt-out.--mcp flag. Have the user run aspire agent init interactively
and select the MCP server option.--mcp when you run aspire new, aspire init, a skill refresh, or
missing-skill recovery.First-run flow only. Owns the skeleton drop for repos that do not yet have an AppHost —
picks aspire new <template> (greenfield) or aspire init (existing repo), runs the CLI,
and hands off to aspireify for the actual wiring. Self-deactivates once the skeleton is in
place. Do not use it on a repo that already contains an AppHost.
Agentic AppHost wiring after aspire init lands the skeleton. Scans the repo, proposes a
resource graph (Postgres / Redis / Rabbit / etc.), edits the AppHost (C#, file-based C#,
TypeScript, or Go), wires Aspire.ServiceDefaults + OTel, validates with aspire start, then
self-deactivates. Owns current AppHost authoring patterns (AddNextJsApp, AddViteApp,
WithBrowserLogs(), command arguments, nonterminal Interaction Service availability,
generated .aspire/modules/, unified TS withEnvironment, endpoint references,
and config/secret migration). Terminal authoring belongs to aspire-terminals.
Code-authoring-first terminal guidance: choose resource WithTerminal versus
AppHost-owned dock, terminal prompt or headless process; reuse integration REPLs.
Owns terminal lifetimes, cancellation, screen/input automation, terminal CLI and
Aspire's VHS tape subset/output formats. Hands lifecycle to aspire-orchestration
and console/telemetry diagnostics to aspire-monitoring. PromptTerminalAsync
borrows a caller-owned Dialog terminal: caller disposal stops the process, not
prompt completion itself.
Approval-first migration for eligible Aspire 13.6+ AppHosts that replaces existing
legacy ProjectResource APIs with experimental DotnetProjectResource APIs while
preserving supported behavior and removing only proven-obsolete AppHost references.
Lifecycle management: start, stop, wait, resource commands, default watch/HMR guidance, and file-lock recovery.
Safety guardrails that prevent agent self-harm. Owns aspire ps for AppHost discovery,
aspire describe for resource inspection, destructive aspire stop --force and
--volumes safeguards,
CLI-driven legacy TypeScript migration, and CLI upgrades (aspire update --self). It
hands back to aspireify only when AppHost source authoring remains after migration.
Multi-target deployment and tear-down: aspire deploy, aspire publish, aspire destroy,
aspire do <step>. Targets: Azure Container Apps, App Service, AKS, Kubernetes (Helm),
Docker Compose, AWS, and preview Radius. Owns current deployment surfaces (persistent
Kubernetes volumes, delegated Azure subnets, cross-scope Azure references, deterministic
Container Apps naming, Foundry hosted agents, JS PublishAs*, and
--pipeline-log-level) and 13.5 API naming.
Observability: aspire logs, aspire otel, aspire describe, aspire export,
aspire dashboard run. Routes between local Aspire CLI diagnostics, AKS workload tooling,
and deployed-Azure platform tools. Surfaces dashboard features (notification center,
Rebuild command, terminal sessions, richer filtering, browser-logs telemetry) without
assuming the removed dashboard AI Assistant or automatic VS Code dashboard launch.
Aspire 13.6 and earlier: If any of the following exist project-locally (from
aspire agent init or aspire init), warn the user and defer to the project-local
copy. Repo-specific guidance there should not be overridden by the in-plugin sibling:
| Project-local file | Precedence |
|---|---|
.agents/skills/aspire/SKILL.md | This file (top-level router) defers to it for deeper C# / TS AppHost editing, Playwright handoff, investigation workflows. |
.agents/skills/aspireify/SKILL.md | The in-plugin aspireify sibling defers to it for AppHost wiring. |
.agents/skills/aspire-init/SKILL.md | The in-plugin aspire-init sibling defers to it for the skeleton/first-run flow. |
.agents/skills/aspire-project-v2-migration/SKILL.md | The in-plugin migration sibling defers to it for Project v2 assessment and edits. |
Aspire 17.0 and later: A project-local Aspire skill is usually a stale copy. Follow this plugin's skills unless the user says they maintain the copy, and see Local Skill Copies.
All versions: No Aspire CLI copies aspire-terminals. If
.agents/skills/aspire-terminals/SKILL.md exists, the in-plugin terminal sibling defers to
it for terminal authoring and automation.
Safety guardrails from this plugin always apply even when project-local skills are active.
Aspire 13.6 and earlier: aspire agent init and aspire init installed Aspire skills into
.agents/skills, .claude/skills, .github/skills, .opencode/skill, or
~/.agents/skills. Copies do not update with this plugin. After the user updates the CLI,
rerun aspire agent init to refresh them.
Aspire 17.0 and later: Aspire registers this plugin instead of copying skills. Clients
may load a stale copy instead of the plugin skill with the same name. Tell the user and
suggest aspire doctor, which lists each copy and explains how to remove it.
| Requirement | Install |
|---|---|
| .NET 10.0 SDK | https://dotnet.microsoft.com/download |
| Aspire CLI (curl/PowerShell) | curl -sSL https://aspire.dev/install.sh | bash |
| Aspire CLI (npm) | npm install -g @microsoft/aspire-cli |
| Aspire CLI (NativeAOT global tool, .NET 10) | dotnet tool install -g Aspire.Cli |
Use the installation method owned by the user's environment. The dotnet tool install
path produces a NativeAOT binary; npm, Nix, Homebrew, WinGet, mise, and the install
scripts are also supported. aspire update --self reports the package-manager-specific
update command when it cannot update a managed installation in place.
--log-level, dashboard MCP removal, NameOutput → NameOutputReference,
AddAndPublishPromptAgent removal, TS withEnvironment* deprecation, and the full
13.2 → 13.3 migration checklist).evals/eval.yaml (opens in a new tab)references/aspire-13-3-breaking-changes.md (opens in a new tab)references/aspire-13-5-breaking-changes.md (opens in a new tab)evals/fixtures/AUTHORING.md (opens in a new tab)evals/fixtures/README.md (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.ApiService/MyApp.ApiService.csproj (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.ApiService/Program.cs (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.AppHost/MyApp.AppHost.csproj (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.AppHost/Program.cs (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.ServiceDefaults/MyApp.ServiceDefaults.csproj (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.Web/MyApp.Web.csproj (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.Web/Program.cs (opens in a new tab)evals/fixtures/csharp-apphost/MyApp.sln (opens in a new tab)evals/fixtures/csharp-apphost/aspire.config.json (opens in a new tab)evals/fixtures/go-apphost/apphost.go (opens in a new tab)evals/fixtures/go-apphost/aspire.config.json (opens in a new tab)evals/fixtures/go-apphost/go.mod (opens in a new tab)evals/fixtures/grade-routing-entry.mjs (opens in a new tab)evals/fixtures/non-aspire/MyApp/MyApp.csproj (opens in a new tab)evals/fixtures/non-aspire/MyApp/Program.cs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub microsoft/aspire-skills --plugin aspire8 skills in this plugin
/aspire-deployment**WORKFLOW SKILL** — Deploy Aspire apps from AppHost models to Docker Compose, Kubernetes, Azure, AWS, or preview Radius. WHEN: "deploy Aspire app", "publish Aspire artifacts", "deploy to Azure Container Apps", "generate Kubernetes artifacts", "deploy to Radius", "tear down Aspire deployment". INVOKES: aspire CLI, Aspire docs, target cloud/container CLIs. FOR SINGLE OPERATIONS: use generic Azure, Kubernetes, Docker, AWS, or Radius tools only when no Aspire AppHost exists./aspireify**WORKFLOW SKILL** - Wire Aspire AppHosts or repair TypeScript AppHost toolchains. Scans the repo, proposes a resource graph, edits C#, file-based C#, TypeScript, or Go AppHosts, wires ServiceDefaults + OTel, validates with `aspire start`, then stops. USE FOR: wire/scaffold AppHost, add Postgres/Redis/Rabbit/Mongo, connect frontend to API, after `aspire init`, AddNextJsApp, AddViteApp, WithBrowserLogs, Interaction Service, command arguments, apphost.cs, apphost.mts, apphost.go, unified withEnvironment, .aspire/modules refusal, config/secrets, TS dependency restore, pnpm/yarn/bun, or Yarn Classic. DO NOT USE FOR: skeleton drop (aspire-init), lifecycle-only start/stop/wait/restart or `aspire update --migrate` (aspire-orchestration), publish/deploy/destroy (aspire-deployment), logs/traces (aspire-monitoring), terminal authoring or automation (aspire-terminals). INVOKES: aspire CLI, AppHost source edits, ServiceDefaults wiring. FOR SINGLE OPERATIONS: Run `aspire add PACKAGE` directly for a one-off integration./aspire-init**WORKFLOW SKILL** - First-run flow for adding Aspire to a repo. Picks `aspire new` (greenfield) or `aspire init` (existing repo), drops the AppHost skeleton, then hands off to `aspireify` for resource wiring. USE FOR: aspire init, aspire new, aspire-starter, aspire-ts-starter, aspire-py-starter, aspire-go-starter, add Aspire to existing repo, scaffold Aspire app, bootstrap Aspire, no AppHost detected, install aspireify, apphost.mts, apphost.go, Go AppHost, generated .aspire/modules. DO NOT USE FOR: AppHost wiring on an existing AppHost (use aspireify), start/stop/wait (use aspire-orchestration), deploy/publish (use aspire-deployment), logs/traces (use aspire-monitoring), repo that already has an AppHost. INVOKES: aspire CLI (init, new, doctor), aspireify (handoff after skeleton drop). FOR SINGLE OPERATIONS: Run `aspire init` or `aspire new TEMPLATE` directly./aspire-monitoring**ANALYSIS SKILL** - Observe Aspire apps: logs, traces, metrics, resource state, telemetry export, browser telemetry, and the standalone dashboard. Routes between local Aspire CLI, AKS workload diagnostics, and deployed Azure resource health. USE FOR: aspire logs, aspire otel logs, aspire otel traces, aspire otel spans, aspire describe, aspire ps, aspire export, aspire dashboard run, describe --include-hidden, browser logs in dashboard, DevTunnel URLs, WithBrowserLogs, App Insights query, AKS pod logs, container app logs. DO NOT USE FOR: start/stop/wait (use aspire-orchestration), deploy/publish/destroy (use aspire-deployment), AppHost code edits like WithBrowserLogs() (use aspireify), Azure provisioning (use azure-prepare), terminal authoring/input/tapes (use aspire-terminals). INVOKES: aspire CLI, azure-diagnostics (deployed Azure), kubectl + Container Insights. FOR SINGLE OPERATIONS: Run the aspire CLI command directly for quick log or describe lookups./aspire-orchestration**WORKFLOW SKILL** — Manage Aspire lifecycle in VS Code or the CLI. WHEN: "start or stop my Aspire app", "aspire_apphost_start", "aspire_apphost_stop", "notEditorOwned", "ambiguousSession", "aspire start", "aspire stop", "aspire wait", resource restart, file-lock errors (MSB3491 or CS2012), port conflicts, git worktrees, "--isolated", "aspire update --self", "aspire update --migrate", "aspire describe --include-hidden", "aspire stop --force", "aspire stop --force --volumes", integration discovery, default watch, or hot reload. INVOKES: VS Code lifecycle tools first when exposed; Aspire CLI for readiness, inspection, resource operations, isolated worktree starts, and allowed fallbacks. DO NOT USE FOR: deploy/publish/destroy (aspire-deployment), logs/traces/metrics (aspire-monitoring), terminal authoring/attach/tapes (aspire-terminals), or AppHost code and resource wiring (aspireify). FOR SINGLE OPERATIONS: Load the matching editor tool first; follow exact-target, worktree-isolation, and stop-result rules./aspire-project-v2-migration**WORKFLOW SKILL** - Safely migrates eligible Aspire 13.6+ AppHosts from legacy ProjectResource APIs to experimental DotnetProjectResource APIs after a per-resource assessment and explicit approval of exact edits. USE FOR: assess or migrate existing AddProject, addProject, AddCSharpApp, addCSharpApp, or AddBlazorGateway resources to Project v2; migrate ProjectResource to DotnetProjectResource; clean up the resulting obsolete AppHost ProjectReference edges. DO NOT USE FOR: upgrading Aspire versions, creating/wiring a new AppHost, Azure Functions migration, generic source modernization, ordinary C# resource wiring or adding a new AddProject resource (use aspireify), publishing, or build/lifecycle diagnostics. INVOKES: Aspire docs/API lookup, aspire add/restore/start/wait, AppHost and package edits. FOR SINGLE OPERATIONS: Assess first; never edit from a generic migration request alone.Other plugins' skills for the same job