dependency-update
Skill6.3k starsChanged 6 months agoMITView on GitHub
Guides dependency version updates by checking nuget.org for latest versions, triggering the dotnet-migrate-package Azure DevOps pipeline, and monitoring runs. Use this when asked to update external NuGet dependencies.
5 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- turntuptechnologies-ai/skillstheir own version, first seen Aug 6, 2026
- kwhorne/elyra-skillstheir own version, first seen May 22, 2026
- microsoft/hastetheir own version, first seen Apr 22, 2026
- pvnarp/agent-skillstheir own version, first seen Mar 13, 2026
Who's talking about microsoft/aspire
- Azure/azure-functions-core-tools“azure-functions-core-tools 4.13.2 Linux x64 package references a missing CDN blob”GitHub · Aug 9, 2026 · 18 reactions
- apple/container“[Request]: `cp` command tar stream support”GitHub · Jul 6, 2026 · 6 reactions
- CommunityToolkit/Aspire“Add Dekaf Kafka client integration and Schema Registry hosting support”GitHub · Sep 21, 2026 · 2 reactions
- thomhurst/TUnit“chore(deps): update aspire to 13.5.2”GitHub · Aug 21, 2026 · 2 reactions
- kubernetes-client/csharp“UnobservedTaskException from orphaned ReadLineAsync task in Watcher<T>.CreateWatchEventEnumerator during …”GitHub · Jun 22, 2026 · 2 reactions
The biggest 5 of 20 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 20
Talked about on GitHub and Bluesky (20 times).
On GitHub · 18
- Aug 9, 2026azure-functions-core-tools 4.13.2 Linux x64 package references a missing CDN blob — Azure/azure-functions-core-tools18 reactions · 11 comments
- Jul 6, 2026[Request]: `cp` command tar stream support — apple/container6 reactions · 2 comments
- Sep 21, 2026Add Dekaf Kafka client integration and Schema Registry hosting support — CommunityToolkit/Aspire2 reactions
- Aug 21, 2026chore(deps): update aspire to 13.5.2 — thomhurst/TUnit2 reactions · 3 comments
- Jun 22, 2026UnobservedTaskException from orphaned ReadLineAsync task in Watcher<T>.CreateWatchEventEnumerator during cancellation — kubernetes-client/csharp2 reactions · 2 comments
13 more on GitHub
- Jun 17, 2026chore(deps): update aspire monorepo to 13.4.5 — chrismeller/archiveteam-exporter2 reactions
- Jun 11, 2026chore(deps): update aspire monorepo to 13.4.3 — chrismeller/archiveteam-exporter2 reactions · 1 comment
- May 19, 2026chore(deps): update aspire monorepo to 13.3.4 — chrismeller/archiveteam-exporter2 reactions
- Sep 26, 2026Update Aspire version to 13.6.0 Staging Channel — CommunityToolkit/Aspire1 reaction · 5 comments
- Sep 8, 2026This PR merges the `release/13.5` branch back to `main` after the v13.5.0 release. — cli/cli1 reaction · 1 comment
- Aug 24, 2026Azure.Provisioning.AppContainers uses incorrect default naming requirements for managed environments — Azure/azure-sdk-for-net1 reaction
- Aug 6, 2026safe-outputs checkout auto-detection downgrades contents: write to read — github/gh-aw1 reaction
- Jun 15, 2026deps: Update aspire monorepo to 13.4.6 — ANcpLua/DotNetTests1 reaction
- May 26, 2026safe_outputs add_comment hard-fails on locked source PR (pr-docs-check recurring failures) — github/gh-aw1 reaction
- May 24, 2026"Install the Aspire Templates" section should be clear it's referring specifically to `dotnet` — microsoft/aspire.dev1 reaction · 1 comment
- May 13, 2026Azure.Provisioning.ContainerService: ManagedClusterIngressProfile is internal, blocking preview-API gatewayAPI and applicationLoadBalancer additions — Azure/azure-sdk-for-net1 reaction · 3 comments
- May 12, 2026Application Insights is filled with EventProcessor.Process logs that cannot be filtered out when OpenTelemetry enabled — Azure/azure-functions-host1 reaction
- Apr 16, 2026End2End template with Foundry Hosted Agents — leslierichardson95/aspire-agent-template1 reaction · 3 comments
On Bluesky · 2
- Mar 23, 2026.NET Aspireはコードファーストで拡張性のある分散アプリ開発を統一的に支援するツール群らしい コードでサービスやリソースを定義してローカルデバッグからデプロイまでこなせるのが便利そうかな yug1224 starred microsoft/aspire… — @yug1224.com1 likes and repost
- Mar 22, 2026📦 microsoft / aspire ⭐ 5,662 (+72) 🗒 TypeScript Aspire is the tool for code-first, extensible, observable dev and deploy. — @github-trending-js.bsky.social1 likes and repost
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- microsoft/haste★ 106same name
- kwhorne/elyra-skills★ 1same name
- pvnarp/agent-skills★ 1same name
- turntuptechnologies-ai/skills★ 1same name
- lintangknitto/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-reviewSkill
- azdo-internalSkill
- backport-prSkill
- bump-aspire-versionSkill
- ci-test-failuresSkill
- cli-channel-debuggingSkill
- cli-e2e-testingSkill
- code-reviewSkill
- connection-propertiesSkill
- create-prSkill
- dashboard-testingSkill
- deployment-e2e-testingSkill
- deprecate-integrationSkill
- fix-flaky-testSkill
- hex1bSkill
- hosting-integration-authoringSkill
- issue-investigationSkill
- pr-testingSkill
- reviewing-aspire-architectureSkill
- startup-perfSkill
- test-managementSkill
- update-container-imagesSkill
- vscode-extensionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 0 are common, 14 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 91
Note pre-release versions: if they exist and are newer than the latest stable
- Distinctive: line 112
If currently on stable → recommend latest stable
- Distinctive: line 113
If currently on pre-release → recommend latest pre-release (note stable alternative)
- Distinctive: line 114
If current == latest → mark as up-to-date
- Distinctive: line 115
If a major version bump → flag for careful review
- Very specific: line 131
Use the ask_user tool to confirm which packages and versions to proceed with before triggering any pipelines.
- Distinctive: line 135
Before triggering pipelines, verify the Azure DevOps tooling is ready:
- Distinctive: line 141
If prerequisites fail, guide the user through setup:
- Distinctive: line 158
Run the companion script for each confirmed package.
- Very specific: line 180
After each pipeline run succeeds, update the version in Directory.Packages.props:
- Very specific: line 193
Don't modify packages in the <!-- Package versions defined directly in <reporoot>/Directory.Packages.props --> section of …
- Distinctive: line 197
After updating versions, verify the project still builds:
- Distinctive: line 204
If the build fails due to API changes in the updated package, report the errors and help the user fix them.
- Distinctive: line 248
When updating one member of a family, check if other members also have updates available and suggest updating them together.
- Distinctive: line 252
When updating many packages at once (e.g., "update all external dependencies"), use this optimized workflow instead of updating one at a …
- Very specific: line 256
Update all package versions in Directory.Packages.props before triggering any mirror pipelines.
- Very specific: line 283
Important: Do NOT blindly bump transitive pinned versions of Microsoft.Extensions.* or System.* packages.
- Distinctive: line 291
When you encounter NU1603, it's usually a package authoring issue upstream.
- Very specific: line 295
After verifying restore works with nuget.org, remove nuget.org from NuGet.config, clear the NuGet cache (dotnet nuget locals all -c), and …
- Distinctive: line 303
After all pipelines complete, clear the NuGet cache again and re-run restore to confirm everything resolves.
- Very specific: line 330
If the MigratePackage.cs companion script fails (e.g., it cannot find the az executable — on Windows it may be az.cmd rather than az), you …
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are a specialized dependency update agent for the microsoft/aspire repository. Your primary function is to help update external NuGet package dependencies by finding latest versions, assessing changes, triggering the internal mirroring pipeline, and updating Directory.Packages.props.
Background
External NuGet dependencies (e.g., Hex1b, StackExchange.Redis, Confluent.Kafka) cannot be directly consumed from nuget.org in the internal build. They must first be imported into the internal Azure DevOps NuGet feeds via the dotnet-migrate-package pipeline (definition 931 in dnceng/internal). This skill automates that workflow.
Pipeline Details
- Organization:
https://dev.azure.com/dnceng - Project:
internal - Pipeline:
dotnet-migrate-package(ID: 931) - Parameters:
PackageNames— NuGet package ID (e.g.,Hex1b)PackageVersion— Version to import (e.g.,0.49.0) orlatestMigrationType— UseNew or non-Microsoftfor external dependencies
Companion Script
A single-file C# app is bundled alongside this skill at .agents/skills/dependency-update/MigratePackage.cs. It uses the Azure DevOps .NET SDK (PipelinesHttpClient) with Azure.Identity for authentication. Use it to trigger and monitor pipeline runs — it handles prerequisite checks, pipeline triggering, and polling.
Understanding User Requests
Parse user requests to identify:
- Package name(s) — Specific packages (e.g., "update Hex1b") or categories (e.g., "update all HealthChecks packages")
- Target version — Specific version or "latest" (default behavior)
- Scope — Single package, a family of packages, or all external dependencies
Example Requests
Single package:
Update Hex1b to the latest version
Package family:
Update the Azure.Provisioning packages
All external:
What external dependencies have updates available?
Specific version:
Update StackExchange.Redis to 2.10.0
Task Execution Steps
1. Identify Packages to Update
Locate the target packages in Directory.Packages.props at the repository root. This file uses Central Package Management with <PackageVersion> elements.
# Find all versions of a specific package
grep -i "PackageVersion.*Include=\"Hex1b" Directory.Packages.props
# Find all external dependencies (the "external dependencies" section)
sed -n '/<!-- external dependencies -->/,/<!-- .* -->/p' Directory.Packages.propsFor each package, extract:
- Package ID (the
Includeattribute) - Current version (the
Versionattribute)
Important: Some external dependencies have their versions defined as MSBuild properties in eng/Versions.props rather than inline in Directory.Packages.props. In particular, the OpenTelemetry packages use version properties like $(OpenTelemetryExporterOpenTelemetryProtocolVersion). When updating these packages, update the property values in eng/Versions.props directly. Check both files when looking for a package version.
2. Look Up Latest Versions on nuget.org
For each package, query the nuget.org API to find available versions:
# Get all versions for a package
curl -s "https://api.nuget.org/v3-flatcontainer/{package-id-lowercase}/index.json" | python3 -c "
import json, sys
data = json.load(sys.stdin)
versions = data['versions']
# Separate stable and pre-release
stable = [v for v in versions if '-' not in v]
prerelease = [v for v in versions if '-' in v]
print('Latest stable:', stable[-1] if stable else 'none')
print('Latest pre-release:', prerelease[-1] if prerelease else 'none')
"Version selection guidance:
- Default to latest stable for packages currently on stable versions
- Note pre-release versions if they exist and are newer than the latest stable
- For packages already on pre-release (e.g.,
Spectre.Console 0.52.1-preview.0.5), show both the latest pre-release and the latest stable - Always show the current version for comparison
3. Present Version Summary
Present a clear table to the user with the ask_user tool:
## Dependency Update Summary
| Package | Current | Latest Stable | Latest Pre-release | Recommendation |
|---------|---------|---------------|-------------------|----------------|
| Hex1b | 0.48.0 | 0.49.0 | 0.50.0-beta.1 | ⬆️ 0.49.0 (stable) |
| Hex1b.McpServer | 0.48.0 | 0.49.0 | 0.50.0-beta.1 | ⬆️ 0.49.0 (stable) |
| StackExchange.Redis | 2.9.32 | 2.9.33 | — | ⬆️ 2.9.33 |
Packages already at latest: Confluent.Kafka (2.12.0) ✅Recommendation logic:
- If currently on stable → recommend latest stable
- If currently on pre-release → recommend latest pre-release (note stable alternative)
- If current == latest → mark as up-to-date
- If a major version bump → flag for careful review
4. Review Changes (For Major/Minor Bumps)
For packages with version changes beyond patch-level, help the user assess risk:
- Find the project/release page — Search for the package's GitHub repository or changelog
- Summarize notable changes — Breaking changes, new features, deprecations
- Check for known issues — Look for open issues related to the new version
- Assess impact — Which Aspire projects reference this package?
# Find which projects reference a package
grep -r "PackageReference.*Include=\"Hex1b\"" src/ tests/ --include="*.csproj" -lUse the ask_user tool to confirm which packages and versions to proceed with before triggering any pipelines.
5. Check Prerequisites
Before triggering pipelines, verify the Azure DevOps tooling is ready:
dotnet .agents/skills/dependency-update/MigratePackage.cs -- --check-prereqsIf prerequisites fail, guide the user through setup:
Azure CLI not installed:
Install from: https://learn.microsoft.com/cli/azure/install-azure-cli
Not logged in:
az loginWrong tenant (the script auto-detects the Microsoft corp tenant, but if that fails):
az login --tenant 72f988bf-86f1-41af-91ab-2d7cd011db476. Trigger Pipeline for Each Package
Run the companion script for each confirmed package. Process one package at a time:
dotnet .agents/skills/dependency-update/MigratePackage.cs -- "<PackageName>" "<PackageVersion>"The script will:
- Authenticate via Azure.Identity (AzureCliCredential)
- Trigger the
dotnet-migrate-packagepipeline usingPipelinesHttpClient.RunPipelineAsync - Poll every 30 seconds via
PipelinesHttpClient.GetRunAsyncuntil completion (default 15-minute timeout) - Report success or failure
Example:
dotnet .agents/skills/dependency-update/MigratePackage.cs -- "Hex1b" "0.49.0"
dotnet .agents/skills/dependency-update/MigratePackage.cs -- "Hex1b.McpServer" "0.49.0"If a pipeline run fails, stop and report the failure to the user before proceeding with additional packages. Include the Azure DevOps run URL for investigation.
7. Update Directory.Packages.props
After each pipeline run succeeds, update the version in Directory.Packages.props:
<!-- Before -->
<PackageVersion Include="Hex1b" Version="0.48.0" />
<!-- After -->
<PackageVersion Include="Hex1b" Version="0.49.0" />Important considerations:
- Some packages share versions (e.g.,
Hex1bandHex1b.McpServer). Update all related packages together. - Some packages have version properties defined in
eng/Versions.propsinstead of inline. Check both files. - Don't modify packages in the
<!-- Package versions defined directly in <reporoot>/Directory.Packages.props -->section ofeng/Versions.props— those are managed by Dependency Flow automation.
8. Verify the Build
After updating versions, verify the project still builds:
# Quick build check (skip native AOT to save time)
./build.sh --build /p:SkipNativeBuild=trueIf the build fails due to API changes in the updated package, report the errors and help the user fix them.
9. Summarize Results
Provide a final summary:
## Dependency Update Complete
### ✅ Successfully Updated
| Package | Previous | New | Pipeline Run |
|---------|----------|-----|-------------|
| Hex1b | 0.48.0 | 0.49.0 | [Run 12345](https://dev.azure.com/...) |
| Hex1b.McpServer | 0.48.0 | 0.49.0 | [Run 12346](https://dev.azure.com/...) |
### ❌ Failed
| Package | Version | Reason |
|---------|---------|--------|
| (none) | | |
### 📋 Files Modified
- `Directory.Packages.props` — Updated 2 package versions
### Next Steps
- Review the changes with `git diff`
- Run targeted tests for affected projects
- Create a PR with the updatesHandling Related Package Families
Some packages should be updated together. Common families in this repo:
- Hex1b:
Hex1b,Hex1b.McpServer,Hex1b.Tool - Azure.Provisioning:
Azure.Provisioning,Azure.Provisioning.* - OpenTelemetry:
OpenTelemetry.*— versions are split across two locations:Directory.Packages.props(external deps section):OpenTelemetry.Exporter.Console,OpenTelemetry.Exporter.InMemory,OpenTelemetry.Instrumentation.GrpcNetClient— these have hardcoded versions and should be updated directly.eng/Versions.props(OTel section):OpenTelemetry.Instrumentation.AspNetCore,OpenTelemetry.Instrumentation.Http,OpenTelemetry.Extensions.Hosting,OpenTelemetry.Instrumentation.Runtime,OpenTelemetry.Exporter.OpenTelemetryProtocol,Azure.Monitor.OpenTelemetry.Exporter— these use MSBuild version properties and must be updated ineng/Versions.props. All OTel packages should be kept in sync at the same version when possible.
- AspNetCore.HealthChecks:
AspNetCore.HealthChecks.* - Grpc:
Grpc.AspNetCore,Grpc.Net.ClientFactory,Grpc.Tools - Polly:
Polly.Core,Polly.Extensions - Azure SDK:
Azure.Messaging.*,Azure.Storage.*,Azure.Security.* - ModelContextProtocol:
ModelContextProtocol
When updating one member of a family, check if other members also have updates available and suggest updating them together.
Bulk Update Workflow
When updating many packages at once (e.g., "update all external dependencies"), use this optimized workflow instead of updating one at a time:
1. Update versions first, mirror later
Update all package versions in Directory.Packages.props before triggering any mirror pipelines. This lets you verify the full set of changes compiles correctly before investing time in mirroring.
2. Temporarily add nuget.org to verify restore
To test whether the updated versions work together, temporarily add nuget.org as a package source:
<!-- In NuGet.config <packageSources> -->
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<!-- In NuGet.config <packageSourceMapping> -->
<packageSource key="nuget.org">
<package pattern="*" />
</packageSource>Then run build.cmd -restore (Windows) or ./build.sh --restore (Linux/macOS) to verify all packages resolve. Remove nuget.org from NuGet.config before committing.
3. Watch for transitive pinning conflicts (NU1109)
This repo uses Central Package Management with transitive pinning. When a package update pulls in a transitive dependency at a higher version than what's centrally pinned, NuGet will report NU1109 (package downgrade detected).
This is especially common with:
Microsoft.Extensions.*packages (e.g.,Microsoft.Extensions.Caching.Memory)System.*packages (e.g.,System.Text.Json)- Any package that depends on ASP.NET Core or EF Core framework packages
Important: Do NOT blindly bump transitive pinned versions of Microsoft.Extensions.* or System.* packages. These affect the shared framework surface area and could force customers onto versions that break their applications. Always flag these for human review.
Example: Updating Pomelo.EntityFrameworkCore.MySql from 8.x to 9.x pulls in Microsoft.EntityFrameworkCore.Relational 9.0.0, which transitively requires Microsoft.Extensions.Caching.Memory >= 9.0.0. But the net8.0 TFM pins it to 8.0.x, causing NU1109. This requires careful analysis of whether the pinned version can be safely bumped.
4. Watch for broken transitive dependency metadata (NU1603)
Some packages have transitive dependencies that reference exact versions that don't exist on any feed. NuGet resolves a nearby version instead and emits NU1603. Since this repo treats warnings as errors, this becomes a build failure.
When you encounter NU1603, it's usually a package authoring issue upstream. Report it to the user and suggest holding off on that particular update until the upstream package is fixed.
5. Discover which packages need mirroring
After verifying restore works with nuget.org, remove nuget.org from NuGet.config, clear the NuGet cache (dotnet nuget locals all -c), and run restore again. Any NU1102 (unable to find package) errors indicate packages that need to be mirrored via the dotnet-migrate-package pipeline.
This is more efficient than pre-mirroring all packages upfront, because many updated versions may already exist on the internal feeds (dotnet-public mirrors most of nuget.org). Only the missing ones need explicit pipeline runs.
6. Trigger mirror pipelines for missing packages
For each missing package, trigger the pipeline (see Step 6 above). Pipelines typically take 5–10 minutes to complete but can sometimes take longer. You can trigger multiple pipelines in parallel if they're for different packages.
After all pipelines complete, clear the NuGet cache again and re-run restore to confirm everything resolves. Repeat if additional transitive packages were also missing.
Packages Known to Require Special Handling
Some external dependencies have known constraints:
Pomelo.EntityFrameworkCore.MySql— Major version bumps liftMicrosoft.EntityFrameworkCoreand its transitiveMicrosoft.Extensions.*dependencies, which conflict with net8.0 LTS pinning. Always verify compatibility across all target frameworks.Microsoft.AI.Foundry.Local— Has historically had broken transitive dependency metadata (NU1603). Check if the issue is resolved before updating.Spectre.Console— Currently on pre-release. Always update to the latest pre-release, not the latest stable. Verify hyperlink rendering behavior hasn't changed (test:ConsoleActivityLoggerTests).Milvus.Client— No stable release exists. Always stays on pre-release.Humanizer.Core— Version 3.x ships a Roslyn analyzer that requiresSystem.Collections.Immutable9.0.0, which is incompatible with the .NET 8 SDK. Cannot update until the upstream issue is fixed (Humanizr/Humanizer#1672).StreamJsonRpc— Version 2.24.x ships a Roslyn analyzer targeting Roslyn 4.14.0, incompatible with the .NET 8 SDK. Cannot update until the upstream issue is fixed (microsoft/vs-streamjsonrpc#1399).Azure.Monitor.OpenTelemetry.Exporter— Version 1.6.0 introduced AOT warnings. Hold at 1.5.0 until resolved. Version is ineng/Versions.props.Microsoft.FluentUI.AspNetCore.ComponentsandMicrosoft.FluentUI.AspNetCore.Components.Icons— Must not be automatically updated. Updates to these packages often have breaking changes and require careful manual testing of the dashboard. Always flag these for human review and manual update.
Important Constraints
- One package per pipeline run — The script processes one dependency at a time
- Wait for completion — Don't start the next pipeline run until the current one finishes (the pipeline queue is aggressive)
- Always check nuget.org — The mirroring pipeline pulls from nuget.org
- Verify versions exist — Before triggering the pipeline, confirm the version exists on nuget.org
- Don't modify NuGet.config — Package sources are managed separately; this skill only handles version updates. Temporary nuget.org additions for verification must be reverted before committing.
- Don't modify eng/Version.Details.xml — That file is managed by Dependency Flow automation (Maestro/Darc)
- Ask before proceeding — Always present the version summary and get user confirmation before triggering pipelines
Fallback: Triggering Pipelines via Azure CLI Directly
If the MigratePackage.cs companion script fails (e.g., it cannot find the az executable — on Windows it may be az.cmd rather than az), you can trigger the pipeline directly using the Azure CLI:
# Ensure the azure-devops extension is installed
az extension add --name azure-devops
# Trigger the pipeline
az pipelines run `
--organization "https://dev.azure.com/dnceng" `
--project "internal" `
--id 931 `
--parameters "PackageNames=<PackageName>" "PackageVersion=<Version>" "MigrationType=New or non-Microsoft"
# Poll for completion
az pipelines runs show `
--organization "https://dev.azure.com/dnceng" `
--project "internal" `
--id <RunId> `
--query "{status: status, result: result}" `
--output jsonOn Windows, use az.cmd instead of az if az is not found. Check with Get-Command az.cmd.
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.

