[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CVC90KF2HT1WB6B7EZ8DR2":3,"skill-same:01M7CVC90KF2HT1WB6B7EZ8DR2":88},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CVC90KF2HT1WB6B7EZ8DR2","migrate-dotnet8-to-dotnet9",null,"Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 \u002F C# 13 \u002F ASP.NET Core 9 \u002F EF Core 9, replacing BinaryFormatter (now always throws), resolving SYSLIB0054-SYSLIB0057, adapting to params span overload resolution, fixing C# 13 compiler changes, updating HttpClientFactory for SocketsHttpHandler, and resolving EF Core 9 migration\u002FCosmos DB changes. DO NOT USE FOR: .NET Framework migrations, upgrading from .NET 7 or earlier, greenfield .NET 9 projects, or cosmetic modernization unrelated to the upgrade.","deadmade\u002Fdead-agent-skills","deadmade","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130925709?v=4","01M7CTQ65AGYR4J9K9TX0YR9V3","01M7CTQ66B4VMJFEDZP4EKKE6K",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: migrate-dotnet8-to-dotnet9\ndescription: >\n  Migrate a .NET 8 project to .NET 9 and resolve all breaking changes.\n  USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors\n  after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 \u002F C# 13 \u002F\n  ASP.NET Core 9 \u002F EF Core 9, replacing BinaryFormatter (now always throws),\n  resolving SYSLIB0054-SYSLIB0057, adapting to params span overload resolution,\n  fixing C# 13 compiler changes, updating HttpClientFactory for SocketsHttpHandler,\n  and resolving EF Core 9 migration\u002FCosmos DB changes.\n  DO NOT USE FOR: .NET Framework migrations, upgrading from .NET 7 or earlier,\n  greenfield .NET 9 projects, or cosmetic modernization unrelated to the upgrade.\nlicense: MIT\n---\n\n# .NET 8 → .NET 9 Migration\n\nMigrate a .NET 8 project or solution to .NET 9, systematically resolving all breaking changes. The outcome is a project targeting `net9.0` that builds cleanly, passes tests, and accounts for every behavioral, source-incompatible, and binary-incompatible change introduced in the .NET 9 release.\n\n## When to Use\n\n- Upgrading `TargetFramework` from `net8.0` to `net9.0`\n- Resolving build errors or new warnings after updating the .NET 9 SDK\n- Adapting to behavioral changes in .NET 9 runtime, ASP.NET Core 9, or EF Core 9\n- Replacing `BinaryFormatter` usage (now always throws at runtime)\n- Updating CI\u002FCD pipelines, Dockerfiles, or deployment scripts for .NET 9\n\n## When Not to Use\n\n- The project already targets `net9.0` and builds cleanly — migration is done. If the goal is to reach `net10.0`, use the `migrate-dotnet9-to-dotnet10` skill as the next step.\n- Upgrading from .NET 7 or earlier — address the prior version breaking changes first\n- Migrating from .NET Framework — that is a separate, larger effort\n- Greenfield projects that start on .NET 9 (no migration needed)\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Project or solution path | Yes | The `.csproj`, `.sln`, or `.slnx` entry point to migrate |\n| Build command | No | How to build (e.g., `dotnet build`, a repo build script). Auto-detect if not provided |\n| Test command | No | How to run tests (e.g., `dotnet test`). Auto-detect if not provided |\n| Project type hints | No | Whether the project uses ASP.NET Core, EF Core, WinForms, WPF, containers, etc. Auto-detect from PackageReferences and SDK attributes if not provided |\n\n## Workflow\n\n> **Answer directly from the loaded reference documents.** Do not search the filesystem or fetch web pages for breaking change information — the references contain the authoritative details. Focus on identifying which breaking changes apply and providing concrete fixes.\n>\n> **Commit strategy:** Commit at each logical boundary — after updating the TFM (Step 2), after resolving build errors (Step 3), after addressing behavioral changes (Step 4), and after updating infrastructure (Step 5). This keeps each commit focused and reviewable.\n\n### Step 1: Assess the project\n\n1. Identify how the project is built and tested. Look for build scripts, `.sln`\u002F`.slnx` files, or individual `.csproj` files.\n2. Run `dotnet --version` to confirm the .NET 9 SDK is installed. If it is not, stop and inform the user.\n3. Determine which technology areas the project uses by examining:\n   - **SDK attribute**: `Microsoft.NET.Sdk.Web` → ASP.NET Core; `Microsoft.NET.Sdk.WindowsDesktop` with `\u003CUseWPF>` or `\u003CUseWindowsForms>` → WPF\u002FWinForms\n   - **PackageReferences**: `Microsoft.EntityFrameworkCore.*` → EF Core; `Microsoft.Extensions.Http` → HttpClientFactory\n   - **Dockerfile presence** → Container changes relevant\n   - **P\u002FInvoke or native interop usage** → Interop changes relevant\n   - **`BinaryFormatter` usage** → Serialization migration needed\n   - **`System.Text.Json` usage** → Serialization changes relevant\n   - **X509Certificate constructors** → Cryptography changes relevant\n4. Record which reference documents are relevant (see the reference loading table in Step 3).\n5. Do a **clean build** (`dotnet build --no-incremental` or delete `bin`\u002F`obj`) on the current `net8.0` target to establish a clean baseline. Record any pre-existing warnings.\n\n### Step 2: Update the Target Framework\n\n1. In each `.csproj` (or `Directory.Build.props` if centralized), change:\n   ```xml\n   \u003CTargetFramework>net8.0\u003C\u002FTargetFramework>\n   ```\n   to:\n   ```xml\n   \u003CTargetFramework>net9.0\u003C\u002FTargetFramework>\n   ```\n   For multi-targeted projects, add `net9.0` to `\u003CTargetFrameworks>` or replace `net8.0`.\n\n2. Update all `Microsoft.Extensions.*`, `Microsoft.AspNetCore.*`, `Microsoft.EntityFrameworkCore.*`, and other Microsoft package references to their 9.0.x versions. If using Central Package Management (`Directory.Packages.props`), update versions there.\n\n3. Run `dotnet restore`. Watch for:\n   - **Version requirements**: .NET 9 SDK requires Visual Studio 17.12+ to target `net9.0` (17.11 for `net8.0` and earlier).\n   - **New warnings for .NET Standard 1.x** and **.NET 7 targets** — consider updating or removing outdated target frameworks.\n\n4. Run a clean build. Collect all errors and new warnings. These will be addressed in Step 3.\n\n### Step 3: Resolve build errors and source-incompatible changes\n\nWork through compilation errors and new warnings systematically. Load the appropriate reference documents based on the project type:\n\n| If the project uses… | Load reference |\n|-----------------------|----------------|\n| Any .NET 9 project | `references\u002Fcsharp-compiler-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fcore-libraries-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fsdk-msbuild-dotnet8to9.md` |\n| ASP.NET Core | `references\u002Faspnet-core-dotnet8to9.md` |\n| Entity Framework Core | `references\u002Fefcore-dotnet8to9.md` |\n| Cryptography APIs | `references\u002Fcryptography-dotnet8to9.md` |\n| System.Text.Json, HttpClient, networking | `references\u002Fserialization-networking-dotnet8to9.md` |\n| Windows Forms or WPF | `references\u002Fwinforms-wpf-dotnet8to9.md` |\n| Docker containers, native interop | `references\u002Fcontainers-interop-dotnet8to9.md` |\n| Runtime configuration, deployment | `references\u002Fdeployment-runtime-dotnet8to9.md` |\n\n**Common source-incompatible changes to check for:**\n\n1. **`params` span overload resolution** — New `params ReadOnlySpan\u003CT>` overloads on `String.Join`, `String.Concat`, `Path.Combine`, `Task.WhenAll`, and many more now bind preferentially. Code calling these methods inside `Expression` lambdas will fail (CS8640\u002FCS9226). See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n2. **`StringValues` ambiguous overload** — The `params Span\u003CT>` feature creates ambiguity with `StringValues` implicit operators on methods like `String.Concat`, `String.Join`, `Path.Combine`. Fix by explicitly casting arguments. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n3. **New obsoletion warnings (SYSLIB0054–SYSLIB0057)**:\n   - `SYSLIB0054`: Replace `Thread.VolatileRead`\u002F`VolatileWrite` with `Volatile.Read`\u002F`Volatile.Write`\n   - `SYSLIB0057`: Replace `X509Certificate2`\u002F`X509Certificate` binary\u002Ffile constructors with `X509CertificateLoader` methods\n   - Also `SYSLIB0055` (ARM AdvSimd signed overloads) and `SYSLIB0056` (Assembly.LoadFrom with hash algorithm) — see `references\u002Fcore-libraries-dotnet8to9.md`\n\n4. **C# 13 `InlineArray` on record structs** — `[InlineArray]` attribute on `record struct` types is now disallowed (CS9259). Change to a regular `struct`. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n5. **C# 13 iterator safe context** — Iterators now introduce a safe context in C# 13. Local functions inside iterators that used unsafe code inherited from an outer `unsafe` class will now error. Add `unsafe` modifier to the local function. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n6. **C# 13 collection expression overload resolution** — Empty collection expressions (`[]`) no longer use span vs non-span to tiebreak overloads. Exact element type is now preferred. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n7. **`String.Trim(params ReadOnlySpan\u003Cchar>)` removed** — Code compiled against .NET 9 previews that passes `ReadOnlySpan\u003Cchar>` to `Trim`\u002F`TrimStart`\u002F`TrimEnd` must rebuild; the overload was removed in GA. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n8. **`BinaryFormatter` always throws** — If the project uses `BinaryFormatter`, **stop and inform the user** — this is a major decision. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n9. **`HttpListenerRequest.UserAgent` is nullable** — The property is now `string?`. Add null checks. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n10. **Windows Forms nullability annotation changes** — Some WinForms API parameters changed from nullable to non-nullable. Update call sites. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\n11. **Windows Forms security analyzers (WFO1000)** — New analyzers produce errors for properties without explicit serialization configuration. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\nBuild again after each batch of fixes. Repeat until the build is clean.\n\n### Step 4: Address behavioral changes\n\nBehavioral changes do not cause build errors but may change runtime behavior. Review each applicable item and determine whether the previous behavior was relied upon.\n\n**High-impact behavioral changes (check first):**\n\n1. **Floating-point to integer conversions are now saturating** — Conversions from `float`\u002F`double` to integer types now saturate instead of wrapping on x86\u002Fx64. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n2. **EF Core: Pending model changes exception** — `Migrate()`\u002F`MigrateAsync()` now throws if the model has pending changes. **Search for `DateTime.Now`, `DateTime.UtcNow`, or `Guid.NewGuid()` in any `HasData` call — these must be replaced with fixed constants** (e.g., `new DateTime(2024, 1, 1, 0, 0, 0, DateTimeKind.Utc)`). See `references\u002Fefcore-dotnet8to9.md`.\n\n3. **EF Core: Explicit transaction exception** — `Migrate()` inside a user transaction now throws. See `references\u002Fefcore-dotnet8to9.md`.\n\n4. **HttpClientFactory uses `SocketsHttpHandler` by default** — Code that casts the primary handler to `HttpClientHandler` will get `InvalidCastException`. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n5. **HttpClientFactory header redaction by default** — All header values in `Trace`-level logs are now redacted. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n6. **Environment variables take precedence over runtimeconfig.json** — Runtime configuration settings from environment variables now override `runtimeconfig.json`. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n7. **ASP.NET Core `ValidateOnBuild`\u002F`ValidateScopes` in development** — `HostBuilder` now enables DI validation in development by default. See `references\u002Faspnet-core-dotnet8to9.md`.\n\n**Other behavioral changes to review (may cause runtime exceptions ⚠️ or subtle behavioral differences):**\n\n- ⚠️ `FromKeyedServicesAttribute` no longer injects non-keyed service fallback — throws `InvalidOperationException`\n- ⚠️ Container images no longer install zlib — apps depending on system zlib will fail\n- ⚠️ Intel CET is now enabled by default — non-CET-compatible native libraries may cause process termination\n- `BigInteger` now has a maximum length of `(2^31) - 1` bits\n- `JsonDocument` deserialization of JSON `null` now returns non-null `JsonDocument` with `JsonValueKind.Null` instead of C# `null`\n- `System.Text.Json` metadata reader now unescapes metadata property names\n- `ZipArchiveEntry` names\u002Fcomments now respect the UTF-8 flag\n- `IncrementingPollingCounter` initial callback is now asynchronous\n- `InMemoryDirectoryInfo` prepends rootDir to files\n- `RuntimeHelpers.GetSubArray` returns a different type\n- `PictureBox` raises `HttpRequestException` instead of `WebException`\n- `StatusStrip` uses a different default renderer\n- `IMsoComponent` support is opt-in\n- `SafeEvpPKeyHandle.DuplicateHandle` up-refs the handle\n- `HttpClient` metrics report `server.port` unconditionally\n- URI query strings redacted in HttpClient EventSource events and IHttpClientFactory logs\n- `dotnet watch` is incompatible with Hot Reload for old frameworks\n- WPF `GetXmlNamespaceMaps` returns `Hashtable` instead of `String`\n\n### Step 5: Update infrastructure\n\n1. **Dockerfiles**: Update base images. Note that .NET 9 container images no longer install zlib. If your app depends on zlib, add `RUN apt-get update && apt-get install -y zlib1g` to your Dockerfile.\n   ```dockerfile\n   # Before\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:8.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:8.0\n   # After\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:9.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:9.0\n   ```\n\n2. **CI\u002FCD pipelines**: Update SDK version references. If using `global.json`, update:\n   ```json\n   {\n     \"sdk\": {\n       \"version\": \"9.0.100\",\n       \"rollForward\": \"latestFeature\"\n     }\n   }\n   ```\n   Review the `rollForward` policy — if set to `\"disable\"` or `\"latestPatch\"`, the SDK may not resolve correctly after upgrading. `\"latestFeature\"` (recommended) allows the SDK to roll forward to the latest 9.0.x feature band.\n\n3. **Visual Studio version**: .NET 9 SDK requires VS 17.12+ to target `net9.0`. VS 17.11 can only target `net8.0` and earlier.\n\n4. **Terminal Logger**: `dotnet build` now uses Terminal Logger by default in interactive terminals. CI scripts that parse MSBuild console output may need `--tl:off` or `MSBUILDTERMINALLOGGER=off`.\n\n5. **`dotnet workload` output**: Output format has changed. Update any scripts that parse workload command output.\n\n6. **.NET Monitor images**: Tags simplified to version-only (affects container orchestration referencing specific tags).\n\n### Step 6: Verify\n\n1. Run a full clean build: `dotnet build --no-incremental`\n2. Run all tests: `dotnet test`\n3. If the application is containerized, build and test the container image\n4. Smoke-test the application, paying special attention to:\n   - BinaryFormatter usage (will throw at runtime)\n   - Floating-point to integer conversion behavior\n   - EF Core migration application\n   - HttpClientFactory handler casting and logging\n   - DI validation in development environment\n   - Runtime configuration settings (environment variable precedence)\n5. Review the diff and ensure no unintended behavioral changes were introduced\n\n## Reference Documents\n\nThe `references\u002F` folder contains detailed breaking change information organized by technology area. Load only the references relevant to the project being migrated:\n\n| Reference file | When to load |\n|----------------|-------------|\n| `references\u002Fcsharp-compiler-dotnet8to9.md` | Always (C# 13 compiler breaking changes — InlineArray on records, iterator safe context, collection expression overloads) |\n| `references\u002Fcore-libraries-dotnet8to9.md` | Always (applies to all .NET 9 projects) |\n| `references\u002Fsdk-msbuild-dotnet8to9.md` | Always (SDK and build tooling changes) |\n| `references\u002Faspnet-core-dotnet8to9.md` | Project uses ASP.NET Core |\n| `references\u002Fefcore-dotnet8to9.md` | Project uses Entity Framework Core |\n| `references\u002Fcryptography-dotnet8to9.md` | Project uses System.Security.Cryptography or X.509 certificates |\n| `references\u002Fserialization-networking-dotnet8to9.md` | Project uses BinaryFormatter, System.Text.Json, HttpClient, or networking APIs |\n| `references\u002Fwinforms-wpf-dotnet8to9.md` | Project uses Windows Forms or WPF |\n| `references\u002Fcontainers-interop-dotnet8to9.md` | Project uses Docker containers or native interop (P\u002FInvoke) |\n| `references\u002Fdeployment-runtime-dotnet8to9.md` | Project uses runtime configuration, deployment, or has floating-point to integer conversions |\n","# .NET 8 → .NET 9 Migration\n\nMigrate a .NET 8 project or solution to .NET 9, systematically resolving all breaking changes. The outcome is a project targeting `net9.0` that builds cleanly, passes tests, and accounts for every behavioral, source-incompatible, and binary-incompatible change introduced in the .NET 9 release.\n\n## When to Use\n\n- Upgrading `TargetFramework` from `net8.0` to `net9.0`\n- Resolving build errors or new warnings after updating the .NET 9 SDK\n- Adapting to behavioral changes in .NET 9 runtime, ASP.NET Core 9, or EF Core 9\n- Replacing `BinaryFormatter` usage (now always throws at runtime)\n- Updating CI\u002FCD pipelines, Dockerfiles, or deployment scripts for .NET 9\n\n## When Not to Use\n\n- The project already targets `net9.0` and builds cleanly — migration is done. If the goal is to reach `net10.0`, use the `migrate-dotnet9-to-dotnet10` skill as the next step.\n- Upgrading from .NET 7 or earlier — address the prior version breaking changes first\n- Migrating from .NET Framework — that is a separate, larger effort\n- Greenfield projects that start on .NET 9 (no migration needed)\n\n## Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Project or solution path | Yes | The `.csproj`, `.sln`, or `.slnx` entry point to migrate |\n| Build command | No | How to build (e.g., `dotnet build`, a repo build script). Auto-detect if not provided |\n| Test command | No | How to run tests (e.g., `dotnet test`). Auto-detect if not provided |\n| Project type hints | No | Whether the project uses ASP.NET Core, EF Core, WinForms, WPF, containers, etc. Auto-detect from PackageReferences and SDK attributes if not provided |\n\n## Workflow\n\n> **Answer directly from the loaded reference documents.** Do not search the filesystem or fetch web pages for breaking change information — the references contain the authoritative details. Focus on identifying which breaking changes apply and providing concrete fixes.\n>\n> **Commit strategy:** Commit at each logical boundary — after updating the TFM (Step 2), after resolving build errors (Step 3), after addressing behavioral changes (Step 4), and after updating infrastructure (Step 5). This keeps each commit focused and reviewable.\n\n### Step 1: Assess the project\n\n1. Identify how the project is built and tested. Look for build scripts, `.sln`\u002F`.slnx` files, or individual `.csproj` files.\n2. Run `dotnet --version` to confirm the .NET 9 SDK is installed. If it is not, stop and inform the user.\n3. Determine which technology areas the project uses by examining:\n   - **SDK attribute**: `Microsoft.NET.Sdk.Web` → ASP.NET Core; `Microsoft.NET.Sdk.WindowsDesktop` with `\u003CUseWPF>` or `\u003CUseWindowsForms>` → WPF\u002FWinForms\n   - **PackageReferences**: `Microsoft.EntityFrameworkCore.*` → EF Core; `Microsoft.Extensions.Http` → HttpClientFactory\n   - **Dockerfile presence** → Container changes relevant\n   - **P\u002FInvoke or native interop usage** → Interop changes relevant\n   - **`BinaryFormatter` usage** → Serialization migration needed\n   - **`System.Text.Json` usage** → Serialization changes relevant\n   - **X509Certificate constructors** → Cryptography changes relevant\n4. Record which reference documents are relevant (see the reference loading table in Step 3).\n5. Do a **clean build** (`dotnet build --no-incremental` or delete `bin`\u002F`obj`) on the current `net8.0` target to establish a clean baseline. Record any pre-existing warnings.\n\n### Step 2: Update the Target Framework\n\n1. In each `.csproj` (or `Directory.Build.props` if centralized), change:\n   ```xml\n   \u003CTargetFramework>net8.0\u003C\u002FTargetFramework>\n   ```\n   to:\n   ```xml\n   \u003CTargetFramework>net9.0\u003C\u002FTargetFramework>\n   ```\n   For multi-targeted projects, add `net9.0` to `\u003CTargetFrameworks>` or replace `net8.0`.\n\n2. Update all `Microsoft.Extensions.*`, `Microsoft.AspNetCore.*`, `Microsoft.EntityFrameworkCore.*`, and other Microsoft package references to their 9.0.x versions. If using Central Package Management (`Directory.Packages.props`), update versions there.\n\n3. Run `dotnet restore`. Watch for:\n   - **Version requirements**: .NET 9 SDK requires Visual Studio 17.12+ to target `net9.0` (17.11 for `net8.0` and earlier).\n   - **New warnings for .NET Standard 1.x** and **.NET 7 targets** — consider updating or removing outdated target frameworks.\n\n4. Run a clean build. Collect all errors and new warnings. These will be addressed in Step 3.\n\n### Step 3: Resolve build errors and source-incompatible changes\n\nWork through compilation errors and new warnings systematically. Load the appropriate reference documents based on the project type:\n\n| If the project uses… | Load reference |\n|-----------------------|----------------|\n| Any .NET 9 project | `references\u002Fcsharp-compiler-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fcore-libraries-dotnet8to9.md` |\n| Any .NET 9 project | `references\u002Fsdk-msbuild-dotnet8to9.md` |\n| ASP.NET Core | `references\u002Faspnet-core-dotnet8to9.md` |\n| Entity Framework Core | `references\u002Fefcore-dotnet8to9.md` |\n| Cryptography APIs | `references\u002Fcryptography-dotnet8to9.md` |\n| System.Text.Json, HttpClient, networking | `references\u002Fserialization-networking-dotnet8to9.md` |\n| Windows Forms or WPF | `references\u002Fwinforms-wpf-dotnet8to9.md` |\n| Docker containers, native interop | `references\u002Fcontainers-interop-dotnet8to9.md` |\n| Runtime configuration, deployment | `references\u002Fdeployment-runtime-dotnet8to9.md` |\n\n**Common source-incompatible changes to check for:**\n\n1. **`params` span overload resolution** — New `params ReadOnlySpan\u003CT>` overloads on `String.Join`, `String.Concat`, `Path.Combine`, `Task.WhenAll`, and many more now bind preferentially. Code calling these methods inside `Expression` lambdas will fail (CS8640\u002FCS9226). See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n2. **`StringValues` ambiguous overload** — The `params Span\u003CT>` feature creates ambiguity with `StringValues` implicit operators on methods like `String.Concat`, `String.Join`, `Path.Combine`. Fix by explicitly casting arguments. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n3. **New obsoletion warnings (SYSLIB0054–SYSLIB0057)**:\n   - `SYSLIB0054`: Replace `Thread.VolatileRead`\u002F`VolatileWrite` with `Volatile.Read`\u002F`Volatile.Write`\n   - `SYSLIB0057`: Replace `X509Certificate2`\u002F`X509Certificate` binary\u002Ffile constructors with `X509CertificateLoader` methods\n   - Also `SYSLIB0055` (ARM AdvSimd signed overloads) and `SYSLIB0056` (Assembly.LoadFrom with hash algorithm) — see `references\u002Fcore-libraries-dotnet8to9.md`\n\n4. **C# 13 `InlineArray` on record structs** — `[InlineArray]` attribute on `record struct` types is now disallowed (CS9259). Change to a regular `struct`. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n5. **C# 13 iterator safe context** — Iterators now introduce a safe context in C# 13. Local functions inside iterators that used unsafe code inherited from an outer `unsafe` class will now error. Add `unsafe` modifier to the local function. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n6. **C# 13 collection expression overload resolution** — Empty collection expressions (`[]`) no longer use span vs non-span to tiebreak overloads. Exact element type is now preferred. See `references\u002Fcsharp-compiler-dotnet8to9.md`.\n\n7. **`String.Trim(params ReadOnlySpan\u003Cchar>)` removed** — Code compiled against .NET 9 previews that passes `ReadOnlySpan\u003Cchar>` to `Trim`\u002F`TrimStart`\u002F`TrimEnd` must rebuild; the overload was removed in GA. See `references\u002Fcore-libraries-dotnet8to9.md`.\n\n8. **`BinaryFormatter` always throws** — If the project uses `BinaryFormatter`, **stop and inform the user** — this is a major decision. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n9. **`HttpListenerRequest.UserAgent` is nullable** — The property is now `string?`. Add null checks. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n10. **Windows Forms nullability annotation changes** — Some WinForms API parameters changed from nullable to non-nullable. Update call sites. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\n11. **Windows Forms security analyzers (WFO1000)** — New analyzers produce errors for properties without explicit serialization configuration. See `references\u002Fwinforms-wpf-dotnet8to9.md`.\n\nBuild again after each batch of fixes. Repeat until the build is clean.\n\n### Step 4: Address behavioral changes\n\nBehavioral changes do not cause build errors but may change runtime behavior. Review each applicable item and determine whether the previous behavior was relied upon.\n\n**High-impact behavioral changes (check first):**\n\n1. **Floating-point to integer conversions are now saturating** — Conversions from `float`\u002F`double` to integer types now saturate instead of wrapping on x86\u002Fx64. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n2. **EF Core: Pending model changes exception** — `Migrate()`\u002F`MigrateAsync()` now throws if the model has pending changes. **Search for `DateTime.Now`, `DateTime.UtcNow`, or `Guid.NewGuid()` in any `HasData` call — these must be replaced with fixed constants** (e.g., `new DateTime(2024, 1, 1, 0, 0, 0, DateTimeKind.Utc)`). See `references\u002Fefcore-dotnet8to9.md`.\n\n3. **EF Core: Explicit transaction exception** — `Migrate()` inside a user transaction now throws. See `references\u002Fefcore-dotnet8to9.md`.\n\n4. **HttpClientFactory uses `SocketsHttpHandler` by default** — Code that casts the primary handler to `HttpClientHandler` will get `InvalidCastException`. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n5. **HttpClientFactory header redaction by default** — All header values in `Trace`-level logs are now redacted. See `references\u002Fserialization-networking-dotnet8to9.md`.\n\n6. **Environment variables take precedence over runtimeconfig.json** — Runtime configuration settings from environment variables now override `runtimeconfig.json`. See `references\u002Fdeployment-runtime-dotnet8to9.md`.\n\n7. **ASP.NET Core `ValidateOnBuild`\u002F`ValidateScopes` in development** — `HostBuilder` now enables DI validation in development by default. See `references\u002Faspnet-core-dotnet8to9.md`.\n\n**Other behavioral changes to review (may cause runtime exceptions ⚠️ or subtle behavioral differences):**\n\n- ⚠️ `FromKeyedServicesAttribute` no longer injects non-keyed service fallback — throws `InvalidOperationException`\n- ⚠️ Container images no longer install zlib — apps depending on system zlib will fail\n- ⚠️ Intel CET is now enabled by default — non-CET-compatible native libraries may cause process termination\n- `BigInteger` now has a maximum length of `(2^31) - 1` bits\n- `JsonDocument` deserialization of JSON `null` now returns non-null `JsonDocument` with `JsonValueKind.Null` instead of C# `null`\n- `System.Text.Json` metadata reader now unescapes metadata property names\n- `ZipArchiveEntry` names\u002Fcomments now respect the UTF-8 flag\n- `IncrementingPollingCounter` initial callback is now asynchronous\n- `InMemoryDirectoryInfo` prepends rootDir to files\n- `RuntimeHelpers.GetSubArray` returns a different type\n- `PictureBox` raises `HttpRequestException` instead of `WebException`\n- `StatusStrip` uses a different default renderer\n- `IMsoComponent` support is opt-in\n- `SafeEvpPKeyHandle.DuplicateHandle` up-refs the handle\n- `HttpClient` metrics report `server.port` unconditionally\n- URI query strings redacted in HttpClient EventSource events and IHttpClientFactory logs\n- `dotnet watch` is incompatible with Hot Reload for old frameworks\n- WPF `GetXmlNamespaceMaps` returns `Hashtable` instead of `String`\n\n### Step 5: Update infrastructure\n\n1. **Dockerfiles**: Update base images. Note that .NET 9 container images no longer install zlib. If your app depends on zlib, add `RUN apt-get update && apt-get install -y zlib1g` to your Dockerfile.\n   ```dockerfile\n   # Before\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:8.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:8.0\n   # After\n   FROM mcr.microsoft.com\u002Fdotnet\u002Fsdk:9.0 AS build\n   FROM mcr.microsoft.com\u002Fdotnet\u002Faspnet:9.0\n   ```\n\n2. **CI\u002FCD pipelines**: Update SDK version references. If using `global.json`, update:\n   ```json\n   {\n     \"sdk\": {\n       \"version\": \"9.0.100\",\n       \"rollForward\": \"latestFeature\"\n     }\n   }\n   ```\n   Review the `rollForward` policy — if set to `\"disable\"` or `\"latestPatch\"`, the SDK may not resolve correctly after upgrading. `\"latestFeature\"` (recommended) allows the SDK to roll forward to the latest 9.0.x feature band.\n\n3. **Visual Studio version**: .NET 9 SDK requires VS 17.12+ to target `net9.0`. VS 17.11 can only target `net8.0` and earlier.\n\n4. **Terminal Logger**: `dotnet build` now uses Terminal Logger by default in interactive terminals. CI scripts that parse MSBuild console output may need `--tl:off` or `MSBUILDTERMINALLOGGER=off`.\n\n5. **`dotnet workload` output**: Output format has changed. Update any scripts that parse workload command output.\n\n6. **.NET Monitor images**: Tags simplified to version-only (affects container orchestration referencing specific tags).\n\n### Step 6: Verify\n\n1. Run a full clean build: `dotnet build --no-incremental`\n2. Run all tests: `dotnet test`\n3. If the application is containerized, build and test the container image\n4. Smoke-test the application, paying special attention to:\n   - BinaryFormatter usage (will throw at runtime)\n   - Floating-point to integer conversion behavior\n   - EF Core migration application\n   - HttpClientFactory handler casting and logging\n   - DI validation in development environment\n   - Runtime configuration settings (environment variable precedence)\n5. Review the diff and ensure no unintended behavioral changes were introduced\n\n## Reference Documents\n\nThe `references\u002F` folder contains detailed breaking change information organized by technology area. Load only the references relevant to the project being migrated:\n\n| Reference file | When to load |\n|----------------|-------------|\n| `references\u002Fcsharp-compiler-dotnet8to9.md` | Always (C# 13 compiler breaking changes — InlineArray on records, iterator safe context, collection expression overloads) |\n| `references\u002Fcore-libraries-dotnet8to9.md` | Always (applies to all .NET 9 projects) |\n| `references\u002Fsdk-msbuild-dotnet8to9.md` | Always (SDK and build tooling changes) |\n| `references\u002Faspnet-core-dotnet8to9.md` | Project uses ASP.NET Core |\n| `references\u002Fefcore-dotnet8to9.md` | Project uses Entity Framework Core |\n| `references\u002Fcryptography-dotnet8to9.md` | Project uses System.Security.Cryptography or X.509 certificates |\n| `references\u002Fserialization-networking-dotnet8to9.md` | Project uses BinaryFormatter, System.Text.Json, HttpClient, or networking APIs |\n| `references\u002Fwinforms-wpf-dotnet8to9.md` | Project uses Windows Forms or WPF |\n| `references\u002Fcontainers-interop-dotnet8to9.md` | Project uses Docker containers or native interop (P\u002FInvoke) |\n| `references\u002Fdeployment-runtime-dotnet8to9.md` | Project uses runtime configuration, deployment, or has floating-point to integer conversions |\n",{"name":5,"license":14,"description":23},"Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 \u002F C# 13 \u002F ASP.NET Core 9 \u002F EF Core 9, replacing BinaryFormatter (now always throws), resolving SYSLIB0054-SYSLIB0057, adapting to params span overload resolution, fixing C# 13 compiler changes, updating HttpClientFactory for SocketsHttpHandler, and resolving EF Core 9 migration\u002FCosmos DB changes. DO NOT USE FOR: .NET Framework migrations, upgrading from .NET 7 or earlier, greenfield .NET 9 projects, or cosmetic modernization unrelated to the upgrade.\n","main","ccab8dffc0ecc173838f51e4c5f0d3b51a704f41","plugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills","https:\u002F\u002Fgithub.com\u002Fdeadmade","https:\u002F\u002Fdeadmade.github.io\u002F","Blood, an Ocean of blood","2026-11-14 02:03:31",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add deadmade\u002Fdead-agent-skills --skill migrate-dotnet8-to-dotnet9",{"tool":38,"command":39},"bunx","bunx skills add deadmade\u002Fdead-agent-skills --skill migrate-dotnet8-to-dotnet9",{"tool":41,"command":42},"pnpm","pnpm dlx skills add deadmade\u002Fdead-agent-skills --skill migrate-dotnet8-to-dotnet9","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Faspnet-core-dotnet8to9.md","REFERENCE","参考文档",2357,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Faspnet-core-dotnet8to9.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fcontainers-interop-dotnet8to9.md",1977,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcontainers-interop-dotnet8to9.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcore-libraries-dotnet8to9.md",7148,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcore-libraries-dotnet8to9.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fcryptography-dotnet8to9.md",2146,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcryptography-dotnet8to9.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcsharp-compiler-dotnet8to9.md",3399,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fcsharp-compiler-dotnet8to9.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fdeployment-runtime-dotnet8to9.md",2498,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fdeployment-runtime-dotnet8to9.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fefcore-dotnet8to9.md",7060,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fefcore-dotnet8to9.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fsdk-msbuild-dotnet8to9.md",2393,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fsdk-msbuild-dotnet8to9.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fserialization-networking-dotnet8to9.md",5565,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fserialization-networking-dotnet8to9.md",{"path":85,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fwinforms-wpf-dotnet8to9.md",3838,"https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fmigrate-dotnet8-to-dotnet9\u002Freferences\u002Fwinforms-wpf-dotnet8to9.md",[89,96,105,113,120,127],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M7CVRBFTXSTTQ7F5P6PJEFYA","rust-best-practices","Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook. Use this skill when: (1) writing new Rust code or functions, (2) reviewing or refactoring existing Rust code, (3) deciding between borrowing vs cloning or ownership patterns, (4) implementing error handling with Result types, (5) optimizing Rust code for performance, (6) writing tests or documentation for Rust projects.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Frust-skills\u002Fskills\u002Frust-best-practices\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":100,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M7CVR0W7B8EGTNPSPA7FPC4Z","postgres-database-migration","Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or shared databases.\n\n**Trigger when user asks to:**\n- Test a schema migration before applying it to production\n- Add, remove, or rename columns safely on a live table\n- Change a column's data type without downtime\n- Add or drop indexes, constraints, or foreign keys on large tables\n- Understand which ALTER TABLE operations lock the table\n- Roll back a failed migration\n- Plan a zero-downtime migration strategy\n- Fork a database to test a migration safely\n\nCovers: lock-level reference for every common DDL operation, safe migration patterns, fork-based testing, zero-downtime column changes, index creation, constraint addition, backfill strategies, pre\u002Fpost-migration validation, and rollback planning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-database-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-database-migration\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":100,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":18},"01M7CVQWK20ASAZN5VETZC8J99","postgres-best-practices","Best practices and guidelines for working with Postgres. Covers schema design, indexing strategies, query optimization, migrations, and common pitfalls. Use when writing SQL, designing database schemas, optimizing queries, or setting up a Postgres database.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fpostgres\u002Fskills\u002Fpostgres-best-practices\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":18},"01M7CVQ5CY7AQHY7A2Y99RE6A7","writing-mstest-tests","ALWAYS USE when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for \"review\" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected\u002Factual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext\u002Flifecycle; timeout\u002Fcancellation; OS\u002FCI conditions, retry, cleanup, parallelization, MSTest.Sdk project setup, and MSTESTxxxx. Honor the installed MSTest version. DO NOT USE to design new test cases (code-testing), perform report-only audits, create project files rather than explain MSTest setup, run tests, migrate frameworks, or handle non-MSTest\u002Fnon-.NET code.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fwriting-mstest-tests\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":18},"01M7CVPWJZ63GB0810F0SCGZ1K","winforms-expert","Create, modify, debug, or review Windows Forms applications only when the request contains a concrete Windows Forms marker. USE FOR: WinForms, Windows Forms, System.Windows.Forms, WinForms Form or UserControl designer files (*.Designer.cs or *.Designer.vb), Visual Studio WinForms Designer, TableLayoutPanel, BindingSource, DataGridView, Control.InvokeAsync, component-tray ownership, or custom control serialization. DO NOT USE FOR: WPF or WPF XAML, including Window.InputBindings, KeyBinding, commands, or DataContext; .NET MAUI; Avalonia; or any request where none of the listed Windows Forms markers is present.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fwinforms-expert\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":18},"01M7CVPR0QFZ1HMJ6GZRBQAQ7W","vectorization","Design, implement, optimize, and review SIMD code in .NET. USE FOR: vectorizing scalar loops with TensorPrimitives, Vector64\u002F128\u002F256\u002F512, or platform hardware intrinsics; reviewing existing SIMD code, including the generic Vector type, for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured performance. DO NOT USE FOR: performance work unrelated to SIMD or vectorization.","https:\u002F\u002Fgithub.com\u002Fdeadmade\u002Fdead-agent-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fopt-in\u002Fimplementation\u002Fcsharp-skills\u002Flibrary\u002Fvectorization\u002FSKILL.md",[],[]]