aspire
Skill1 starsChanged 7 months agoMITView on GitHub
Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps. USE FOR: aspire start, aspire stop, start aspire app, aspire describe, list aspire integrations, debug aspire issues, view aspire logs, add aspire resource, aspire dashboard, update aspire apphost. DO NOT USE FOR: non-Aspire .NET apps (use dotnet CLI), container-only deployments (use docker/podman), Azure deployment after local testing (use azure-deploy skill). INVOKES: Aspire CLI commands (aspire start, aspire describe, aspire otel logs, aspire docs search, aspire add), bash. FOR SINGLE OPERATIONS: Use Aspire CLI commands directly for quick resource status or doc lookups.
7 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- github/awesome-copilottheir own version, first seen Sep 23, 2026
- microsoft/aspire-skillstheir own version, first seen Sep 18, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Jul 22, 2026
- BlakeHastings/claude-code-artifactstheir own version, first seen Jun 13, 2026
- microsoft/aspire.devedited, first seen Jun 1, 2026
- Cripacx/agentic-dotnettheir own version, first seen Mar 9, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- microsoft/aspire.dev★ 19693% same
Wrote their own version · 6
- github/awesome-copilot★ 40ksame name
- codewithmukesh/dotnet-claude-kit★ 750same name
- microsoft/aspire-skills★ 92same name
- Sorcha-Platform/Sorcha★ 2same name
- BlakeHastings/claude-code-artifacts★ 1same name
- Cripacx/agentic-dotnet★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- playwright-cliSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
Use aspire start to run the AppHost in the background.
- Very specific: line 49
Use aspire wait <resource> to block until a resource is healthy before interacting with it:
- Distinctive: line 70
Before making code changes, inspect the app state:
- Very specific: line 79
Use aspire docs search to find integration documentation, then aspire docs get to read the full guide.
- Very specific: line 81
After adding an integration, restart the app with aspire start for the new resource to take effect.
- Very specific: line 98
Use --isolated when working in a worktree.
- Very specific: line 102
Prefer aspire.dev and learn.microsoft.com/microsoft/aspire for official documentation.
- Very specific: line 106
If configured, use Playwright CLI for functional testing of resources.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Aspire Skill
This repository uses Aspire to orchestrate its distributed application. Resources are defined in the AppHost project (apphost.cs or apphost.ts).
CLI command reference
| Task | Command | ||
| Start the app | aspire start | ||
| Start isolated (worktrees) | aspire start --isolated | ||
| Restart the app | aspire start (stops previous automatically) | ||
| Wait for resource healthy | aspire wait <resource> | ||
| Stop the app | aspire stop | ||
| List resources | aspire describe or aspire resources | ||
| Run resource command | aspire resource <resource> <command> | ||
| Start/stop/restart resource | `aspire resource <resource> start | stop | restart` |
| Rebuild a .NET project resource | aspire resource <resource> rebuild | ||
| View console logs | aspire logs [resource] | ||
| View structured logs | aspire otel logs [resource] | ||
| View traces | aspire otel traces [resource] | ||
| Logs for a trace | aspire otel logs --trace-id <id> | ||
| Add an integration | aspire add | ||
| List running AppHosts | aspire ps | ||
| Update AppHost packages | aspire update | ||
| Search docs | aspire docs search <query> | ||
| Get doc page | aspire docs get <slug> | ||
| List doc pages | aspire docs list | ||
| Environment diagnostics | aspire doctor | ||
| List resource MCP tools | aspire mcp tools | ||
| Call resource MCP tool | aspire mcp call <resource> <tool> --input <json> |
Most commands support --format Json for machine-readable output. Use --apphost <path> to target a specific AppHost.
Key workflows
Running in agent environments
Use aspire start to run the AppHost in the background. When working in a git worktree, use --isolated to avoid port conflicts and to prevent sharing user secrets or other local state with other running instances:
aspire start --isolatedUse aspire wait <resource> to block until a resource is healthy before interacting with it:
aspire start --isolated
aspire wait myapiApplying code changes
Choose the right action based on what changed:
| What changed | Action | Why |
AppHost project (apphost.cs/apphost.ts) | aspire start | Resource graph changed; full restart required |
| Compiled .NET project resource | aspire resource <name> rebuild | Rebuilds and restarts only that resource |
| Interpreted resource (JavaScript, Python) | Typically nothing — most run with file watchers | Restart the resource if no watch mode is configured |
Never restart the entire AppHost just because a single resource changed. Use aspire resource <name> rebuild for .NET project resources — it coordinates stop, build, and restart for just that resource. Use aspire describe --format Json to check which commands a resource supports.
Debugging issues
Before making code changes, inspect the app state:
aspire describe— check resource statusaspire otel logs <resource>— view structured logsaspire logs <resource>— view console outputaspire otel traces <resource>— view distributed traces
Adding integrations
Use aspire docs search to find integration documentation, then aspire docs get to read the full guide. Use aspire add to add the integration package to the AppHost.
After adding an integration, restart the app with aspire start for the new resource to take effect.
Using resource MCP tools
Some resources expose MCP tools (e.g. WithPostgresMcp() adds SQL query tools). Discover and call them via CLI:
aspire mcp tools # list available tools
aspire mcp tools --format Json # includes input schemas
aspire mcp call <resource> <tool> --input '{"key":"value"}' # invoke a toolImportant rules
- Always start the app first (
aspire start) before making changes to verify the starting state. - To restart, just run
aspire startagain — it automatically stops the previous instance. NEVER useaspire stopthenaspire run. NEVER useaspire runat all. - Only restart the AppHost when AppHost code changes. For .NET project resources, use
aspire resource <name> rebuildinstead. - Use
--isolatedwhen working in a worktree. - Avoid persistent containers early in development to prevent state management issues.
- Never install the Aspire workload — it is obsolete.
- For Aspire API reference and documentation, prefer
aspire docs search <query>andaspire docs get <slug>over searching NuGet package caches or XML doc files. The CLI provides up-to-date content from aspire.dev. - Prefer
aspire.devandlearn.microsoft.com/microsoft/aspirefor official documentation.
Playwright CLI
If configured, use Playwright CLI for functional testing of resources. Get endpoints via aspire describe. Run playwright-cli --help for available commands.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

