aspireify

Installation
SKILL.md

Aspireify

This is a one-time setup skill. It completes the Aspire initialization that aspire init started. After this skill finishes successfully, the evergreen aspire skill handles ongoing AppHost work. Do not delete this skill unless the user explicitly asks.

Keep this as one skill with context-specific references. Load the reference files that match the repo you discover instead of trying to keep every edge case in the main document.

Guiding principles

Minimize changes to the user's code

The default stance is adapt the AppHost to fit the app, not the other way around. The user's services already work — the goal is to model them in Aspire without breaking anything.

  • Prefer WithEnvironment() to match existing env var names over asking users to rename vars in their code
  • Prefer Aspire-managed ports (WithHttpsEndpoint(env: "PORT"), WithHttpEndpoint(env: "PORT"), or no explicit port when supported) over fixed ports
  • Only preserve a specific port when the user confirms it is actually significant (for example: external callbacks, OAuth redirect URIs, browser extensions, webhooks, or a repo-documented hard requirement)
  • Map existing docker-compose.yml config 1:1 before optimizing
  • Don't restructure project directories, rename files, or change build scripts

Surface tradeoffs, don't decide silently

Related skills

More from microsoft/aspire

Installs
2
GitHub Stars
5.9K
First Seen
7 days ago