部署与运维

aspire-init

microsoft/aspire-skills

**WORKFLOW SKILL** - First-run flow for adding Aspire to a repo. Picks `aspire new` (greenfield) or `aspire init` (existing repo), drops the AppHost skeleton, then hands off to `aspireify` for resource wiring. USE FOR: aspire init, aspire new, aspire-starter, aspire-ts-starter, aspire-py-starter, add Aspire to existing repo, scaffold Aspire app, bootstrap Aspire, no AppHost detected, install aspireify, apphost.mts, generated .aspire/modules. DO NOT USE FOR: AppHost wiring on an existing AppHost (use aspireify), start/stop/wait (use aspire-orchestration), deploy/publish (use aspire-deployment), logs/traces (use aspire-monitoring), repo that already has an AppHost. INVOKES: aspire CLI (init, new, doctor), aspireify (handoff after skeleton drop). FOR SINGLE OPERATIONS: Run `aspire init` or `aspire new TEMPLATE` directly.

  • 778 次安装
  • 93 星标
  • 收录于

安装命令

npx skills add https://github.com/microsoft/aspire-skills --skill aspire-init

SKILL.md

Aspire Init

First-run only. This skill owns the skeleton drop and template choice for repositories that do not yet have an Aspire AppHost. Once the skeleton is in place, hand off to aspireify for the actual resource wiring.

Prerequisites

Requirement Install
.NET 10.0 SDK https://dotnet.microsoft.com/download
Node.js ^20.19.0, ^22.13.0, or >=24 (TypeScript AppHost) https://nodejs.org
Aspire CLI (curl installer) curl -sSL https://aspire.dev/install.sh | bash
Aspire CLI (npm) npm install -g @microsoft/aspire-cli
Aspire CLI (NativeAOT global tool) dotnet tool install -g Aspire.Cli (.NET 10 required)
Diagnose missing prerequisites aspire doctor

Aspire also supports Nix, Homebrew, WinGet, mise, and the curl/PowerShell installers. Use the installation method already owned by the user's environment.