dotnet-upgrade
Use only when the user explicitly invokes dotnet-upgrade to research, plan, execute, or verify a .NET version upgrade.
- License 许可
- MIT
- 所属仓库
- japurcell/skills
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- dotnet-upgrade
- description
- Use only when the user explicitly invokes dotnet-upgrade to research, plan, execute, or verify a .NET version upgrade.
- compatibility
- Requires the .NET SDK for build, restore, and test verification; research and planning can proceed without it.
- disable-model-invocation
- true
02 资源文件 48
- 参考文档agents/openai.yaml43 B
- 资产文件assets/templates/candidate-lessons.md3.0 KB
- 资产文件assets/templates/compatibility-matrix.md3.0 KB
- 资产文件assets/templates/execplan.md9.3 KB
- 资产文件assets/templates/inventory.md5.4 KB
- 资产文件assets/templates/stage-evidence.md6.8 KB
- 参考文档evals/evals.json7.2 KB
- 参考文档evals/README.md8.0 KB
- 参考文档README.md463 B
- 参考文档references/authoring-validation.md2.1 KB
- 参考文档references/case-studies/workplan-reports.md18.4 KB
- 参考文档references/client-usage.md8.4 KB
- 参考文档references/lessons.md8.9 KB
- 参考文档references/official-sources.md6.2 KB
- 参考文档references/playbook.md7.9 KB
- 参考文档references/provenance/original-prompt.md1.9 KB
- 参考文档references/provenance/source-map.json194.8 KB
- 参考文档references/routes/net8-to-net10/dependency-compatibility/compatibility-matrix.md13.5 KB
- 参考文档references/routes/net8-to-net10/dependency-compatibility/official-package-evidence.md10.0 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/aspnet-core.md4.0 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/containers.md1.7 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/core-libraries.md4.9 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/cryptography.md2.5 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/entity-framework-core.md5.8 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/extensions.md1.9 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/globalization.md680 B
- 参考文档references/routes/net8-to-net10/dotnet-10/index.md2.1 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/install-tool.md738 B
- 参考文档references/routes/net8-to-net10/dotnet-10/interop.md1016 B
- 参考文档references/routes/net8-to-net10/dotnet-10/networking.md1.8 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/reflection.md887 B
- 参考文档references/routes/net8-to-net10/dotnet-10/sdk-msbuild.md6.3 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/serialization.md914 B
- 参考文档references/routes/net8-to-net10/dotnet-10/windows-forms.md1.4 KB
- 参考文档references/routes/net8-to-net10/dotnet-10/wpf.md666 B
- 参考文档references/routes/net8-to-net10/dotnet-9/aspnetcore.md4.2 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/containers-deployment.md2.0 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/core-libraries.md5.4 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/cryptography.md1.8 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/csharp-13.md1.4 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/ef-core.md5.9 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/index.md1.9 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/interop-jit.md1.2 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/networking.md2.1 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/sdk-msbuild.md2.5 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/serialization.md1.4 KB
- 参考文档references/routes/net8-to-net10/dotnet-9/windows-forms-wpf.md2.3 KB
- 参考文档references/routes/net8-to-net10/index.md4.7 KB
03 SKILL.md 正文
.NET Upgrade
Guide an explicitly requested version upgrade while preserving business behavior. A route is the starting and destination version pair. The first documented route is .NET 8-to-10; documentation is not proof of successful execution in another project.
Select the scope and load only what is needed
Identify the requested phase: discovery, research, planning, approved execution, or verification. Read the target's agent instructions and engineering rules before acting. A read-only advice request authorizes a response, not file creation. Invocation or an initial upgrade request alone does not approve migration.
Read the general playbook for the selected phase. For .NET 8-to-10, read the route index, then only categories relevant to actual target usage. Assess both .NET 9 and 10 changes even when choosing a direct upgrade. For other routes, stay in discovery/research until route-specific guidance has been researched and reviewed; do not substitute this route.
Load official sources when researching or refreshing evidence, practical lessons when selecting checks or investigating failures, and the case study only for historical context. Original paths are provenance, not required checkouts. Reassess historical not-applicable conclusions, package choices and accepted risks for this target.
Use compatible dotnet and official-sources skills when available. Their absence does not block this bundled procedure or its templates. Do not automatically invoke code-modernization. Client discovery and invocation caveats belong in client usage; load it only for client or optional installation questions. Upgrade execution does not require this bundle's README or evaluation assets.
Follow the requested phase
- Discover and baseline. Inspect actual projects, targets, SDK selection/build settings, packages and transitive dependencies, tools, host entry points, databases, frontend publishing, images and external owners. Use the inventory template only when target document writes are authorized. Derive baseline commands from the target's scripts, CI and test conventions; record revision, environment, selected versions and actual results. Do not guess a generic test command or mutate shared resources.
- Research and decide. Refresh necessary primary sources for the target versions, support policy, crossed-version breaking changes, migration guides and package constraints. Record exact URLs, retrieval dates, relevant version and target usage in the compatibility matrix. Keep authoritative evidence separate from inference and observed results. Choose stages deliberately; an intermediate local checkpoint need not be a production deployment. Offline work may produce marked drafts with dated sources and unknowns, not execution authority.
- Plan and obtain approval. Respect the target's existing plan format/location; otherwise use
docs/dotnet-upgrade/<route>/, initiallynet8-to-net10. The standalone plan template includes concrete scope, dependency strategy, stages, commands, checks, rollback and owner boundaries. Before migration edits, require approval of that concrete plan and refreshed necessary evidence. If either is missing, report the missing gate and stop at permitted advice/research/planning. Material scope, dependency strategy, staging, risk or owner changes require revised evidence and renewed approval. - Execute within the approved boundary. Follow real target commands and engineering rules in staged, reviewable changes. Preserve observable business behavior, public contracts and data semantics. Test affected behavior using existing tools; compilation alone does not prove startup, authentication, provider persistence, executed database migration, timezone behavior, published assets or deployment. Use isolated disposable resources, bounded readiness and owned-process cleanup. Never suppress errors, weaken failing tests, infer success from fallbacks, or copy accepted security exceptions without target-owner decisions.
- Verify and report. Use stage evidence to record each revision's selected SDK/packages, dated commands/environment, actual results, failures and deferred owners. Keep earlier evidence tied to its revision; repeat affected checks after later changes. Report local readiness and deployment readiness separately. Deferral never turns a gate green. Recovery follows the approved plan, not an assumed safe database downgrade.
- Capture lessons without shared mutation. Use candidate lessons in the target project. Record applicability, evidence limits and proposed source destination. Obtain explicit approval before updating authoritative skill source; never silently modify installed copies or the personal skills repository.
Report the next gate honestly
State the requested phase, route, evidence freshness, concrete-plan approval status, observed results, unresolved gates and owners. Label offline drafts and unverified claims. Historical versions and security decisions are not defaults. Local completion is not deployment completion, document review is not runtime testing, and invocation metadata is not universal client enforcement.
Evaluation and authoring checks
For changes to this bundle's documents, provenance, or evaluation scenarios, read authoring validation. It defines document-only acceptance, evidence limits, and separate authorization for live evaluations, benchmarks, or trial upgrades.
04 同仓库更多 Skills
spec-create
Create or revise a portable behavioral SPEC for a feature or whole product. Use when specifying a new idea, documenting an existing system for reimplementation, or defining a change while preserving compatibility. Implementation planning is a separate task.
prd-ralph
Complete at most one eligible unfinished PRD task, verify it, log progress, and optionally create one scoped commit.
fsdp-style-guide
Mandatory for all UI/UX design, implementation, review, audit, or visual regression tasks. Always use for any work that affects user-facing appearance, behavior, accessibility, branding, layout, navigation, forms, dialogs, alerts, tables, or visual design.
agency-priorities
Provide self-contained USDA strategic goals and Forest Service priorities for agency briefings, proposals, and work-plan alignment. Use when explaining agency direction or evaluating how a project contributes to USDA and Forest Service priorities.
accomplishment-report
Create a concise Forest Service executive accomplishment report when all work in an ExecPlan is completed, or update its existing report. Use at ExecPlan closeout and when asked to report completed work, agency alignment, and estimated AI-assisted versus human-only time and cost savings.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.