NE

netdaemon-nuget-upgrade

Updates NetDaemon NuGet packages. Consolidates updates while protecting MQTT dependencies.

Install

mkdir -p .claude/skills/netdaemon-nuget-upgrade && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18307" && unzip -o skill.zip -d .claude/skills/netdaemon-nuget-upgrade && rm skill.zip

Installs to .claude/skills/netdaemon-nuget-upgrade

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

NetDaemon project workflow for consolidating Dependabot and NuGet dependency updates with dotnet-outdated while excluding MQTT packages. Use when working in net-daemon/netdaemon to upgrade NuGet packages, verify no MQTT package versions changed, run tests, and publish a dependency-update PR with gh-axi.
304 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Upgrade NetDaemon NuGet packages
  • Exclude MQTT packages from updates
  • Run dry-run of dotnet outdated
  • Verify package diff before testing
  • Run full test command for NetDaemon solution

How it works

The skill creates a new branch, runs `dotnet outdated` to identify and apply NuGet package updates while excluding MQTT packages, verifies the changes, runs tests, and then creates a pull request.

Inputs & outputs

You give it
request to upgrade NuGet packages
You get back
a dependency-update PR with updated non-MQTT NuGet packages

When to use netdaemon-nuget-upgrade

  • Upgrading NuGet dependencies
  • Managing project library updates
  • Validating dependency changes

About this skill

NetDaemon NuGet Upgrade

Purpose

Use this project-local workflow when upgrading NetDaemon NuGet packages, especially when replacing several Dependabot PRs with one dependency-update branch.

Ground Rules

  • Work from the NetDaemon repo root unless the user gives another checkout.
  • Follow AGENTS.md: use gh-axi for GitHub work and never add an agent co-author.
  • Use the existing repo label pr: dependency-update with the space after the colon. Do not create a duplicate no-space label.
  • If the task includes merging a PR, ask the user immediately before each merge.

Workflow

  1. Start from current main and create a branch such as codex/upgrade-nuget-packages. Use a date or short suffix if that branch already exists.
  2. Check the tool:
    dotnet outdated --version
    
    If dotnet-outdated is missing, install or restore it only after confirming the appropriate project-local/global approach.
  3. Run the dry-run exactly:
    dotnet outdated
    
    Review the proposed package IDs.
  4. Apply the update only after the dry-run is clean:
    dotnet outdated -u
    
  5. Verify the package diff before testing:
    git diff --stat
    git diff --check
    
  6. Run the full test command:
    dotnet test NetDaemon.sln --configuration Release --logger "trx;LogFileName=netdaemon-tests.trx" --verbosity quiet
    
    If the only failure is the Docker-backed integration project reporting DockerUnavailableException, inactive Docker, or an unreachable Docker socket, treat it as a local environment limitation. The owner will handle Docker; do not block the dependency-update PR solely on that local Docker failure.
  7. If Docker blocks local integration tests, still run the CI unit-test projects explicitly:
    dotnet test src/HassModel/NetDaemon.HassModel.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-hassmodel.trx" --verbosity quiet
    dotnet test src/Extensions/NetDaemon.Extensions.Scheduling.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-scheduling.trx" --verbosity quiet
    dotnet test src/Client/NetDaemon.HassClient.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-hassclient.trx" --verbosity quiet
    dotnet test src/AppModel/NetDaemon.AppModel.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-appmodel.trx" --verbosity quiet
    dotnet test src/Runtime/NetDaemon.Runtime.Tests --no-build --configuration Release --logger "trx;LogFileName=unit-runtime.trx" --verbosity quiet
    
    Fix any non-Docker test, build, lint, or diff-check failure before publishing.
  8. Stage only intended project-file changes and any user-requested skill/process files. Do not stage TestResults or other generated outputs.
  9. Commit with a plain message such as:
    git commit -m "Upgrade NuGet packages"
    
  10. Push the branch and create the PR with gh-axi:
git push -u origin <branch>
gh-axi pr create --title "Upgrade NuGet packages" --body-file <body-file> --base main --head <branch> --label "pr: dependency-update"
 ```
 Make the PR ready for review unless the user asks for a draft or a non-Docker validation issue remains.
11. Check initial CI:
 ```bash
 gh-axi pr checks <number>
 ```

## PR Body

Include:

- `dotnet outdated` dry-run completed successfully.
- `dotnet outdated -u` applied the upgrades.
- Test commands and outcomes.
- A short note if local Docker prevented the integration project from running, while CI is expected to cover it.

When not to use it

  • When the user explicitly changes the instruction to exclude MQTT packages
  • When the task includes merging a PR without explicit user approval before each merge
  • When the task is not related to upgrading NetDaemon NuGet packages

Prerequisites

dotnet outdated

Limitations

  • The skill treats package IDs containing `mqtt`, case-insensitive, as excluded.
  • The skill will not block a dependency-update PR solely on a local Docker failure for integration tests.
  • The skill requires explicit user approval before merging any PRs.

How it compares

This skill automates the process of upgrading NuGet packages, specifically excluding MQTT packages and validating changes through tests before creating a PR, which is more structured than manual dependency updates.

Compared to similar skills

netdaemon-nuget-upgrade side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
netdaemon-nuget-upgrade (this skill)022dReviewIntermediate
azure-mgmt-fabric-dotnet02moReviewIntermediate
vvvv-node-libraries01moNo flagsAdvanced
script-execute02moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

azure-mgmt-fabric-dotnet

microsoft

Azure Resource Manager SDK for Fabric in .NET. Use for MANAGEMENT PLANE operations: provisioning, scaling, suspending/resuming Microsoft Fabric capacities, checking name availability, and listing SKUs via Azure Resource Manager. Triggers: "Fabric capacity", "create capacity", "suspend capacity", "resume capacity", "Fabric SKU", "provision Fabric", "ARM Fabric", "FabricCapacityResource".

00

vvvv-node-libraries

tebjan

Helps set up C# library projects that provide nodes to vvvv gamma — project directory structure, Initialization.cs with AssemblyInitializer, service registration via RegisterService, IResourceProvider factories, ImportAsIs / ImportNamespace / ImportType selection, category organization, .csproj setu

00

script-execute

Yunbada

Compiles and executes C# code dynamically using Roslyn. Supports two modes: full code mode (default) requires a complete class definition, while body-only mode (isMethodBody=true) auto-generates the boilerplate so you only provide the method body. Unity objects (GameObject, Component, etc.) can be p

00

csharp-developer

zenobi-us

Expert C# developer specializing in modern .NET development, ASP.NET Core, and cloud-native applications. Masters C# 12 features, Blazor, and cross-platform development with emphasis on performance and clean architecture.

43151

csharp-pro

sickn33

Write modern C# code with advanced features like records, pattern matching, and async/await. Optimizes .NET applications, implements enterprise patterns, and ensures comprehensive testing. Use PROACTIVELY for C# refactoring, performance optimization, or complex .NET solutions.

953

dotnet-architect

sickn33

Expert .NET backend architect specializing in C#, ASP.NET Core, Entity Framework, Dapper, and enterprise application patterns. Masters async/await, dependency injection, caching strategies, and performance optimization. Use PROACTIVELY for .NET API development, code review, or architecture decisions.

1241

Search skills

Search the agent skills registry