aspire
Use when working with an Aspire distributed application: operate an AppHost or resources through the Aspire CLI; start, stop, restart, or wait for resources…
от thangchung★ 27 звёзд на GitHub
Установить aspire в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Aspire Skill
Use this skill when the task is about operating an Aspire distributed application through the Aspire CLI rather than falling back to ad-hoc dotnet, docker, or shell workflows.
Resources are typically defined in an AppHost such as, AppHost.cs, apphost.ts, or AppHost/AppHost.csproj (Program.cs).
Use this skill for
- Starting, restarting, and stopping AppHosts with
aspire startandaspire stop - Initializing Aspire in an existing app with
aspire init(drops skeleton files; use theaspireifyskill to complete wiring) - Inspecting resources, logs, traces, and docs
- Adding integrations with
aspire add - Recovering missing TypeScript AppHost support files with
aspire restore - Discovering the correct frontend URL before a Playwright handoff
- Understanding unfamiliar Aspire AppHost APIs before editing C# or TypeScript AppHosts
- Managing AppHost secrets and CLI config
- Publishing and deploying Aspire apps, including single named steps with
aspire do - Adding custom dashboard or resource commands with docs-backed AppHost patterns
Do not use this skill for
- Non-Aspire .NET applications
- Container-only workflows that do not involve an Aspire AppHost
- Replacing normal build and test commands when the task is just compiling code or running unit tests
Default workflow
- Confirm that the workspace is an Aspire app and identify the AppHost.
- Start the app with
aspire start. Use--isolatedin git worktrees or whenever shared local state would be risky. - Use
aspire wait <resource>before interacting with a resource that needs to be healthy. - Inspect state with
aspire describe, then useaspire otel logs,aspire logs,aspire otel traces, andaspire exportbefore making code changes. Display returned data using the formatting rules in references/monitoring.md. - Before adding an integration, introducing a custom dashboard/resource command, or using an unfamiliar AppHost API, use
aspire docs search <topic>andaspire docs get <slug>for workflow guidance, then useaspire docs api search <query> --language csharp|typescriptandaspire docs api get <id>when you need the API reference entry itself. - Re-run
aspire startafter AppHost changes. In git worktrees, re-runaspire start --isolatedinstead of switching toaspire run.
C# AppHosts
When the AppHost is implemented in C# such as AppHost.cs, apphost.cs, or a Program.cs-based AppHost, use Aspire docs for workflow guidance and Aspire API docs for the reference entry before editing.
- Use
aspire docs search <topic>andaspire docs get <slug>when you need the documented workflow or pattern. - Use
aspire docs api search <query> --language csharpandaspire docs api get <id>when you need the C# API reference entry for a resource builder, extension method, or member. - If the
dotnet-inspectskill is available, use it to inspect local C# APIs, overloads, and builder chains when you need help understanding how the API surface is exposed in code. - Keep
dotnet-inspectscoped to understanding APIs and symbols; use Aspire docs for the documented workflow and recommended pattern.
TypeScript AppHosts
When the AppHost is apphost.ts, the .modules/ folder at the project root contains generated TypeScript modules that expose the Aspire APIs available to the AppHost. Common files include .modules/aspire.ts, base.ts, and transport.ts.
- Do not edit
.modules/directly. - Use
aspire add <package>to add integrations and regenerate the available APIs. - Inspect
.modules/aspire.tsafteraspire addto see the refreshed API surface. - The local
tsconfig.jsonoften includes.modules/**/*.tsin its compilation scope.
Key rules
- Prefer
aspire startoverdotnet runfor AppHosts.aspire runblocks the terminal and is a poor fit for agent workflows. - Re-running
aspire startis the restart path. In git worktrees,aspire start --isolatedis both the start and restart command. Do not combineaspire stopandaspire run. - Use
--apphost <path>when the workspace has multiple AppHosts or discovery is ambiguous. - Use
--format Jsonwhen another tool or script needs machine-readable output. - Do not guess the integration or command shape for unfamiliar AppHost changes. Use
aspire docs searchandaspire docs getfor the documented pattern, then useaspire docs api searchandaspire docs api getwhen you need the specific reference entry. - For unfamiliar C# AppHost APIs, use Aspire API docs as the primary reference and, if available, use
dotnet-inspectonly to inspect local symbols, overloads, and builder chains. - Never install the obsolete Aspire workload.
- When a TypeScript AppHost uses
.modules/, do not edit generated files directly. Useaspire addto regenerate APIs and inspect.modules/aspire.tsafterward. - Prefer official docs from
aspire.dev.
Common capabilities
- Use
aspire psw
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/agent-workflows.md
- references/app-commands.md
- references/csharp-apphosts.md
- references/deployment.md
- references/monitoring.md
- references/playwright-handoff.md
- references/resource-management.md
- references/tools-and-configuration.md
- references/typescript-apphosts.md
FAQ
Что делает скилл aspire?
Use when working with an Aspire distributed application: operate an AppHost or resources through the Aspire CLI; start, stop, restart, or wait for resources; inspect app state, logs, traces, docs, or health; add integrations; manage secrets/config; publish/deploy or run pipeline steps; initialize an existing app; recover TypeScript `.modules`; find frontend URLs for Playwright; expose custom dashboard/resource commands; or understand Aspire AppHost APIs in C# or TypeScript. Use even if the user says AppHost, resources, dashboard, bootstrap, Playwright URL, or local distributed app workflow without naming Aspire. Do not use for non-Aspire .NET apps, container-only repos without an AppHost, or ordinary build/test tasks.
Как установить скилл aspire?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aspire запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…