aspire-init

Scaffolds Aspire AppHost skeletons in repositories using aspire init or aspire new templates.

2|Updated Jul 24, 2026
One-click install
npx skills add https://github.com/elbruno/ElBruno.MagenticUI --skill aspire-init-elbruno
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aspire-init
Source: https://github.com/elbruno/ElBruno.MagenticUI/tree/main/.agents/skills/aspire-init
Command: npx skills add https://github.com/elbruno/ElBruno.MagenticUI --skill aspire-init-elbruno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Adding Aspire orchestration to a repository requires choosing between greenfield templates and existing-repo initialization, detecting whether an AppHost already exists, and knowing which follow-up steps to run. This Skill guides that first-run flow so the correct skeleton is dropped without duplicating existing AppHosts. ## Core Features & Use Cases - AppHost Detection: Checks for existing C#, file-based, and TypeScript AppHosts plus aspire.config.json before running any init command. - Template Selection: Chooses between aspire new templates (aspire-starter, aspire-empty, aspire-py-starter, aspire-ts-starter) for new projects or aspire init for existing repositories. - Handoff Orchestration: Routes to the aspireify skill for resource wiring and aspire-orchestration for lifecycle commands after the skeleton is in place. - Use Case: A developer has an existing Express API and .NET service repo with no Aspire support. The Skill confirms no AppHost exists, runs aspire init with the correct language flag, and hands off to aspireify to wire the services. ## Quick Start Add Aspire to my existing repository by scaffolding an AppHost skeleton and then wiring up my services.

Frequently Asked Questions about aspire-init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Aspire to an existing repository?▼

Run aspire init with an explicit language flag, such as aspire init --language csharp --non-interactive. This drops an AppHost skeleton and aspire.config.json next to your existing code, then the aspireify skill wires your services into the AppHost.

What is the difference between aspire init and aspire new?▼

aspire new creates a full starter solution from a template in a new or empty directory, while aspire init adds a minimal AppHost skeleton to a repository that already contains services. Use aspire new for greenfield projects and aspire init for existing codebases.

What Aspire starter templates are available?▼

Available templates include aspire-starter (ASP.NET Core/Blazor), aspire-ts-cs-starter (React frontend), aspire-py-starter (FastAPI with a TypeScript AppHost), aspire-ts-starter (Express/React), and the minimal aspire-empty and aspire-ts-empty scaffolds.

Why does aspire init fail in non-interactive mode?▼

aspire init fails without the --language flag when multiple language paths are available and prompts are disabled. Re-run with --language csharp or --language typescript to specify the AppHost syntax explicitly.

Can I run aspire init if an AppHost already exists?▼

No, running aspire init when an AppHost already exists duplicates the skeleton and confuses tooling. Instead route to the aspireify skill to re-wire resources or aspire-orchestration for lifecycle commands like aspire start.