Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

aspire

БесплатноБез исполняемых скриптовНе проверен

**WORKFLOW SKILL** - Aspire router. Detects AppHosts, enforces guardrails, and selects the right sub-skill. USE FOR: Aspire AppHost, Aspire CLI, distributed…

microsoftот microsoft★ 103 звезды на GitHub

Об этом скилле

Aspire

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.

Triage first

Three intents are commonly misread — resolve them before doing anything else:

  • "Better / improve AI agent support", "set up agent skills", "make Copilot smarter about my Aspire app" → recommend running 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.
  • "Something's wrong", "show me what's happening", "why is my app misbehaving" → observe runtime state first: route to aspire-monitoring and use 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.
  • "My old TypeScript AppHost uses apphost.ts; how do I migrate?" → route to 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.

Detection

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.

Default Workflow

  1. Bootstrap branch — if no AppHost exists in the repo, route to 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.
  2. Confirm workspace is Aspire — identify the AppHost
  3. Route lifecycle work to aspire-orchestration: prefer aspire_apphost_start when the VS Code tool is available; use aspire start --non-interactive --isolated --apphost <path> in worktrees
  4. aspire wait <resource> before interacting with any resource
  5. Inspect state with aspire describe, aspire otel logs, aspire logs, aspire otel traces, and aspire export before making code changes
  6. Before adding integrations, use aspire integration search <query> when the package is unknown, then aspire add <package> when ready to mutate the AppHost
  7. When code changes, decide whether the AppHost model changed or only one resource changed. Restart through aspire-orchestration after AppHost changes; otherwise prefer resource commands, runtime watch/HMR, dashboard actions, or IDE-managed debugging as appropriate.

Key Rules

  • Terminal requests require invoking aspire-terminals before answering, even for read-only advice. Do not answer terminal API
Полный SKILL.md на GitHub

Установить aspire в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/aspire-13-3-breaking-changes.mdreferences/aspire-13-5-breaking-changes.md

FAQ

Что делает скилл aspire?

**WORKFLOW SKILL** - Aspire router. Detects AppHosts, enforces guardrails, and selects the right sub-skill. USE FOR: Aspire AppHost, Aspire CLI, distributed app, cloud-native .NET, aspire start/stop/resource/deploy/destroy/publish/init/new/add/wait/describe/ps/logs/otel, aspire agent init, WithBrowserLogs, WithTerminal, TerminalService, terminal prompts, WithRepl, tapes, Interaction Service, apphost.mts, apphost.go, TS package managers, Yarn Classic, custom resource commands, .aspire/modules recovery, ProjectResource to DotnetProjectResource migration, or Playwright URL discovery. DO NOT USE FOR: non-Aspire projects or ordinary build/test tasks. INVOKES: aspire-init, aspireify, aspire-project-v2-migration, aspire-orchestration, aspire-deployment, aspire-monitoring, aspire-terminals. FOR SINGLE OPERATIONS: Route directly to the matching sub-skill.

Как установить скилл aspire?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл aspire запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить aspire с