update-aspire
Skill96 starsChanged 2 months agoMITView on GitHub
Update Aspire version across CI, NuGet constants, proto file, and all test/sample projects
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- changelogSkill
- update-intellij-sdk-eapSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Use curl to download the file directly — do not use WebFetch, as it will refuse to reproduce the raw file content verbatim:
- Very specific: line 36
Do not assume Aspire is registered as a dotnet global tool or installed at ~/.dotnet/tools/aspire.
- Very specific: line 38
Check the installed version with aspire --version, then update it without a channel-selection prompt:
- Distinctive: line 51
Run them sequentially (each command depends on shared NuGet state).
- Distinctive: line 59
Start with the orchestration tests, which depend on the installed Aspire templates and package versions:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Update Aspire Version
Performs a full Aspire version bump: CI templates, NuGet package constants, upstream proto file, and all test/sample projects.
Input
The user must provide the target Aspire version in full semver form (e.g. 13.3.0). If not provided as an argument, ask for it.
Steps
- Update CI template version.
Edit
.github/workflows/build.yml. Find the linedotnet new install Aspire.ProjectTemplates@...and replace the version with the target version. - Update NuGet package versions.
Edit
rider/src/main/kotlin/com/jetbrains/aspire/rider/orchestration/NuGetPackages.kt. For each package listed in the file, look up its latest version on nuget.org (use WebSearch or WebFetch to checkhttps://www.nuget.org/packages/{PACKAGE_NAME}). Update the version constants accordingly. Note: some packages (e.g.Aspire.Hosting.Maui) may only have preview versions — use the latest available. Fetch upstream proto file. The tag format is
v{VERSION}using the full semver (e.g.v13.3.0, notv13.3). The checked-in destination iscore/src/main/protos/dashboard_service.proto.On Windows, invoke
curl.exedirectly. Usecurlto download the file directly — do not use WebFetch, as it will refuse to reproduce the raw file content verbatim:curl.exe -fsSL "https://raw.githubusercontent.com/microsoft/aspire/refs/tags/v{VERSION}/src/Aspire.Hosting/Dashboard/proto/dashboard_service.proto" \ -o core/src/main/protos/dashboard_service.protoUpdate the
aspireCLI. Do not assume Aspire is registered as a dotnet global tool or installed at~/.dotnet/tools/aspire. On Windows, locate it withGet-Command aspire; it may resolve toC:\\Users\\<user>\\.aspire\\bin\\aspire.exeeven when./dotnet.cmd tool list --globaldoes not list Aspire.Check the installed version with
aspire --version, then update it without a channel-selection prompt:aspire update --self --channel stable --non-interactiveThe direct
aspire update --selfcommand can fail in a non-interactive terminal because it attempts to show that prompt.Run
aspire updatein test and sample projects. List all immediate subdirectories in:testData/solutions/sampleProjects/
For every subdirectory, change into it and run
aspire update --non-interactive --yes. Note:--non-interactiverequires--yes(-y) to be specified as well, otherwise the command fails. Run them sequentially (each command depends on shared NuGet state). Use a 10-minute total timeout. If the command runner has a shorter per-command limit, split the sequential sweep into smaller batches; do not run projects concurrently. Some directories (e.g. pure ASP.NET Core, Worker, MAUI, or Azure Functions solutions) contain no Aspire AppHost and will report "no AppHost project files were detected" — this is expected and should be listed as "Skipped (no AppHost)" in the report, not as a failure.CLI wording for no-AppHost projects varies by version, so do not depend on one exact message string when classifying a skipped result.
- Verify the Aspire update with integration tests.
This skill permits agents to run JVM integration tests relevant to the Aspire update without a separate user request.
Install
Aspire.ProjectTemplatesat the target version in the .NET environment Rider uses (./dotnet.cmd new install Aspire.ProjectTemplates@{VERSION}). Seedocs/agents/testing.mdfor the MAUI template prerequisite. Start with the orchestration tests, which depend on the installed Aspire templates and package versions:
Run other affected integration test classes with explicit./gradlew :test --tests "com.jetbrains.aspire.integration.AspireOrchestrationTests"--testsfilters when needed. Fix regressions and review generated output before updating gold files; rerun the affected tests after changes. Report test results and any environment blockers. This permission is limited to relevant integration tests; running the full suite orcheckstill requires an explicit user request. - Report results.
Show the user a summary table listing:
- CI template version: old → new
- Each NuGet package: old version → new version
- Proto file: updated or not
- Each project directory: aspire update succeeded, skipped (no AppHost), or failed
- Integration tests: passed, failed, or blocked, with the affected test classes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

