AGENT SKILL

Fabrikam 包 v4 升级审计

fabrikam-package-audit

审计 .NET 项目中 Fabrikam 包引用的 v4 就绪度——找出 v3 时代的 Fabrikam.* 包,标记出在 v4 中被重命名、提升版本或移除的包,并给出逐包的升级计划。适用于审查 .csproj、Directory.Packages.props 或 packages.config 时使用。

License 许可
MIT
最近更新
2026-10-24
Stars
★ 0
Forks
0

01 前言 Front Matter

name
fabrikam-package-audit
metadata
{ "traits": ".NET|CSharp|VisualBasic|DotNetCore", "discovery": "lazy", "importance": "medium" }
description
Audit a .NET project's Fabrikam package references for v4 readiness — find v3-era Fabrikam.* packages, flag the ones that are renamed, version-bumped, or removed in v4, and report a per-package upgrade plan. Use when reviewing .csproj, Directory.Packages.props, or packages.config.
requires-extension
upgrade-fabrikam

03 SKILL.md 正文

Fabrikam package audit

On-demand guidance for reviewing a solution's Fabrikam package set before or during a v4 migration.

Steps

  1. Locate the package declarations: .csproj <PackageReference> items, a central Directory.Packages.props, or legacy packages.config.
  2. Call detect_fabrikam_packages to list every Fabrikam.* reference and its current version, then plan_package_migration for the v4 target of each.
  3. For each flagged package:
    • Renamed (e.g. Fabrikam.Logging → Fabrikam.Diagnostics) — remove the old reference, add the new one, and update namespaces.
    • Version-bumped (e.g. Fabrikam.Data 3.x → 4.0) — bump the version and review the breaking-change notes (async-only API in v4).
    • Removed (e.g. Fabrikam.Json) — delete the reference and migrate callers to the recommended successor (System.Text.Json).
  4. Summarize required changes and propose an ordered plan (shared/leaf projects first, then the apps that depend on them).

This skill is lazy: it loads only when the agent matches a package-review task, keeping it out of the context window otherwise.

04 同仓库更多 Skills

microsoft
microsoft/upgrade-agent-samples

Fabrikam 组件 v4 升级迁移

fabrikam-v4-upgrade

将 .NET 解决方案从 Fabrikam v3 组件套件迁移到 v4——应用包重命名(Fabrikam.Web.Mvc → Fabrikam.AspNetCore.Mvc、Fabrikam.Logging → Fabrikam.Diagnostics、Fabrikam.Security.Tokens → Fabrikam.Identity.Tokens),将 Fabrikam.Data 升级至 4.0,并弃用 Fabrikam.Json 改用 System.Text.Json。

软件开发工程师.NET 依赖升级与迁移
★ 0
microsoft
microsoft/upgrade-agent-samples

Fabrikam 包依赖审计

fabrikam-package-audit

审计 .NET 项目中 Fabrikam 包引用是否已为 v4 做好准备——找出 v3 时代的 Fabrikam.* 包,标记出在 v4 中被重命名、升级版本或移除的包,并给出逐个包的升级计划。在审查 .csproj、Directory.Packages.props 或 packages.config 时使用。

软件开发工程师.NET 依赖升级与迁移
★ 0
microsoft
microsoft/upgrade-agent-samples

Fabrikam 控件升级规则

fabrikam-controls-rules

Fabrikam UI 控件在 .NET 版本升级期间适用的规则——哪些 Fabrikam.Windows.Forms 版本受现代 .NET 支持、哪些必须替换而非仅重定向目标框架,以及如何记录该决策。

软件开发工程师.NET 依赖升级与迁移
★ 0
microsoft
microsoft/upgrade-agent-samples

Fabrikam 组件 v4 升级迁移

fabrikam-v4-upgrade

将 .NET 解决方案从 Fabrikam v3 组件套件迁移到 v4——执行包重命名(Fabrikam.Web.Mvc → Fabrikam.AspNetCore.Mvc、Fabrikam.Logging → Fabrikam.Diagnostics、Fabrikam.Security.Tokens → Fabrikam.Identity.Tokens),将 Fabrikam.Data 升级到 4.0,并弃用 Fabrikam.Json 改用 System.Text.Json。

软件开发工程师.NET 依赖升级与迁移
★ 0
microsoft
microsoft/upgrade-agent-samples

Fabrikam控件升级规则

fabrikam-controls-rules

在 .NET 版本升级期间适用的 Fabrikam UI 控件规则——哪些 Fabrikam.Windows.Forms 版本在现代 .NET 上受支持,哪些必须替换而非重新定向(retarget),以及如何记录该决策。

软件开发工程师开发参考
★ 0