[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D04FG7WQZRWJFADWYHTC49":3,"skill-same:01M7D04FG7WQZRWJFADWYHTC49":50},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7D04FG7WQZRWJFADWYHTC49","csharp-refactoring",null,"Performs safe, behavior-preserving refactoring of C#\u002F.NET code, verified with build, tests, and analyzers. USE FOR: rename or move a symbol\u002Ftype\u002Ffile; extract a method\u002Ftype\u002Finterface; inline a wrapper\u002Fmethod\u002Flocal; merge or consolidate near-identical classes or duplicate helpers; split or modernize C# code; generated\u002Fpartial declarations; public, serialized, friend-assembly, or multi-targeted contracts; and mixed requests where a feature, bug fix, package\u002Fframework upgrade, public nullability change, or other behavior\u002Fcontract change is presented as a refactor and must be separated or declined. DO NOT USE FOR: ordinary feature or bug-fix requests not framed as refactoring; upgrades after reclassification (use dotnet-upgrade); new tests; or formatting-only passes (use dotnet format).","itsmejay18\u002FAI-Skills-for-My-Development-Stack","itsmejay18","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F167779943?v=4","01M7CZRFC6DDZA5V2CX8WDSZED","Jay Jemino Ababon ","01M7CZRFCVRNW1SFHSQXEJ3CQN",0,"MIT","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fcsharp-refactoring\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: csharp-refactoring\ndescription: \"Performs safe, behavior-preserving refactoring of C#\u002F.NET code, verified with build, tests, and analyzers. USE FOR: rename or move a symbol\u002Ftype\u002Ffile; extract a method\u002Ftype\u002Finterface; inline a wrapper\u002Fmethod\u002Flocal; merge or consolidate near-identical classes or duplicate helpers; split or modernize C# code; generated\u002Fpartial declarations; public, serialized, friend-assembly, or multi-targeted contracts; and mixed requests where a feature, bug fix, package\u002Fframework upgrade, public nullability change, or other behavior\u002Fcontract change is presented as a refactor and must be separated or declined. DO NOT USE FOR: ordinary feature or bug-fix requests not framed as refactoring; upgrades after reclassification (use dotnet-upgrade); new tests; or formatting-only passes (use dotnet format).\"\nlicense: MIT\n---\n\n# C# Refactoring (behavior-preserving)\n\nA refactor changes **structure**, never observable **behavior**. Do the edit with binding-aware tools,\nthen confirm behavior held with a build + the relevant tests. Keep the effort proportional to the change:\na one-line local rename does not need the ceremony a public multi-targeted change does.\n\n## Mandatory gate: classify before validation or editing\n\nRead only enough repository context to classify the request. Do this before restoring, building, or\nmaking an edit. If the entire requested operation changes behavior or cannot preserve the relevant\npublic\u002Fsource contract, the correct result of this skill is a decisive handoff, not an implementation\nattempt:\n\n1. State: `Not a behavior-preserving refactor: \u003Cspecific reason>.`\n2. State: `No files changed.`\n3. State: `Next workflow: \u003Cworkflow>.` Then stop. Do not add manual implementation steps, alternatives,\n   an offer to proceed without the workflow, or a follow-up question — even when that workflow is unavailable.\n\n| Requested as a \"refactor\" | Classification and action |\n|---|---|\n| Framework or NuGet version change | **Upgrade.** Do not edit or validate the upgrade here; hand off to `dotnet-upgrade`. |\n| New capability, flag, endpoint, tier, or behavior | **Feature.** Do not implement it here; hand off to the repository's feature workflow. |\n| Threshold, rate, output, or bug-result change | **Behavior change.** Defer it and hand off to the repository's bug-fix or behavior-change workflow; still complete any clearly separable structural operation. |\n| Tighten or loosen a shipped\u002Fpublic nullable annotation | **Source-contract change.** Leave the declaration and API record unchanged; hand off to the repository's API-contract workflow. |\n\nThe three-line stop response applies only when the entire request is outside behavior-preserving\nrefactoring. For a mixed request, perform only a clearly separable structural operation and explicitly\ndefer the behavior\u002Fcontract change. Never state `No files changed.` after completing that structural\noperation, and never modify tests to make an unauthorized behavior change appear preserved.\n\n## Work only in the current repository\n\nResolve the repository root first (`git rev-parse --show-toplevel`) and resolve any prompt-provided\nrelative solution\u002Fproject path inside that root. Search and edit only that workspace. Never use\nfilesystem-wide search or select a similarly named clone, temporary directory, build output, or\nanother worktree because a file also exists there. If the named path is absent from the current\nrepository, stop and report that mismatch instead of guessing another workspace.\n\n## Rename \u002F move by bindings, not text\n\nThe #1 way a \"rename\" silently corrupts code is editing textual matches (comments, strings, unrelated\noverloads) instead of real **bindings**. Find every binding reference first, then edit semantically. Use\nthe strongest tool available: an IDE\u002FRoslyn workspace refactoring, then the C# LSP the\n[`dotnet` plugin declares](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet\u002Flsp.json)\n(`findReferences`, `goToDefinition`, `incomingCalls`, `rename` code action), then analyzer code-fixes \u002F\nRoslynator, then compiler-validated edits (edit the true bindings, rebuild, let the compiler flag misses).\nPlain find\u002Freplace only when scope is provably tiny and every hit is verified. Include **every** `partial`\ndeclaration, and edit the generator input, never generated (`*.g.cs`) output.\n\nFor the operation → Roslyn-provider mapping and representative PRs, see\n[references\u002Foperation-catalog.md](references\u002Foperation-catalog.md).\n\n## Consolidate toward the existing source of truth\n\nWhen de-duplicating, preserve the ownership direction stated by the code or request. If `B` duplicates\nan implementation already owned by `A`, keep `A` canonical and make `B` delegate to it; do not invert\nthe dependency merely because either direction compiles. Preserve public compatibility wrappers when\nthe duplicate surface is shipped, and migrate only in-repo callers that are safe to move.\n\n## Decisions that change the edit\n\nUse the first matching row instead of applying the requested operation mechanically:\n\n| Situation | Do | Never |\n|---|---|---|\n| Inline an internal, unshipped pass-through wrapper | Migrate every binding reference to the target, remove the wrapper, then compile to catch misses. | Keep dead indirection \"for compatibility\" when no compatibility boundary exists. |\n| Inline or remove a shipped\u002Fpublic wrapper | Migrate ordinary in-repo callers, but retain an `[Obsolete]` forwarding entry point unless the request explicitly authorizes a breaking change. | Delete a shipped API merely because all current source callers were migrated. |\n| Rename a member reached by a string, reflection, DI, or configuration | Rename binding-based callers; preserve the observed external name with a forwarding shim or metadata, and exercise the old-name path. | Rewrite an external\u002Fconfigured name just to make the new source name consistent. |\n| Extract duplicated logic whose callers pass different values | Extract the algorithm and pass each caller's existing inputs through unchanged. | Collapse distinct inputs, evaluation order, rounding, or side effects into one caller's version. |\n| Rename code compiled under `#if` or multiple TFMs | Update every source branch and validate each target framework explicitly. | Treat a green default-target build as evidence for unbuilt branches. |\n| Merge near-identical types | Parameterize only the values that differ, migrate every construction site, and preserve each old value exactly. If the old types are internal\u002Funshipped and the request says to merge into one type, delete their declarations. | Retain unnecessary aliases, static holders, factories, or wrapper types that leave the requested merge incomplete; introduce a new hierarchy or behavior. |\n\n## Preserve contracts beyond C# call sites\n\nCompilation proves binding compatibility, not every external contract. Before renaming or moving a\ntype\u002Fmember, check whether its name or metadata is observed by serialization, reflection, dependency\ninjection, configuration binding, source generators, P\u002FInvoke, or `dynamic`.\n\n| Boundary | Required decision |\n|---|---|\n| Serialized\u002Fconfiguration name | Preserve the external name with the repository's existing mechanism (for example, `JsonPropertyName`) while migrating C# callers; run a focused round-trip or payload test. |\n| Public nullable annotation | The mandatory classification gate applies: leave it unchanged and hand off as a source-contract change. |\n| Uncovered reflection or runtime lookup | Do not guess that a compile-clean rename is safe. Preserve the observed name or stop and report the unverified runtime boundary. |\n\n## Verify proportionally\n\nConfirm behavior is preserved after the edit — scaled to blast radius, not a fixed ceremony:\n\n- **Local \u002F private** (method-local or `private` member, one file, single target framework, no public\n  surface, no `partial`\u002Fgenerated\u002F`#if`): skip a separate baseline unless the tree is already suspect.\n  Make the edit, then run the narrowest build and relevant tests once. Let the compiler catch missed\n  references.\n- **Cross-boundary** (public\u002Fshipped symbol, multi-targeted project, `#if`\u002Fplatform branches, or\n  `partial`\u002Fgenerated code): establish a baseline, then run an explicit build and the relevant tests for\n  **each** target framework after the edit (a test command's implicit build is not separate build evidence;\n  a green default build can hide a break on another TFM), and run the hazards check below.\n\nUse the repo's own build\u002Ftest workflow when it documents one (`README`\u002F`CONTRIBUTING`, `build.*`, `eng\u002F`,\n`global.json`, `.github\u002Fworkflows`); its instructions win over any generic command.\n\n### Typical workflow (one operation)\n1. Choose one named refactoring operation and keep the step focused on that operation only.\n2. Find true binding references (`findReferences`\u002F`goToDefinition`\u002Frename) and include all `partial` declarations.\n3. Establish a baseline first only for a cross-boundary change or a tree not already known green.\n4. Apply the change via the most semantics-aware tool available; avoid blind find\u002Freplace when possible.\n5. Rebuild and run the relevant tests. If the gate goes red, report the failure and repair or reassess only\n  your edit; never discard unrelated worktree changes.\n\nOtherwise:\n```bash\ndotnet build   # 0 errors\ndotnet test    # stays green; same pass count as before\n```\n\nOne operation per step; never mix a refactor and a behavior change in the same step. On red, stop and report the failure; repair only your edit without discarding unrelated worktree changes.\n\n## Final response contract\n\nKeep the handoff concise and evidence-based:\n\n- **Refactor:** name the structural operation and the symbols\u002Ffiles changed.\n- **Preserved:** name the behavior or compatibility boundary and the mechanism that preserved it.\n- **Validation:** report the exact commands and observed result; never claim success after a failed restore,\n  build, target framework, or test run.\n- **Deferred:** for a mixed request, name the behavior\u002Fcontract change intentionally left undone and its\n  correct next workflow. Omit this line when nothing was deferred.\n\n## Cross-boundary hazards (only when it touches a boundary)\n\nIf — and only if — the change touches a **public** symbol, a **multi-targeted** project, or\n`partial`\u002Fgenerated code, some breaks won't show up as a failing test. Search the repo for the surface\nthat governs the symbol (don't assume): the public-API gate (`PublicAPI.Shipped\u002FUnshipped.txt` for\nPublicApiAnalyzers, and\u002For `ApiCompat`\u002F`\u003CEnablePackageValidation>` — not interchangeable),\n`\u003CTargetFrameworks>`\u002F`#if` branches, and `InternalsVisibleTo`. Moving a public type to another assembly\nneeds `[TypeForwardedTo]` in the original assembly; a move within one assembly does not. A public\n*rename* needs an `[Obsolete]` shim, not a forwarder. For a provably local\u002Fprivate change, skip these\nchecks.\n\n## Stop and ask when\n\n- The baseline is already red (you can't prove you preserved behavior).\n- A public\u002Fshipped API would change without a forwarder\u002Fshim or explicit authorization for a breaking change.\n- Equivalence depends on runtime behavior tests don't cover (reflection, DI, serialization, `dynamic`,\n  P\u002FInvoke) — flag it.\n","# C# Refactoring (behavior-preserving)\n\nA refactor changes **structure**, never observable **behavior**. Do the edit with binding-aware tools,\nthen confirm behavior held with a build + the relevant tests. Keep the effort proportional to the change:\na one-line local rename does not need the ceremony a public multi-targeted change does.\n\n## Mandatory gate: classify before validation or editing\n\nRead only enough repository context to classify the request. Do this before restoring, building, or\nmaking an edit. If the entire requested operation changes behavior or cannot preserve the relevant\npublic\u002Fsource contract, the correct result of this skill is a decisive handoff, not an implementation\nattempt:\n\n1. State: `Not a behavior-preserving refactor: \u003Cspecific reason>.`\n2. State: `No files changed.`\n3. State: `Next workflow: \u003Cworkflow>.` Then stop. Do not add manual implementation steps, alternatives,\n   an offer to proceed without the workflow, or a follow-up question — even when that workflow is unavailable.\n\n| Requested as a \"refactor\" | Classification and action |\n|---|---|\n| Framework or NuGet version change | **Upgrade.** Do not edit or validate the upgrade here; hand off to `dotnet-upgrade`. |\n| New capability, flag, endpoint, tier, or behavior | **Feature.** Do not implement it here; hand off to the repository's feature workflow. |\n| Threshold, rate, output, or bug-result change | **Behavior change.** Defer it and hand off to the repository's bug-fix or behavior-change workflow; still complete any clearly separable structural operation. |\n| Tighten or loosen a shipped\u002Fpublic nullable annotation | **Source-contract change.** Leave the declaration and API record unchanged; hand off to the repository's API-contract workflow. |\n\nThe three-line stop response applies only when the entire request is outside behavior-preserving\nrefactoring. For a mixed request, perform only a clearly separable structural operation and explicitly\ndefer the behavior\u002Fcontract change. Never state `No files changed.` after completing that structural\noperation, and never modify tests to make an unauthorized behavior change appear preserved.\n\n## Work only in the current repository\n\nResolve the repository root first (`git rev-parse --show-toplevel`) and resolve any prompt-provided\nrelative solution\u002Fproject path inside that root. Search and edit only that workspace. Never use\nfilesystem-wide search or select a similarly named clone, temporary directory, build output, or\nanother worktree because a file also exists there. If the named path is absent from the current\nrepository, stop and report that mismatch instead of guessing another workspace.\n\n## Rename \u002F move by bindings, not text\n\nThe #1 way a \"rename\" silently corrupts code is editing textual matches (comments, strings, unrelated\noverloads) instead of real **bindings**. Find every binding reference first, then edit semantically. Use\nthe strongest tool available: an IDE\u002FRoslyn workspace refactoring, then the C# LSP the\n[`dotnet` plugin declares](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills\u002Fblob\u002Fmain\u002Fplugins\u002Fdotnet\u002Flsp.json)\n(`findReferences`, `goToDefinition`, `incomingCalls`, `rename` code action), then analyzer code-fixes \u002F\nRoslynator, then compiler-validated edits (edit the true bindings, rebuild, let the compiler flag misses).\nPlain find\u002Freplace only when scope is provably tiny and every hit is verified. Include **every** `partial`\ndeclaration, and edit the generator input, never generated (`*.g.cs`) output.\n\nFor the operation → Roslyn-provider mapping and representative PRs, see\n[references\u002Foperation-catalog.md](references\u002Foperation-catalog.md).\n\n## Consolidate toward the existing source of truth\n\nWhen de-duplicating, preserve the ownership direction stated by the code or request. If `B` duplicates\nan implementation already owned by `A`, keep `A` canonical and make `B` delegate to it; do not invert\nthe dependency merely because either direction compiles. Preserve public compatibility wrappers when\nthe duplicate surface is shipped, and migrate only in-repo callers that are safe to move.\n\n## Decisions that change the edit\n\nUse the first matching row instead of applying the requested operation mechanically:\n\n| Situation | Do | Never |\n|---|---|---|\n| Inline an internal, unshipped pass-through wrapper | Migrate every binding reference to the target, remove the wrapper, then compile to catch misses. | Keep dead indirection \"for compatibility\" when no compatibility boundary exists. |\n| Inline or remove a shipped\u002Fpublic wrapper | Migrate ordinary in-repo callers, but retain an `[Obsolete]` forwarding entry point unless the request explicitly authorizes a breaking change. | Delete a shipped API merely because all current source callers were migrated. |\n| Rename a member reached by a string, reflection, DI, or configuration | Rename binding-based callers; preserve the observed external name with a forwarding shim or metadata, and exercise the old-name path. | Rewrite an external\u002Fconfigured name just to make the new source name consistent. |\n| Extract duplicated logic whose callers pass different values | Extract the algorithm and pass each caller's existing inputs through unchanged. | Collapse distinct inputs, evaluation order, rounding, or side effects into one caller's version. |\n| Rename code compiled under `#if` or multiple TFMs | Update every source branch and validate each target framework explicitly. | Treat a green default-target build as evidence for unbuilt branches. |\n| Merge near-identical types | Parameterize only the values that differ, migrate every construction site, and preserve each old value exactly. If the old types are internal\u002Funshipped and the request says to merge into one type, delete their declarations. | Retain unnecessary aliases, static holders, factories, or wrapper types that leave the requested merge incomplete; introduce a new hierarchy or behavior. |\n\n## Preserve contracts beyond C# call sites\n\nCompilation proves binding compatibility, not every external contract. Before renaming or moving a\ntype\u002Fmember, check whether its name or metadata is observed by serialization, reflection, dependency\ninjection, configuration binding, source generators, P\u002FInvoke, or `dynamic`.\n\n| Boundary | Required decision |\n|---|---|\n| Serialized\u002Fconfiguration name | Preserve the external name with the repository's existing mechanism (for example, `JsonPropertyName`) while migrating C# callers; run a focused round-trip or payload test. |\n| Public nullable annotation | The mandatory classification gate applies: leave it unchanged and hand off as a source-contract change. |\n| Uncovered reflection or runtime lookup | Do not guess that a compile-clean rename is safe. Preserve the observed name or stop and report the unverified runtime boundary. |\n\n## Verify proportionally\n\nConfirm behavior is preserved after the edit — scaled to blast radius, not a fixed ceremony:\n\n- **Local \u002F private** (method-local or `private` member, one file, single target framework, no public\n  surface, no `partial`\u002Fgenerated\u002F`#if`): skip a separate baseline unless the tree is already suspect.\n  Make the edit, then run the narrowest build and relevant tests once. Let the compiler catch missed\n  references.\n- **Cross-boundary** (public\u002Fshipped symbol, multi-targeted project, `#if`\u002Fplatform branches, or\n  `partial`\u002Fgenerated code): establish a baseline, then run an explicit build and the relevant tests for\n  **each** target framework after the edit (a test command's implicit build is not separate build evidence;\n  a green default build can hide a break on another TFM), and run the hazards check below.\n\nUse the repo's own build\u002Ftest workflow when it documents one (`README`\u002F`CONTRIBUTING`, `build.*`, `eng\u002F`,\n`global.json`, `.github\u002Fworkflows`); its instructions win over any generic command.\n\n### Typical workflow (one operation)\n1. Choose one named refactoring operation and keep the step focused on that operation only.\n2. Find true binding references (`findReferences`\u002F`goToDefinition`\u002Frename) and include all `partial` declarations.\n3. Establish a baseline first only for a cross-boundary change or a tree not already known green.\n4. Apply the change via the most semantics-aware tool available; avoid blind find\u002Freplace when possible.\n5. Rebuild and run the relevant tests. If the gate goes red, report the failure and repair or reassess only\n  your edit; never discard unrelated worktree changes.\n\nOtherwise:\n```bash\ndotnet build   # 0 errors\ndotnet test    # stays green; same pass count as before\n```\n\nOne operation per step; never mix a refactor and a behavior change in the same step. On red, stop and report the failure; repair only your edit without discarding unrelated worktree changes.\n\n## Final response contract\n\nKeep the handoff concise and evidence-based:\n\n- **Refactor:** name the structural operation and the symbols\u002Ffiles changed.\n- **Preserved:** name the behavior or compatibility boundary and the mechanism that preserved it.\n- **Validation:** report the exact commands and observed result; never claim success after a failed restore,\n  build, target framework, or test run.\n- **Deferred:** for a mixed request, name the behavior\u002Fcontract change intentionally left undone and its\n  correct next workflow. Omit this line when nothing was deferred.\n\n## Cross-boundary hazards (only when it touches a boundary)\n\nIf — and only if — the change touches a **public** symbol, a **multi-targeted** project, or\n`partial`\u002Fgenerated code, some breaks won't show up as a failing test. Search the repo for the surface\nthat governs the symbol (don't assume): the public-API gate (`PublicAPI.Shipped\u002FUnshipped.txt` for\nPublicApiAnalyzers, and\u002For `ApiCompat`\u002F`\u003CEnablePackageValidation>` — not interchangeable),\n`\u003CTargetFrameworks>`\u002F`#if` branches, and `InternalsVisibleTo`. Moving a public type to another assembly\nneeds `[TypeForwardedTo]` in the original assembly; a move within one assembly does not. A public\n*rename* needs an `[Obsolete]` shim, not a forwarder. For a provably local\u002Fprivate change, skip these\nchecks.\n\n## Stop and ask when\n\n- The baseline is already red (you can't prove you preserved behavior).\n- A public\u002Fshipped API would change without a forwarder\u002Fshim or explicit authorization for a breaking change.\n- Equivalence depends on runtime behavior tests don't cover (reflection, DI, serialization, `dynamic`,\n  P\u002FInvoke) — flag it.\n",{"name":5,"license":15,"description":7},"main","30954af1dcd1a74b63f05deb2e2c41e5ecae4a82","02-CSharp-WPF-Desktop-Development\u002Fcsharp-refactoring","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack","https:\u002F\u002Fgithub.com\u002Fitsmejay18","2026-09-18 16:06:36",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill csharp-refactoring",{"tool":36,"command":37},"bunx","bunx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill csharp-refactoring",{"tool":39,"command":40},"pnpm","pnpm dlx skills add itsmejay18\u002FAI-Skills-for-My-Development-Stack --skill csharp-refactoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fcsharp-refactoring\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Foperation-catalog.md","REFERENCE","参考文档",2875,"https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F02-CSharp-WPF-Desktop-Development\u002Fcsharp-refactoring\u002Freferences\u002Foperation-catalog.md",[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M7D2RKBHPZ3E1RNN5DWHT550","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 Vector\u003CT>, 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\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fvectorization\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7D2RDJ7RN3QK8GJR0QTER1D","resolve-project-references","Guide for interpreting ResolveProjectReferences time in MSBuild performance summaries. Activate when ResolveProjectReferences appears as the most expensive target and developers are trying to optimize it directly. Explains that the reported time includes wait time for dependent project builds and is misleading. Guides users to focus on task self-time instead. Do not activate for general build performance -- use build-perf-diagnostics instead.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fresolve-project-references\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7D2R1H2GTNZYHG9YRX3JDQW","optimizing-ef-core-queries","Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster. Use whenever an EF Core or DbContext query or data-access path is slow or should be made faster — whether or not EF Core owns the database schema. For EF Core, not Dapper or raw ADO.NET.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Foptimizing-ef-core-queries\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7D2QREG04W1YT0NEBHEW5C9","microbenchmarking","Activate this skill when BenchmarkDotNet (BDN) is involved in the task — creating, running, configuring, or reviewing BDN benchmarks. Also activate when microbenchmarking .NET code would be useful and BenchmarkDotNet is the likely tool. Consider activating when answering a .NET performance question requires measurement and BenchmarkDotNet may be needed. Covers microbenchmark design, BDN configuration and project setup, how to run BDN microbenchmarks efficiently and effectively, and using BDN for side-by-side performance comparisons. Do NOT use for profiling\u002Ftracing .NET code (dotnet-trace, PerfView), production telemetry, or load\u002Fstress testing (Crank, k6).","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fmicrobenchmarking\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D2QGE175XWPZVACVH2868Z","incremental-build","Guide for optimizing MSBuild incremental builds. USE FOR: builds slower than expected on subsequent runs, 'nothing changed but it rebuilds anyway', diagnosing why targets re-execute unnecessarily, fixing broken no-op builds. Covers 8 common causes: missing Inputs\u002FOutputs on custom targets, volatile properties in output paths (timestamps\u002FGUIDs), file writes outside tracked Outputs, missing FileWrites registration, glob changes, Visual Studio Fast Up-to-Date Check (FUTDC) issues. Key diagnostic: look for 'Building target completely' vs 'Skipping target' in binlog. DO NOT USE FOR: first-time build slowness (use build-perf-baseline), parallelism issues (use build-parallelism), evaluation-phase slowness (use eval-performance), non-MSBuild build systems.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Fincremental-build\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D2Q1DQTC6K49R73WQTTPSB","eval-performance","Guide for diagnosing and improving MSBuild project evaluation performance. USE FOR: builds slow before any compilation starts, high evaluation time in binlog analysis, expensive glob patterns walking large directories (node_modules, .git, bin\u002Fobj), deep import chains (>20 levels), preprocessed output >10K lines indicating heavy evaluation, property functions with file I\u002FO ($([System.IO.File]::ReadAllText(...))), multiple evaluations per project. Covers the 5 MSBuild evaluation phases, glob optimization via DefaultItemExcludes, import chain analysis with \u002Fpp preprocessing. DO NOT USE FOR: compilation-time slowness (use build-perf-diagnostics), incremental build issues (use incremental-build), non-MSBuild build systems.","https:\u002F\u002Fgithub.com\u002Fitsmejay18\u002FAI-Skills-for-My-Development-Stack\u002Fblob\u002Fmain\u002F20-Performance-Optimization\u002Feval-performance\u002FSKILL.md",[],[]]