mcp-experiments/.claude/skills/aspire/SKILL.md
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.
npx skillsauth add thangchung/agent-engineering-experiment aspireInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This repository uses Aspire to orchestrate its distributed application. Resources are defined in the AppHost project (apphost.cs or apphost.ts).
| 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.
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 --isolated
Use aspire wait <resource> to block until a resource is healthy before interacting with it:
aspire start --isolated
aspire wait myapi
Relaunching is safe — aspire start automatically stops any previous instance. Re-run aspire start whenever changes are made to the AppHost project.
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 tracesUse 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.
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 tool
aspire start) before making changes to verify the starting state.aspire start again — it automatically stops the previous instance. NEVER use aspire stop then aspire run. NEVER use aspire run at all.--isolated when working in a worktree.aspire.dev and learn.microsoft.com/dotnet/aspire for official documentation.If configured, use Playwright CLI for functional testing of resources. Get endpoints via aspire describe. Run playwright-cli --help for available commands.
tools
Help users explore menu items, categories, and prices through ToolSearch.Gateway.
tools
Resolve customer identity and account basics by email, phone, name, or customer ID through ToolSearch.Gateway.
tools
End-to-end counter: identify customer, classify intent, build order, confirm, submit. ToolSearch.Gateway-first. No direct MCP or CLI calls.
development
Use this skill when you need documentation for a third-party library, SDK, or API before writing code that uses it — for example, "use the OpenAI API", "call the Stripe API", "use the Anthropic SDK", "query Pinecone", or any time the user asks you to write code against an external service and you need current API reference. Fetch the docs with chub before answering, rather than relying on training knowledge.