aspire
Skill100 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.
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 14 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 42
Use aspire start to run the AppHost in the background.
- Very specific: line 48
Use aspire wait <resource> to block until a resource is healthy before interacting with it:
- Distinctive: line 59
Before making code changes, inspect the app state:
- Very specific: line 68
Use aspire docs search to find integration documentation, then aspire docs get to read the full guide.
- Very specific: line 70
After adding an integration, restart the app with aspire start for the new resource to take effect.
- Very specific: line 86
Use --isolated when working in a worktree.
- Very specific: line 89
Prefer aspire.dev and learn.microsoft.com/dotnet/aspire for official documentation.
- Very specific: line 93
If configured, use Playwright CLI for functional testing of resources.
“Common” is measured: kept by at least 6 in 10 of the 14 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` |
| 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 myapiRelaunching is safe — aspire start automatically stops any previous instance. Re-run aspire start whenever changes are made to the AppHost project.
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. - 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.
- Prefer
aspire.devandlearn.microsoft.com/dotnet/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.
Other versions17 projects use a version of this.
Word for word · 2
- mitchdenny/hex1b★ 181100% same
- crgarcia12/Liliput★ 4100% same
Edited · 7
- NuGet/NuGetGallery★ 1.6k75% same
- cmu-sei/GHOSTS★ 73675% same
- NikiforovAll/keycloak-authorization-services-dotnet★ 67375% same
- microsoft/aspire.dev★ 20098% same
- Azure-Samples/interview-coach-agent-framework★ 17975% same
- nightscout/nocturne★ 16175% same
- NikiforovAll/hangfire-mcp-dotnet★ 175% same
Wrote their own version · 8
- github/awesome-copilot★ 41ksame name
- dotnet/eShop★ 11ksame name
- CommunityToolkit/Aspire★ 632same name
- foxminchan/BookWorm★ 508same name
- Resgrid/Core★ 235same name
- microsoft/aspire-skills★ 92same name
- Sorcha-Platform/Sorcha★ 2same name
- BlakeHastings/claude-code-artifacts★ 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.
Used alongsideProjects with it also use aspire-deployment, aspireify and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillaspire-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.
Also in 5 projects that use this
MicrosoftSkillaspireify
**WORKFLOW SKILL** - Wire Aspire AppHosts or repair TypeScript AppHost toolchains. Scans the repo, proposes a resource graph, edits C#, file-based C#, or TypeScript 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, WithTerminal, Interaction Service, command arguments, apphost.cs, apphost.mts, 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). INVOKES: aspire CLI, AppHost source edits, ServiceDefaults wiring. FOR SINGLE OPERATIONS: Run `aspire add PACKAGE` directly for a one-off integration.
Also in 5 projects that use this
richlanderSkilldotnet-inspect
Find evidence instead of guessing for .NET packages, platform libraries, assemblies, APIs, dependencies, source, performance, and version-to-version changes.
Also in 3 projects that use this
- +4 more from microsoft
In this repository47 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- adrSkill
- api-extractorSkill
- architecture-mapperSkill
- audit-logSkill
- azure-deploymentSkill
- bug-fixSkill
- build-checkSkill
- cloud-native-assessmentSkill
- cloud-native-plannerSkill
- codebase-scannerSkill
- commit-protocolSkill
- contract-generationSkill
- data-model-extractorSkill
- ddd-modelingSkill
- dependency-inventorySkill
- deploy-diagnosticsSkill
- e2e-generationSkill
- error-handlingSkill
- extension-plannerSkill
- find-skillsSkill
- frd-generatorSkill
- gherkin-generationSkill
- human-gateSkill
- implementationSkill
- modernization-assessmentSkill
- modernization-plannerSkill
- performance-assessmentSkill
- playwright-cliSkill
- prd-generatorSkill
- research-best-practicesSkill
- resumeSkill
- rewrite-assessmentSkill
- rewrite-plannerSkill
- security-assessmentSkill
- security-plannerSkill
- skill-creatorSkill
- skill-discoverySkill
- spec-refinementSkill
- spec-validatorSkill
- state-managementSkill
- tech-stack-resolutionSkill
- test-discoverySkill
- test-generationSkill
- test-runnerSkill
- ui-ux-designSkill
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.

