Agent skill

Nuget Update

by Calabonga in Calabonga/Microservice-Template

Проверить и обновить версии NuGet-пакетов в активных шаблонах NET10.0 (Module, IdentityModule, RazorPages).

MITAuto-check passedBackend & APIs

Install Nuget Update

skills CLI
$ npx skills add Calabonga/Microservice-Template --skill nuget-update -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Calabonga/Microservice-Template nuget-update --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Calabonga/Microservice-Template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/nuget-update .claude/skills/nuget-update && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nuget-update
GitHub stars
287
Token cost
~1.4k tokens
SKILL.md length
472 words
Files
2 (incl. scripts)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Проверить и обновить версии NuGet-пакетов в активных шаблонах NET10.0 (Module, IdentityModule, RazorPages).

  • Works in 7 steps: Установить шаблоны и сгенерировать… → Запустить оба (Development, Kestrel):… → Получить токен по client_credentials → …
  • Tasks that involve Microservices
  • SKILL.md covers Область, Шаг 1. Ветка, Шаг 2. Собрать список… and Шаг 3. Согласовать объём, plus 4 more sections
  • Runs PowerShell scripts from its folder; calls dotnet, git and pwsh; reaches claude.com

What it does

Nuget Update is an agent skill from Calabonga/Microservice-Template. Проверить и обновить версии NuGet-пакетов в активных шаблонах NET10.0 (Module, IdentityModule, RazorPages). Используй, когда пользователь просит "проверь обновления пакетов", "обнови nuget", "подними версии зависимостей" в текущей папке шаблонов. По умолчанию применяет patch + minor, major — только с подтверждения. В конце — сборка трёх решений и (опционально) сквозной тест авторизации Module ↔ IdentityModule.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts.

It sits in Backend & APIs, covering Microservices. It works with ASP.NET Core and Git. The repository describes itself as: Templates for microservice architecture. Nimble Microservice Framework contains two modules. The first with OpenIddict and the second without OpenIddict. Templates are built on… The licence is MIT.

When your agent uses it

  • Tasks that involve Microservices

Example prompts

  • “обнови nuget”
  • “/nuget-update”

Requirements

  • PowerShell

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Установить шаблоны и сгенерировать проекты. Имя проекта не должно содержать сегмент Identity — коллизия с базовым типом Identity из Domain…
  2. Запустить оба (Development, Kestrel): STS на https://localhost:10001, API на https://localhost:20001. Дождаться LISTENING через netstat…
  3. Получить токен по client_credentials
  4. Дёрнуть защищённый эндпоинт API без токена → ждём 401 + JSON {error, error_description}.
  5. Тот же запрос с Authorization: Bearer → ждём 200 + seed-данные.
  6. Токен должен быть RS256 JWT с iss: https://localhost:10001/, client_id: client-id-sts, scope: api.
  7. Погасить процессы, удалить ./scratch, dotnet new uninstall оба шаблона.

What it can do on your machine

Read from SKILL.md and the folder at commit 33ef0ab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (PowerShell), which the agent can run.

    Shell commands in SKILL.md call:

    • dotnet
    • git
    • pwsh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • claude.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nuget Update loads about 1.4k tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 472 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Calabonga/Microservice-Template at commit 33ef0ab, republished under its MIT licence (© Calabonga). 472 words, ~1,398 tokens.

Download SKILL.mdSave it as .claude/skills/nuget-update/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
nuget-update
description
Проверить и обновить версии NuGet-пакетов в активных шаблонах NET10.0 (Module, IdentityModule, RazorPages). Используй, когда пользователь просит "проверь обновления пакетов", "обнови nuget", "подними версии зависимостей" в текущей папке шаблонов. По умолчанию применяет patch + minor, major — только с подтверждения. В конце — сборка трёх решений и (опционально) сквозной тест авторизации Module ↔ IdentityModule.

Обновление NuGet-пакетов в шаблонах NET10.0

Область

  • Работаем только с NET10.0/ (активная версия платформы). NET8.0/ и NET9.0/ — заморожены, не трогаем.
  • Три шаблона, редактируем .csproj внутри content/:
    • Calabonga.Microservice.Module.Template — *.Web, *.Infrastructure
    • Calabonga.Microservice.IdentityModule.Template — *.Web, *.Infrastructure
    • Calabonga.AspNetCoreRazorPages.Template — *.Web, *.Infrastructure
  • Никогда не редактируем *.Domain.csproj (в них и так нет PackageReference — см. rules/architecture.md). Если после правок git status показывает изменения в *.Domain — откатить их (git checkout --).

Шаг 1. Ветка

Создать ветку до любых правок: chore/nuget-updates-net10 (или с уточняющим суффиксом). Префикс — chore/ (разрешённые: feature/ bugfix/ hotfix/ chore/ docs/). Тип коммита в конце — build:.

Шаг 2. Собрать список доступных обновлений

Запустить вспомогательный скрипт (обходит все content/**/*.csproj, тянет последние stable-версии с nuget.org, классифицирует bump):

bash
pwsh -File .claude/skills/nuget-update/scripts/check-nuget-updates.ps1

Скрипт печатает таблицу: Package | Current | Latest | Bump (major/minor/patch) | Projects.

Шаг 3. Согласовать объём

  • patch + minor — применяем по умолчанию, без вопросов.
  • major — по каждому major-скачку кратко описать риск (breaking changes, смена TFM) и спросить подтверждение отдельно. Прецедент: Calabonga.AspNetCore.AppDefinitions 4.0.0 → 10.0.0 оказался безопасным (номер версии просто трекает версию .NET; из изменений — перевод на net10.0 и миграция .sln → .slnx, без изменений API).

Шаг 4. Применить

  • Правим .csproj инструментом Edit (он сохраняет CRLF). Не использовать sed -i в Git Bash — он перезапишет файл в LF и даст ложный diff на весь файл. Если нужен пакетный replace из шелла — perl -i -pe 's/\bVersion="X"/Version="Y"/' (сохраняет CRLF).
  • Согласованность: одна и та же версия одного пакета во всех шаблонах, где он встречается (rules → "Изменение общей обвязки применяем во всех подходящих шаблонах").
  • Сохранять атрибуты вроде NoWarn="NU1605" на PackageReference, если они были.
  • Не трогать комментарии ATTENTION!.

Шаг 5. Сборка

Собрать три решения, убедиться что нет новых warning/error:

bash
dotnet build NET10.0/Calabonga.Microservice.Module.Template/content/Calabonga.Microservice.Module.slnx
bash
dotnet build NET10.0/Calabonga.Microservice.IdentityModule.Template/content/Calabonga.Microservice.IdentityModule.slnx
bash
dotnet build NET10.0/Calabonga.AspNetCoreRazorPages.Template/content/Calabonga.AspNetCoreRazorPages.slnx

Известные предсуществующие (НЕ регрессии): CS8601/CS8620 nullable в Logout.cshtml.cs; NU1901 low-severity на транзитивных NuGet.Packaging/NuGet.Protocol через Microsoft.VisualStudio.Web.CodeGeneration.Design.

Show full SKILL.md (229 more words)Show less

Шаг 6. Сквозной тест авторизации (по запросу / для major-обновлений)

Проверяем, что IdentityModule (STS) выдаёт токен, а Module его принимает.

  1. Установить шаблоны и сгенерировать проекты. Имя проекта не должно содержать сегмент Identity — коллизия с базовым типом Identity<Guid> из Domain (CS0118). Пример: DemoAuth.Sts, DemoAuth.Api.
    bash
    dotnet new install ./NET10.0/Calabonga.Microservice.IdentityModule.Template
    dotnet new install ./NET10.0/Calabonga.Microservice.Module.Template
    dotnet new microservice-oidd -n DemoAuth.Sts -o ./scratch/DemoAuth.Sts
    dotnet new microservice     -n DemoAuth.Api -o ./scratch/DemoAuth.Api
  2. Запустить оба (Development, Kestrel): STS на https://localhost:10001, API на https://localhost:20001. Дождаться LISTENING через netstat -ano | grep :10001 / :20001 (фоновый dotnet run может отрапортовать "exit 0", хотя процессы живы).
  3. Получить токен по client_credentials:
    • endpoint POST https://localhost:10001/connect/token
    • client_id=client-id-sts, client_secret=client-secret-sts, grant_type=client_credentials, scope=api
    • OpenIddict pretty-print'ит JSON — парсить токен регуляркой "access_token": *"[^"]+".
  4. Дёрнуть защищённый эндпоинт API без токена → ждём 401 + JSON {error, error_description}.
  5. Тот же запрос с Authorization: Bearer <token> → ждём 200 + seed-данные.
    • URL: GET https://localhost:20001/api/event-items/paged/0 (именно этот путь защищён; MapPut — нет).
  6. Токен должен быть RS256 JWT с iss: https://localhost:10001/, client_id: client-id-sts, scope: api.
  7. Погасить процессы, удалить ./scratch, dotnet new uninstall оба шаблона.

Шаг 7. Коммит и PR

  • Один атомарный коммит: build: обновление NuGet-пакетов в шаблонах NET10.0 с таблицей версий в теле.
  • Завершать сообщение коммита строкой Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>.
  • PR (по запросу): тело с таблицей версий и чек-листом проверки, завершать 🤖 Generated with [Claude Code](https://claude.com/claude-code).
  • Перед коммитом проверить git diff --stat — только .csproj в content/, только числа версий, никаких *.Domain, никаких EOL-warning.

© Calabonga, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in .claude/skills/nuget-update of Calabonga/Microservice-Template.

  • SKILL.md
  • scripts/check-nuget-updates.ps1

Open the folder on GitHubat commit 33ef0ab

Compare with similar skills

Nuget Update next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nuget Update compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nuget Update this skillCalabonga/Microservice-Template287—~1.4kAutomated safety check: PassMIT
Minimal APIsmanagedcode/dotnet-skills486—~2.3kAutomated safety check: PassMIT
Review Changesmicrobus-io/fabric172—~1.8kAutomated safety check: PassApache-2.0
Node Backend Development Guidelinesdiet103/claude-code-infrastructure-showcase10k2 repos~2kAutomated safety check: PassMIT
Nodejs Backend Patternsever-works/ever-works16218 repos~4kAutomated safety check: PassAGPL-3.0
Arcgis To Portaljsdatopian/portaljs2.4k1 repos~2kAutomated safety check: PassMIT

Similar skills

  • Minimal APIs

    managedcode/dotnet-skills

    Design and implement Minimal APIs in ASP.NET Core using handler-first endpoints, route groups, filters, and lightweight composition suited to modern .NET services.

    486 GitHub stars~2.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Review Changes

    microbus-io/fabric

    Reviews the microservices touched by a set of changes - by default the whole current feature branch versus its merge-base with main, plus any uncommitted work.

    172 GitHub stars~1.8k tokensUpdated 11 days ago
    Backend & APIsAuto-check passed
  • Node Backend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.

    10k GitHub starsUsed in 2 repos~2k tokens
    Backend & APIsAuto-check passed
  • Nodejs Backend Patterns

    ever-works/ever-works

    Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.

    162 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed
  • Arcgis To Portaljs

    datopian/portaljs

    Migrate a whole ArcGIS Hub site into a PortalJS Arc portal end-to-end.

    2.4k GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed
  • AWS Serverless Eda

    zxkane/aws-skills

    AWS serverless and event-driven architecture expert based on Well-Architected Framework.

    367 GitHub starsUsed in 4 repos~3.2k tokens
    Backend & APIsAuto-check passed

Works with

Categories

Questions about Nuget Update

What does Nuget Update do?

Проверить и обновить версии NuGet-пакетов в активных шаблонах NET10.0 (Module, IdentityModule, RazorPages). Nuget Update is an agent skill from Calabonga/Microservice-Template.0 (Module, IdentityModule, RazorPages).

When should I use Nuget Update?

Nuget Update fits situations like: tasks that involve Microservices.

How do I install Nuget Update in Claude Code?

Run `npx skills add Calabonga/Microservice-Template --skill nuget-update -a claude-code`. Or copy the skill folder (.claude/skills/nuget-update in Calabonga/Microservice-Template) into .claude/skills/nuget-update in your project. Claude Code loads it when a task matches its description.

How do I install Nuget Update in Codex?

Run `npx skills add Calabonga/Microservice-Template --skill nuget-update -a codex`. Or copy the skill folder (.claude/skills/nuget-update in Calabonga/Microservice-Template) into .agents/skills/nuget-update in your project. Codex loads it when a task matches its description.

Can I use Nuget Update in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Calabonga/Microservice-Template --skill nuget-update -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nuget-update, .gemini/skills/nuget-update, .github/skills/nuget-update and .opencode/skills/nuget-update in your project.

What does Nuget Update need to run?

Going by SKILL.md and its folder, Nuget Update needs PowerShell for the scripts in its folder and the command-line tools its instructions call (dotnet, git and pwsh). Our summary lists: PowerShell.

Does Nuget Update access the network?

SKILL.md names 1 domain. In commands or code: claude.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Nuget Update safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Nuget Update use?

Nuget Update is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nuget Update use?

About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Nuget Update?

Skills that share tags, products or a category with Nuget Update: Minimal APIs (managedcode/dotnet-skills, 486 stars), Review Changes (microbus-io/fabric, 172 stars), Node Backend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars) and Nodejs Backend Patterns (ever-works/ever-works, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nuget Update?

Calabonga (a GitHub user) maintains it in Calabonga/Microservice-Template, which has 287 GitHub stars. The repository was last updated on October 6, 2026.

Source: Calabonga/Microservice-Template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.