[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F4X02P5FFKPX5MQPHKFJGY":3,"skill-same:01M7F4X02P5FFKPX5MQPHKFJGY":252},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7F4X02P5FFKPX5MQPHKFJGY","csharp-union-types",null,"Design, review and implement C# 15 unions and closed hierarchies in .NET 11 code. Use for union declarations, custom [Union] types, exhaustive matching, default\u002Fnull handling and union serialization. Do not upgrade earlier frameworks or replace working inheritance merely because unions exist.","ANcpLua\u002Fancplua-dotnet","ANcpLua","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F124206820?v=4","01M6HB10NW8NGRV7W0N7WGZS7S","Alexander Nachtmann","01M7F4V3J3B3GGXPV413WXK8KX",1,"MIT","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: csharp-union-types\ndescription: \"Design, review and implement C# 15 unions and closed hierarchies in .NET 11 code. Use for union declarations, custom [Union] types, exhaustive matching, default\u002Fnull handling and union serialization. Do not upgrade earlier frameworks or replace working inheritance merely because unions exist.\"\n---\n\n# C# 15 unions for AI coding agents\n\nUse unions for a finite set of alternatives whose types need not share inheritance. Use a `closed` class or record when existing alternatives share behavior or polymorphic serialization. Preserve open inheritance when callers must extend it.\n\n## Agent execution\n\n- Apply the latest user request and the consuming repository's instructions. Inspect existing edits before changing code; do not overwrite unrelated work or rewrite commit authorship.\n- Read only the local reference sections needed for the task. Adapt the checked examples to the project's actual types, contracts and target framework.\n- Make the smallest complete change. Verify changed behavior; do not rerun unchanged probes merely to repeat an explanation. Existing reports describe their recorded run, not later untested edits.\n- Commit and push when authorized. Do not watch CI or wait for publication unless requested.\n- Report the concrete improvement, relevant verification and delivery status briefly. Distinguish completed work from triggered CI or publication.\n\n## Use the bundled knowledge\n\nThe skill is self-contained. For ordinary use, read only the needed local reference sections; do not fetch documentation, another repository or run all probes just to answer a covered question. The pinned compiler output and executed local examples supply the evidence. Run relevant checks when changing code or validating a version-specific claim.\n\n## Establish the compiler and contract\n\n1. Inspect the owning project, `global.json`, inherited build properties and installed SDK. Do not change framework or language version without an upgrade request.\n2. On verified SDK `11.0.100-rc.3.26522.148`, unions compile with `LangVersion=15.0` or the `net11.0` default. Earlier previews required `preview`; do not apply that requirement to every .NET 11 SDK. Existing `preview` settings can remain. RC3 is a security update; its release notes list no union-language changes.\n   Distinguish the SDK compiler, the active language version and any separately referenced `Microsoft.CodeAnalysis.CSharp` package. An older Roslyn package or IDE language service can lack `LanguageVersion.CSharp15` even when the SDK builds C# 15 successfully. Use `#error version` temporarily to identify the compiler\u002Flanguage used by a build; inspect package versions separately for in-process compilation.\n3. Identify the authoritative model and serializer. For TypeSpec or another generator, edit that source and regenerate. Never edit generated C# by hand. Separate wire and persistence models only for an explicit compatibility or storage requirement.\n4. Before changing serialization, record the discriminator, null representation, numeric encoding and canonical ordering. Preserve persisted bytes and hashes unless a migration is intended.\n\n## Implementation rules\n\n- Switch on the union itself, not its object-valued `Value`. Prefer a **switch expression** covering every case and explicit `null => throw ...` when default values can arrive. A catch-all `_` or `var` masks future cases. An external JSON discriminator is an open input and still needs unknown-value rejection.\n- Completeness diagnostics are warnings. Verify that `CS8509`, `CS8655` and `CS8846` fail the actual project build when completeness is required. A Roslyn test forcing warnings to errors does not establish production policy.\n- Switch **statements** lack that completeness guarantee. Removing their default arm can silently omit work, including serialization.\n- `default(U)` can contain null even when all cases are non-nullable. `U?` additionally has a nullable wrapper. Do not silently map an invalid default to a normal business state.\n- Typed patterns match contents. Untyped property\u002Fpositional patterns and `var` match the wrapper. `u is { }` is not a contents-presence check on a struct union; use `u is not null`. On RC3, `u is U` is not a valid general check.\n- A declared union is a struct with object-backed storage and boxes value-type cases. Choose custom `[Union]` storage only for a concrete requirement. `HasValue`\u002F`TryGetValue` enable non-boxing matching but do not eliminate allocations elsewhere. Measure performance claims.\n- Use `readonly union` for immutable wrappers. Record-class cases still allocate; changing those cases to record structs merely moves their allocation to boxing in generated object storage. Custom nullable scalar cases must preserve zero\u002Ffalse as present values and map null\u002Fdefault consistently across every access member.\n- Avoid overlapping generic success\u002Ferror cases unless their conversion and matching behavior is intentional. `Task\u003CCase>` does not convert to `Task\u003CUnion>`; give generic factories the intended type explicitly.\n- For generic results, prefer distinct cases such as `Result\u003CT>(Success\u003CT>, Failure)` when success and error payload types could coincide. The success payload remains typed as `T`; this does not change the generated union's object-backed storage.\n- For functional composition, use immutable cases and pure callbacks with `Map` (transform success), `Bind` (compose fallible functions), and `Match` (consume either case). Preserve failure values and skip success callbacks after failure. Keep expected domain errors as `Failure`; do not catch arbitrary callback exceptions or silently normalize an invalid default. See [functional.cs](examples\u002Ffunctional.cs). These operators do not guarantee callback purity or allocation freedom.\n\n## Closed hierarchies\n\nUse `closed` when alternatives already share a base class or record, common state,\nbehavior, or polymorphic serialization. It restricts **direct** derivation to the\ndeclaring assembly and is implicitly abstract; do not combine it with `abstract`,\n`sealed`, or `static`.\n\nClosure is not transitive. A normal, nonsealed child remains an extension point for\nother assemblies. Mark intermediate nodes `closed` to extend exhaustive matching\nthrough the hierarchy, and mark concrete leaves `sealed` when further derivation\nis unwanted:\n\n```csharp\npublic closed record GateState;\npublic closed record GateMoving(float Percent) : GateState;\npublic sealed record GateOpening(float Percent) : GateMoving(Percent);\npublic sealed record GateClosing(float Percent) : GateMoving(Percent);\n```\n\nUse a switch expression that covers the leaves, with explicit null handling when\nnull can arrive. Adding a new leaf should require updating affected matches; a\ncatch-all would hide it. See the compiled and executed\n[closed-hierarchy example](examples\u002Fclosed-hierarchies.cs) and the\n[hierarchy reference](references\u002Funion-reference.md#closed-hierarchies-and-json).\n\n## Serialization\n\nA union declaration does not invent a JSON discriminator. Successful serialization is not proof of deserialization. Multiple object-shaped cases require an unambiguous contract and a discriminator-aware converter\u002Fclassifier, or a suitable closed hierarchy with configured polymorphism. Do not classify by the first property that happens to be present.\n\nPreserve schema-owned tags. Check every case, null\u002Fdefault, unknown and missing tags, and structurally similar payloads. Source-generated JSON working under JIT is not NativeAOT proof; publish and execute the relevant application for that claim.\nThe [serialization reference](references\u002Funion-reference.md#closed-hierarchies-and-json)\nalso covers concrete-case strictness, explicit null payloads and missing-tag\nexception behavior at application boundaries.\n\n## Verification\n\nRead [the reference](references\u002Funion-reference.md), [diagnostic catalog](references\u002Fdiagnostics.md) and [verification guide](references\u002Fverification.md). The examples in `examples\u002Funions.cs` are compiled by the verifier.\n\n`scripts\u002Fverify.py` uses only the bundled probe source, works in a temporary copy, and checks compiler diagnostics and runtime output, including expected failures. No Git\u002Fsubmodule or source download is involved. It does not run web servers or establish EF, RDG, NativeAOT or application-wide correctness. After application edits, also run the repository's own build and relevant tests.\n\nCompiler diagnostics and executed probes are the technical verification. A separate Roslyn analyzer is optional for project-specific policies, not required for this skill. Report the SDK, checks run and remaining limits; a successful compilation alone does not prove runtime behavior.\n","# C# 15 unions for AI coding agents\n\nUse unions for a finite set of alternatives whose types need not share inheritance. Use a `closed` class or record when existing alternatives share behavior or polymorphic serialization. Preserve open inheritance when callers must extend it.\n\n## Agent execution\n\n- Apply the latest user request and the consuming repository's instructions. Inspect existing edits before changing code; do not overwrite unrelated work or rewrite commit authorship.\n- Read only the local reference sections needed for the task. Adapt the checked examples to the project's actual types, contracts and target framework.\n- Make the smallest complete change. Verify changed behavior; do not rerun unchanged probes merely to repeat an explanation. Existing reports describe their recorded run, not later untested edits.\n- Commit and push when authorized. Do not watch CI or wait for publication unless requested.\n- Report the concrete improvement, relevant verification and delivery status briefly. Distinguish completed work from triggered CI or publication.\n\n## Use the bundled knowledge\n\nThe skill is self-contained. For ordinary use, read only the needed local reference sections; do not fetch documentation, another repository or run all probes just to answer a covered question. The pinned compiler output and executed local examples supply the evidence. Run relevant checks when changing code or validating a version-specific claim.\n\n## Establish the compiler and contract\n\n1. Inspect the owning project, `global.json`, inherited build properties and installed SDK. Do not change framework or language version without an upgrade request.\n2. On verified SDK `11.0.100-rc.3.26522.148`, unions compile with `LangVersion=15.0` or the `net11.0` default. Earlier previews required `preview`; do not apply that requirement to every .NET 11 SDK. Existing `preview` settings can remain. RC3 is a security update; its release notes list no union-language changes.\n   Distinguish the SDK compiler, the active language version and any separately referenced `Microsoft.CodeAnalysis.CSharp` package. An older Roslyn package or IDE language service can lack `LanguageVersion.CSharp15` even when the SDK builds C# 15 successfully. Use `#error version` temporarily to identify the compiler\u002Flanguage used by a build; inspect package versions separately for in-process compilation.\n3. Identify the authoritative model and serializer. For TypeSpec or another generator, edit that source and regenerate. Never edit generated C# by hand. Separate wire and persistence models only for an explicit compatibility or storage requirement.\n4. Before changing serialization, record the discriminator, null representation, numeric encoding and canonical ordering. Preserve persisted bytes and hashes unless a migration is intended.\n\n## Implementation rules\n\n- Switch on the union itself, not its object-valued `Value`. Prefer a **switch expression** covering every case and explicit `null => throw ...` when default values can arrive. A catch-all `_` or `var` masks future cases. An external JSON discriminator is an open input and still needs unknown-value rejection.\n- Completeness diagnostics are warnings. Verify that `CS8509`, `CS8655` and `CS8846` fail the actual project build when completeness is required. A Roslyn test forcing warnings to errors does not establish production policy.\n- Switch **statements** lack that completeness guarantee. Removing their default arm can silently omit work, including serialization.\n- `default(U)` can contain null even when all cases are non-nullable. `U?` additionally has a nullable wrapper. Do not silently map an invalid default to a normal business state.\n- Typed patterns match contents. Untyped property\u002Fpositional patterns and `var` match the wrapper. `u is { }` is not a contents-presence check on a struct union; use `u is not null`. On RC3, `u is U` is not a valid general check.\n- A declared union is a struct with object-backed storage and boxes value-type cases. Choose custom `[Union]` storage only for a concrete requirement. `HasValue`\u002F`TryGetValue` enable non-boxing matching but do not eliminate allocations elsewhere. Measure performance claims.\n- Use `readonly union` for immutable wrappers. Record-class cases still allocate; changing those cases to record structs merely moves their allocation to boxing in generated object storage. Custom nullable scalar cases must preserve zero\u002Ffalse as present values and map null\u002Fdefault consistently across every access member.\n- Avoid overlapping generic success\u002Ferror cases unless their conversion and matching behavior is intentional. `Task\u003CCase>` does not convert to `Task\u003CUnion>`; give generic factories the intended type explicitly.\n- For generic results, prefer distinct cases such as `Result\u003CT>(Success\u003CT>, Failure)` when success and error payload types could coincide. The success payload remains typed as `T`; this does not change the generated union's object-backed storage.\n- For functional composition, use immutable cases and pure callbacks with `Map` (transform success), `Bind` (compose fallible functions), and `Match` (consume either case). Preserve failure values and skip success callbacks after failure. Keep expected domain errors as `Failure`; do not catch arbitrary callback exceptions or silently normalize an invalid default. See [functional.cs](examples\u002Ffunctional.cs). These operators do not guarantee callback purity or allocation freedom.\n\n## Closed hierarchies\n\nUse `closed` when alternatives already share a base class or record, common state,\nbehavior, or polymorphic serialization. It restricts **direct** derivation to the\ndeclaring assembly and is implicitly abstract; do not combine it with `abstract`,\n`sealed`, or `static`.\n\nClosure is not transitive. A normal, nonsealed child remains an extension point for\nother assemblies. Mark intermediate nodes `closed` to extend exhaustive matching\nthrough the hierarchy, and mark concrete leaves `sealed` when further derivation\nis unwanted:\n\n```csharp\npublic closed record GateState;\npublic closed record GateMoving(float Percent) : GateState;\npublic sealed record GateOpening(float Percent) : GateMoving(Percent);\npublic sealed record GateClosing(float Percent) : GateMoving(Percent);\n```\n\nUse a switch expression that covers the leaves, with explicit null handling when\nnull can arrive. Adding a new leaf should require updating affected matches; a\ncatch-all would hide it. See the compiled and executed\n[closed-hierarchy example](examples\u002Fclosed-hierarchies.cs) and the\n[hierarchy reference](references\u002Funion-reference.md#closed-hierarchies-and-json).\n\n## Serialization\n\nA union declaration does not invent a JSON discriminator. Successful serialization is not proof of deserialization. Multiple object-shaped cases require an unambiguous contract and a discriminator-aware converter\u002Fclassifier, or a suitable closed hierarchy with configured polymorphism. Do not classify by the first property that happens to be present.\n\nPreserve schema-owned tags. Check every case, null\u002Fdefault, unknown and missing tags, and structurally similar payloads. Source-generated JSON working under JIT is not NativeAOT proof; publish and execute the relevant application for that claim.\nThe [serialization reference](references\u002Funion-reference.md#closed-hierarchies-and-json)\nalso covers concrete-case strictness, explicit null payloads and missing-tag\nexception behavior at application boundaries.\n\n## Verification\n\nRead [the reference](references\u002Funion-reference.md), [diagnostic catalog](references\u002Fdiagnostics.md) and [verification guide](references\u002Fverification.md). The examples in `examples\u002Funions.cs` are compiled by the verifier.\n\n`scripts\u002Fverify.py` uses only the bundled probe source, works in a temporary copy, and checks compiler diagnostics and runtime output, including expected failures. No Git\u002Fsubmodule or source download is involved. It does not run web servers or establish EF, RDG, NativeAOT or application-wide correctness. After application edits, also run the repository's own build and relevant tests.\n\nCompiler diagnostics and executed probes are the technical verification. A separate Roslyn analyzer is optional for project-specific policies, not required for this skill. Report the SDK, checks run and remaining limits; a successful compilation alone does not prove runtime behavior.\n",{"name":5,"description":7},"main","703474adbca925ced1bb614d1d53a21dd9125e4b","packages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types",0,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet","https:\u002F\u002Fgithub.com\u002FANcpLua","SWE Student ","Ein Tag lehrt den anderen.       \r\n    ♉🍏🐍 \r\n","2026-11-10 12:15:27",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ANcpLua\u002Fancplua-dotnet --skill csharp-union-types",{"tool":40,"command":41},"bunx","bunx skills add ANcpLua\u002Fancplua-dotnet --skill csharp-union-types",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ANcpLua\u002Fancplua-dotnet --skill csharp-union-types","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002FSKILL.md",true,[48,54,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,155,159,163,167,171,175,179,183,186,190,194,198,202,208,212,216,220,224,228,232,236,240,244,248],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},".github\u002Fworkflows\u002Fverify.yml","REFERENCE","参考文档",948,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002F.github\u002Fworkflows\u002Fverify.yml",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},".gitignore","OTHER","其他",50,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002F.gitignore",{"path":61,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":62,"sourceHtmlUrl":63},".sync-manifest.json",5147,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002F.sync-manifest.json",{"path":65,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":66,"sourceHtmlUrl":67},"CHANGELOG.md",2723,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002FCHANGELOG.md",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"examples\u002F.editorconfig",146,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fexamples\u002F.editorconfig",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"examples\u002Fclosed-hierarchies.cs",1808,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fexamples\u002Fclosed-hierarchies.cs",{"path":77,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":78,"sourceHtmlUrl":79},"examples\u002Ffunctional.cs",2455,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fexamples\u002Ffunctional.cs",{"path":81,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":82,"sourceHtmlUrl":83},"examples\u002Funions.cs",4162,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fexamples\u002Funions.cs",{"path":85,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":86,"sourceHtmlUrl":87},"global.json",119,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fglobal.json",{"path":89,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":91,"sourceHtmlUrl":16},"LICENSE","许可证",1075,{"path":93,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":94,"sourceHtmlUrl":95},"polyfills\u002FIUnion.cs",850,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fpolyfills\u002FIUnion.cs",{"path":97,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":98,"sourceHtmlUrl":99},"polyfills\u002FREADME.md",944,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fpolyfills\u002FREADME.md",{"path":101,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":102,"sourceHtmlUrl":103},"polyfills\u002FUnionAttribute.cs",969,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fpolyfills\u002FUnionAttribute.cs",{"path":105,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":106,"sourceHtmlUrl":107},"probes\u002FDirectory.Build.props",197,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FDirectory.Build.props",{"path":109,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":110,"sourceHtmlUrl":111},"probes\u002FDirectory.Build.targets",123,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FDirectory.Build.targets",{"path":113,"resourceType":89,"resourceTypeDesc":90,"sizeBytes":114,"sourceHtmlUrl":115},"probes\u002FLICENSE",1073,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FLICENSE",{"path":117,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":118,"sourceHtmlUrl":119},"probes\u002FQClosed\u002FProgram.cs",2263,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQClosed\u002FProgram.cs",{"path":121,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":122,"sourceHtmlUrl":123},"probes\u002FQClosed\u002FQClosed.csproj",337,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQClosed\u002FQClosed.csproj",{"path":125,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":126,"sourceHtmlUrl":127},"probes\u002FQClosedJson\u002FProgram.cs",1784,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQClosedJson\u002FProgram.cs",{"path":129,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":130,"sourceHtmlUrl":131},"probes\u002FQClosedJson\u002FQClosedJson.csproj",240,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQClosedJson\u002FQClosedJson.csproj",{"path":133,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":134,"sourceHtmlUrl":135},"probes\u002FQClosedLib\u002FLibrary.cs",620,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQClosedLib\u002FLibrary.cs",{"path":137,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":138,"sourceHtmlUrl":139},"probes\u002FQClosedLib\u002FQClosedLib.csproj",207,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQClosedLib\u002FQClosedLib.csproj",{"path":141,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":142,"sourceHtmlUrl":143},"probes\u002FQConv\u002FProgram.cs",6091,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQConv\u002FProgram.cs",{"path":145,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":146,"sourceHtmlUrl":147},"probes\u002FQConv\u002FQConv.csproj",238,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQConv\u002FQConv.csproj",{"path":149,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":150,"sourceHtmlUrl":151},"probes\u002FQIface\u002FProgram.cs",1776,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQIface\u002FProgram.cs",{"path":153,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":130,"sourceHtmlUrl":154},"probes\u002FQIface\u002FQIface.csproj","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQIface\u002FQIface.csproj",{"path":156,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":157,"sourceHtmlUrl":158},"probes\u002FQLang\u002FProgram.cs",9077,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQLang\u002FProgram.cs",{"path":160,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":161,"sourceHtmlUrl":162},"probes\u002FQLang\u002FQLang.csproj",243,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQLang\u002FQLang.csproj",{"path":164,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":165,"sourceHtmlUrl":166},"probes\u002FQLang2\u002FProgram.cs",6154,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQLang2\u002FProgram.cs",{"path":168,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":169,"sourceHtmlUrl":170},"probes\u002FQLang2\u002FQLang2.csproj",286,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQLang2\u002FQLang2.csproj",{"path":172,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":173,"sourceHtmlUrl":174},"probes\u002FQRoslyn\u002FProgram.cs",1993,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQRoslyn\u002FProgram.cs",{"path":176,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":177,"sourceHtmlUrl":178},"probes\u002FQRoslyn\u002FQRoslyn.csproj",768,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQRoslyn\u002FQRoslyn.csproj",{"path":180,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":181,"sourceHtmlUrl":182},"probes\u002FQSrcGen\u002FProgram.cs",1933,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQSrcGen\u002FProgram.cs",{"path":184,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":130,"sourceHtmlUrl":185},"probes\u002FQSrcGen\u002FQSrcGen.csproj","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fprobes\u002FQSrcGen\u002FQSrcGen.csproj",{"path":187,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":188,"sourceHtmlUrl":189},"README.md",4596,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002FREADME.md",{"path":191,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":192,"sourceHtmlUrl":193},"references\u002Fdiagnostics.md",7990,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Freferences\u002Fdiagnostics.md",{"path":195,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":196,"sourceHtmlUrl":197},"references\u002Funion-reference.md",9191,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Freferences\u002Funion-reference.md",{"path":199,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":200,"sourceHtmlUrl":201},"references\u002Fverification.md",5026,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Freferences\u002Fverification.md",{"path":203,"resourceType":204,"resourceTypeDesc":205,"sizeBytes":206,"sourceHtmlUrl":207},"scripts\u002Fcheck_links.py","SCRIPT","脚本",3689,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fscripts\u002Fcheck_links.py",{"path":209,"resourceType":204,"resourceTypeDesc":205,"sizeBytes":210,"sourceHtmlUrl":211},"scripts\u002Fsync.py",5161,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fscripts\u002Fsync.py",{"path":213,"resourceType":204,"resourceTypeDesc":205,"sizeBytes":214,"sourceHtmlUrl":215},"scripts\u002Ftests\u002Ftest_tools.py",5936,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fscripts\u002Ftests\u002Ftest_tools.py",{"path":217,"resourceType":204,"resourceTypeDesc":205,"sizeBytes":218,"sourceHtmlUrl":219},"scripts\u002Fverify.py",17446,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fscripts\u002Fverify.py",{"path":221,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":222,"sourceHtmlUrl":223},"THIRD-PARTY-NOTICES.md",408,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002FTHIRD-PARTY-NOTICES.md",{"path":225,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":226,"sourceHtmlUrl":227},"verification\u002FDiagnostics\u002FCases.cs",1578,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fverification\u002FDiagnostics\u002FCases.cs",{"path":229,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":230,"sourceHtmlUrl":231},"verification\u002FDiagnostics\u002FClosedMetadata.cs",348,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fverification\u002FDiagnostics\u002FClosedMetadata.cs",{"path":233,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":234,"sourceHtmlUrl":235},"verification\u002FDiagnostics\u002FDiagnostics.csproj",242,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fverification\u002FDiagnostics\u002FDiagnostics.csproj",{"path":237,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":238,"sourceHtmlUrl":239},"verification\u002FExamples\u002FFunctionalExamples.cs",6285,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fverification\u002FExamples\u002FFunctionalExamples.cs",{"path":241,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":242,"sourceHtmlUrl":243},"verification\u002FExamples\u002FProgram.cs",4744,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fverification\u002FExamples\u002FProgram.cs",{"path":245,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":246,"sourceHtmlUrl":247},"verification\u002FPolyfillConsumer\u002FConsumer.cs",1897,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fverification\u002FPolyfillConsumer\u002FConsumer.cs",{"path":249,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":250,"sourceHtmlUrl":251},"verification\u002FPolyfillConsumer\u002FPolyfillConsumer.csproj",629,"https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fnami\u002Fplugins\u002Fnami\u002Fskills\u002Fcsharp-union-types\u002Fverification\u002FPolyfillConsumer\u002FPolyfillConsumer.csproj",[253,261,268,275,282,289],{"skillNo":254,"name":255,"nameZh":6,"description":256,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":257,"licenseFileUrl":6,"sourceHtmlUrl":258,"categories":259,"keywords":260,"publishedAt":20},"01M7F4WBZN94STF7KJN1WHDVRK","release","Releases .NET NuGet packages through a layered chain (library, MSBuild SDK, analyzers, consumers) without breaking restore. Use when publishing a package, bumping a lower-layer dependency in its consumers, moving a .NET SDK pin across repositories, choosing tag-driven versus push-driven publishing, setting up NuGet trusted publishing, or waiting for nuget.org to index a version before consumers restore it.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fancplua-dotnet\u002Fskills\u002Frelease\u002FSKILL.md",[],[],{"skillNo":262,"name":263,"nameZh":6,"description":264,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":257,"licenseFileUrl":6,"sourceHtmlUrl":265,"categories":266,"keywords":267,"publishedAt":20},"01M7F4W5B0G7ENQ1E8136T5BRY","performance","Investigate .NET runtime performance using logs, metrics, traces, spans and profiles; collect crash\u002Fhang diagnostics. Use for CPU, GC, allocation or latency problems, hot-path reviews and BenchmarkDotNet comparisons. MSBuild timing belongs to msbuild; MSTest execution belongs to mstest-extensions.","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fancplua-dotnet\u002Fskills\u002Fperformance\u002FSKILL.md",[],[],{"skillNo":269,"name":270,"nameZh":6,"description":271,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":257,"licenseFileUrl":6,"sourceHtmlUrl":272,"categories":273,"keywords":274,"publishedAt":20},"01M7F4W0T0N9V8T6JPP3MN5V4P","nuget-versions","Manage .NET package and SDK versions, CPM migrations, Version.props ownership, global.json pins, isolated SDK installations and Renovate updates. Use for package bumps, conflicting or missing versions, NuGet restore errors and SDK selection. MSTest runner\u002Fprofile semantics belong to mstest-extensions.","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fancplua-dotnet\u002Fskills\u002Fnuget-versions\u002FSKILL.md",[],[],{"skillNo":276,"name":277,"nameZh":6,"description":278,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":257,"licenseFileUrl":6,"sourceHtmlUrl":279,"categories":280,"keywords":281,"publishedAt":20},"01M7F4VW470PY61YBE70VZ0XMY","msbuild","Writes and reviews MSBuild evaluation, properties, items, imports, custom targets and build\u002FbuildTransitive package assets for SDK-style .NET repositories. Use for ignored or empty properties\u002Fitems, generated files, analyzer\u002Fbuild-asset packaging, build-file reviews, binlog diagnosis and incremental-build problems. Focused MSTest project setup, runner configuration and test commands belong to mstest-extensions.","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fancplua-dotnet\u002Fskills\u002Fmsbuild\u002FSKILL.md",[],[],{"skillNo":283,"name":284,"nameZh":6,"description":285,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":257,"licenseFileUrl":6,"sourceHtmlUrl":286,"categories":287,"keywords":288,"publishedAt":20},"01M7F4VRXB35HECDMZR0SVK7DA","csharp-refactoring","Refactor C# and reconcile stale constants, dead checks and abandoned code, including indirect production uses. Use for renames, moves, deduplication, exhaustive cleanup, generated declarations and runtime\u002FAPI contracts. MSTest test design and review belong to mstest-extensions.","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fancplua-dotnet\u002Fskills\u002Fcsharp-refactoring\u002FSKILL.md",[],[],{"skillNo":290,"name":291,"nameZh":6,"description":292,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":257,"licenseFileUrl":6,"sourceHtmlUrl":293,"categories":294,"keywords":295,"publishedAt":20},"01M7F4VM8GMZ0ZB4STXWFZCB69","audit","Audits one or more .NET repositories for build, package and analyzer problems and separates certain fixes from judgment calls. Use for repository or fleet build-policy audits, shared SDK\u002Fpackage consistency and cross-repository version rollouts. Focused MSTest setup, execution and test-quality reviews belong to mstest-extensions.","https:\u002F\u002Fgithub.com\u002FANcpLua\u002Fancplua-dotnet\u002Fblob\u002Fmain\u002Fpackages\u002Fancplua-dotnet\u002Fskills\u002Faudit\u002FSKILL.md",[],[]]