Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
microsoft avatar

Aspire Init

  • 118 installs
  • 76 repo stars
  • Updated August 4, 2026
  • microsoft/aspire-skills

aspire-init is an agent skill for first-run Aspire scaffolding via aspire new or aspire init with aspireify handoff for wiring.

About

The aspire-init skill owns the first-run flow for adding Aspire to a repository without an existing AppHost. It chooses aspire new for greenfield projects or aspire init for existing repos with services to model, then hands off to aspireify for resource wiring because init only drops the skeleton. Detection requires no C# AppHost SDK, no file-based apphost.cs, no TypeScript apphost.ts, and no aspire.config.json before running init. Prerequisites include .NET 10 SDK, Aspire CLI via curl installer or dotnet global tool, and aspire doctor for diagnosis. Templates span aspire-starter, aspire-empty, aspire-ts-empty, and aspire-py-starter with non-interactive flags. aspire init drops AppHost skeleton, aspire.config.json, and the aspireify skill into the project skill directory but does not wire resources. Handoff rules route wiring to aspireify, validation to aspire-orchestration with aspire start, deployment to aspire-deployment, and monitoring to aspire-monitoring. If any AppHost signal exists, route to aspireify or aspire-orchestration instead. Use for aspire init, aspire new, bootstrap Aspire, or no AppHost detected scenarios.

  • First-run only skill for repos without existing AppHost markers.
  • Decision table for aspire new greenfield versus aspire init existing repo.
  • Detection gates prevent init when AppHost already present.
  • Drops skeleton and aspireify skill but requires aspireify handoff for wiring.
  • Handoff rules to orchestration, deployment, and monitoring sibling skills.

Aspire Init by the numbers

  • 118 all-time installs (skills.sh)
  • +17 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #519 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

aspire-init capabilities & compatibility

Capabilities
apphost absence detection gates · aspire new versus aspire init decision workflow · non interactive template and init commands · aspireify skill drop and wiring handoff · sibling skill routing for orchestration and depl
Works with
azure · docker · kubernetes
Use cases
devops · orchestration
npx skills add https://github.com/microsoft/aspire-skills --skill aspire-init

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs118
repo stars76
Last updatedAugust 4, 2026
Repositorymicrosoft/aspire-skills

How do I add Aspire to a repo that has no AppHost yet?

Add Aspire to a repo with aspire new or aspire init, then hand off to aspireify for resource wiring.

Who is it for?

Teams bootstrapping Aspire in new or existing repos before AppHost resource wiring begins.

Skip if: Skip when AppHost already exists, for deploy publish, or for logs and traces monitoring.

When should I use this skill?

User asks aspire init, aspire new, add Aspire to repo, scaffold Aspire, or no AppHost detected.

What you get

AppHost skeleton, aspire.config.json, and aspireify skill drop ready for resource wiring and aspire start validation.

Files

SKILL.mdMarkdownGitHub ↗

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

RequirementInstall
.NET 10.0 SDKhttps://dotnet.microsoft.com/download
Aspire CLI (curl installer)`curl -sSL https://aspire.dev/install.sh \
Aspire CLI (NativeAOT global tool)dotnet tool install -g Aspire.Cli (.NET 10 required)
Diagnose missing prerequisitesaspire doctor
Aspire ships the CLI as a NativeAOT .NET global tool — instant startup, no JIT warmup.
The curl/PowerShell installer remains supported for environments without .NET 10.

Detection

Activate only when adding Aspire to a workspace that does not yet have one. Confirm ALL of the following before running aspire init:

SignalHow to DetectMeaning
No C# AppHostNo .csproj containing Aspire.AppHost.SdkOK to init
No file-based AppHostNo apphost.cs with #:sdk Aspire.AppHost.SdkOK to init
No TypeScript AppHostNo apphost.ts in repo rootOK to init
No Aspire configNo aspire.config.json in repo rootOK to init
User intentExplicit "add Aspire", "scaffold Aspire", "aspire init"OK to init

If any AppHost signal is already present, do not run `aspire init`. Route to `aspireify` (re-wire) or `aspire-orchestration` (lifecycle).

Decision: aspire new vs aspire init

SituationCommandWhy
Empty directory or brand-new projectaspire new <template>Generates a full starter solution
Existing repo with services to modelaspire initDrops minimal skeleton + aspire.config.json next to existing code
User wants a sample to learn fromaspire new aspire-starterIncludes ApiService + Web + ServiceDefaults
User wants the smallest possible scaffoldaspire new aspire-empty (C#) or aspire new aspire-ts-empty (TS)No resources pre-wired
User wants Python servicesaspire new aspire-py-starter (TypeScript AppHost drives Python)Not dotnet new — that template was removed in 13.3

See references/templates.md for the complete template list and options.

Workflow A — aspire new <template> (new project)

For brand-new projects in an empty or non-existent directory:

1. Confirm prerequisites with aspire doctor if the CLI install is uncertain. 2. Pick a template from references/templates.md. 3. Run the template, append --non-interactive for agent flows:

   aspire new aspire-starter --name MyApp --output ./MyApp --non-interactive

4. The new directory is fully wired by the template — no aspireify handoff needed. 5. Route to `aspire-orchestration` for first run (aspire start).

Workflow B — aspire init (existing repo)

For repositories that already contain services (Express API, .NET API, Python service, etc.) and need an AppHost added alongside them:

1. Verify the Detection table — confirm no AppHost is present. 2. Run aspire init, choosing language explicitly for non-interactive flows:

   aspire init --language csharp --non-interactive
   # or
   aspire init --language typescript --non-interactive

3. aspire init drops:

  • The AppHost skeleton (apphost.cs with #:sdk directives, or apphost.ts with the

generated .aspire/modules/ folder)

  • AppHost configuration describing language + AppHost path
  • The `aspireify` agent skill into the project's skill directory (same one

aspire agent init uses) 4. Hand off to `aspireify`aspire init does not wire resources, projects, or integrations on its own. 5. After aspireify finishes wiring, validate via aspire start (`aspire-orchestration`).

See references/init-workflow.md for the full sequence including what aspire.config.json contains and what to do if aspire init fails partway.

Handoff Rules

After aspire init / aspire new finishes...Route To
Skeleton dropped, resources need wiringaspireify skill (in-plugin or project-local)
Skeleton dropped, validate it startsaspire-orchestration (run aspire start)
New project from template, ready to runaspire-orchestration
User asks to deploy after initaspire-deployment
User asks for logs/traces after initaspire-monitoring
Existing AppHost detected — do NOT run initaspireify (re-wire) or aspire-orchestration (lifecycle)

Project-Local Skill Override

If .agents/skills/aspire-init/SKILL.md exists project-locally (legacy install from an older aspire init run), warn the user and defer to it. The legacy project-local skill may carry repo-specific guidance that should not be overridden by this in-plugin skill.

The project-local aspireify skill (installed by aspire init) takes precedence over this plugin's in-plugin aspireify for the same reason — defer to the project-local copy and warn.

Error Handling

SymptomCauseAction
aspire init reports AppHost already existsRepo already has an AppHostStop. Route to aspireify (re-wire) or aspire-orchestration (lifecycle)
aspire init fails in non-interactive mode without --languageMultiple language paths availableRe-run with --language csharp or --language typescript
aspire new rejects --output pathPath exists and is non-emptyUse a different --output or empty the directory
aspire command not foundCLI not installeddotnet tool install -g Aspire.Cli (.NET 10) or `curl -sSL https://aspire.dev/install.sh \
aspire doctor reports missing .NET 10SDK missingInstall .NET 10 SDK before retrying
aspire init succeeded but no aspireify skill installedAgent skill directory not detectedRun aspire agent init to install aspireify, then continue wiring
Skeleton dropped but resources not wiredExpected — aspire init does not wireHand off to aspireify

References

  • templates.mdaspire new templates and options
  • init-workflow.mdaspire init flow, aspire.config.json

layout, and aspireify handoff

Related skills

FAQ

What does aspire-init produce?

AppHost skeleton, aspire.config.json, and aspireify skill installation before resource wiring handoff.

When should I use aspire-init?

When adding Aspire to a workspace with no existing AppHost, config, or apphost files.

Is aspire-init safe to install?

Review the Security Audits panel on this page before installing in production.

DevOps & CI/CDdevopsintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.