agentleFS
JetBrainsKnown publisherJetBrains/aspire-plugin/.agents/skills/update-aspire/SKILL.md

update-aspire

Skill96 starsChanged 2 months agoMITView on GitHub

Update Aspire version across CI, NuGet constants, proto file, and all test/sample projects

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
  1. Very specific:

    Use curl to download the file directly — do not use WebFetch, as it will refuse to reproduce the raw file content verbatim:

    line 29
  2. Very specific:

    Do not assume Aspire is registered as a dotnet global tool or installed at ~/.dotnet/tools/aspire.

    line 36
  3. Very specific:

    Check the installed version with aspire --version, then update it without a channel-selection prompt:

    line 38
  4. Distinctive:

    Run them sequentially (each command depends on shared NuGet state).

    line 51
  5. Distinctive:

    Start with the orchestration tests, which depend on the installed Aspire templates and package versions:

    line 59

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Update CI template version. Edit .github/workflows/build.yml. Find the line dotnet new install Aspire.ProjectTemplates@... and replace the version with the target version.
  2. 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 check https://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.
  3. Fetch upstream proto file. The tag format is v{VERSION} using the full semver (e.g. v13.3.0, not v13.3). The checked-in destination is core/src/main/protos/dashboard_service.proto.

    On Windows, invoke curl.exe directly. Use curl to 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.proto
  4. Update the aspire CLI. Do not assume Aspire is registered as a dotnet global tool or installed at ~/.dotnet/tools/aspire. On Windows, locate it with Get-Command aspire; it may resolve to C:\\Users\\<user>\\.aspire\\bin\\aspire.exe even when ./dotnet.cmd tool list --global does not list Aspire.

    Check the installed version with aspire --version, then update it without a channel-selection prompt:

    aspire update --self --channel stable --non-interactive

    The direct aspire update --self command can fail in a non-interactive terminal because it attempts to show that prompt.

  5. Run aspire update in 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-interactive requires --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.

  6. 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.ProjectTemplates at the target version in the .NET environment Rider uses (./dotnet.cmd new install Aspire.ProjectTemplates@{VERSION}). See docs/agents/testing.md for the MAUI template prerequisite. Start with the orchestration tests, which depend on the installed Aspire templates and package versions:
    ./gradlew :test --tests "com.jetbrains.aspire.integration.AspireOrchestrationTests"
    Run other affected integration test classes with explicit --tests filters 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 or check still requires an explicit user request.
  7. 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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.