aspire-init

Generate an AppHost skeleton and aspire.config.json for repositories lacking Aspire support.

13|4|Updated Feb 8, 2025
One-click install
npx skills add https://github.com/jonathanpotts/aspire-nextjs-keycloak --skill aspire-init-jonathanpotts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspire-init
Source: https://github.com/jonathanpotts/aspire-nextjs-keycloak/tree/main/.agents/skills/aspire-init
Command: npx skills add https://github.com/jonathanpotts/aspire-nextjs-keycloak --skill aspire-init-jonathanpotts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides the initial workflow to add Aspire to a repository that does not yet have an AppHost, including scaffolding and a handoff to the wiring phase.

Core Features & Use Cases

  • Automatically drops the AppHost skeleton (C# or TypeScript) and generates aspire.config.json.
  • Chooses the correct initial workflow between aspire init and aspire new based on repo state, enabling a smooth first-run.
  • Hands off to the aspireify skill to perform resource wiring, validation, and onboarding to Aspire.

Quick Start

Run aspire init or aspire new TEMPLATE in a repo that lacks an AppHost to bootstrap Aspire.

Frequently Asked Questions about aspire-init

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

FAQPage Schema
How do I bootstrap Aspire in an existing repository that lacks an AppHost?

To bootstrap Aspire in an existing repo, run the aspire init workflow to automatically drop the AppHost skeleton and generate aspire.config.json. This prepares your repository for the subsequent Aspire resource wiring phase.

What is the difference between aspire init and aspire new for scaffolding an Aspire AppHost?

The aspire init workflow applies to existing repositories lacking an AppHost, while aspire new is chosen for brand-new workspaces. The skill automatically detects the repo state to trigger the correct initial workflow for a smooth first-run.

Can I scaffold an Aspire AppHost using TypeScript instead of C#?

Yes, you can scaffold an Aspire AppHost using TypeScript. The automation drops the AppHost skeleton in either C# or TypeScript depending on your project requirements, alongside generating the aspire.config.json file.

How do I set up Aspire for a brand-new workspace?

To set up Aspire for a brand-new workspace, run aspire new with a template. The workflow identifies the new workspace state and generates the AppHost skeleton and aspire.config.json to establish the Aspire foundation.

What happens after the initial Aspire scaffolding generates the AppHost skeleton?

After the initial Aspire scaffolding generates the AppHost skeleton and aspire.config.json, the workflow hands off to the aspireify skill. This subsequent stage performs resource wiring, validation, and onboarding to Aspire.