[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXW0XCD8DG3B9PH5TS9P8D":3,"skill-same:01M6BXW0XCD8DG3B9PH5TS9P8D":130},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":29,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":14,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6BXW0XCD8DG3B9PH5TS9P8D","msbuild","MSBuild 构建故障排查","Investigates MSBuild build failures, diagnoses build performance, and reviews build XML and extension contracts using binary logs. Use for failing dotnet build, restore, pack, or publish; .binlog capture and replay; project, props, and targets conditions; custom-target inputs\u002Foutputs; Import\u002FExists hooks and packed NuGet imports; slow evaluation, compilation, copying, or no-change builds; and controlled timing comparisons. Not for legacy or non-SDK project migration, framework or package upgrades, SDK installation, C# refactoring, runtime profiling, assertions after a successful build, or non-MSBuild builds.","使用二进制日志调查 MSBuild 构建失败、诊断构建性能，并审查构建 XML 与扩展契约。适用于 dotnet build、restore、pack 或 publish 失败；.binlog 捕获与回放；project、props 与 targets 条件；自定义 target 的输入\u002F输出；Import\u002FExists 钩子与打包的 NuGet 导入；求值、编译、复制缓慢或无变更构建；以及受控的耗时对比。不适用于旧版或非 SDK 项目迁移、框架或包升级、SDK 安装、C# 重构、运行时性能剖析、构建成功后的断言，或非 MSBuild 构建。","Cratis\u002FSpecifications","Cratis","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16456213?v=4","01M6BXRH290K4C8RS4PTKK3HXQ","01M6BXRH6YXJMJ3140T8TVBSB4",1,"MIT","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002FSKILL.md",[19,24],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[5,30,31,32,33,34,35,36,37,38,39,40,41],"sdk","performance","dotnet","change","nuget","framework","package","xml","logs","publish","Evaluation","refactoring","2026-11-10 10:12:30",false,"---\nname: msbuild\ndescription: 'Investigates MSBuild build failures, diagnoses build performance, and reviews build XML and extension contracts using binary logs. Use for failing dotnet build, restore, pack, or publish; .binlog capture and replay; project, props, and targets conditions; custom-target inputs\u002Foutputs; Import\u002FExists hooks and packed NuGet imports; slow evaluation, compilation, copying, or no-change builds; and controlled timing comparisons. Not for legacy or non-SDK project migration, framework or package upgrades, SDK installation, C# refactoring, runtime profiling, assertions after a successful build, or non-MSBuild builds.'\nlicense: MIT\n---\n\u003C!-- cratis-ai-managed: skills\u002Fmsbuild\u002FSKILL.md -->\n\n\u003C!-- Modified by Cratis from dotnet's original (MIT): frontmatter, applicability, navigation and the changes listed in NOTICE. Upstream: https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills (plugins\u002Fdotnet\u002Fskills\u002Fmsbuild\u002FSKILL.md; see NOTICE) -->\n\n# MSBuild troubleshooting\n\nCratis rules in `.cratis\u002Fai\u002Frules\u002F` (including `csharp.md`, `specs.csharp.md`, and `orleans.md`) and the `cratis-*` skills win where they differ.\n\nThis is the entry skill. Choose **troubleshooting**, **performance**, or **authoring review**, then\nread only the relevant local references. The references retain the content and identities of\nthe original MSBuild skills, with correctness fixes; they are not separate skills to activate.\n\n## Start with the task and evidence\n\nFor tasks that need a checkout, discover the relevant project\u002Fsolution, shared build files, SDK\nselection, and repository build instructions in the current workspace. Preserve the original command, working directory,\nconfiguration, target framework, runtime identifier, global properties, and target.\nAsk only for consequential information that cannot be discovered.\n\nAn existing `.binlog` can be the only available artifact. Analyze it before requesting a new\nbuild; paths inside it do not prove a checkout exists locally. For a self-contained static review\nor advisory question, use the supplied XML and relevant references; do not require a checkout,\nrestore, build, or binlog.\n\nFor a mixed request, fix correctness before measuring successful builds, and keep authoring review\nseparate from a performance experiment. A failing test assertion after a successful build is not\nan MSBuild failure.\n\n## 1. Troubleshoot build issues\n\n**Goal:** identify the independent root causes and make the smallest repair, not a broad cleanup.\n\n| Situation | Read | Action |\n| --- | --- | --- |\n| A build failed and a binary log exists | [binlog-failure-analysis](references\u002Fbinlog-failure-analysis.md) | Replay the log with MSBuild; connect errors to the responsible project instance, target, and task. Separate root causes from cascading failures. |\n| The failure needs evidence and no matching log exists | [binlog-generation](references\u002Fbinlog-generation.md), then [failure analysis](references\u002Fbinlog-failure-analysis.md) | Capture the original invocation once, verify the artifact, and analyze it. |\n| A project\u002Fbuild file has incorrect conditions, items, properties, or output paths | [msbuild-antipatterns](references\u002Fmsbuild-antipatterns.md) | Select the relevant catalog entries and check their exceptions before changing anything. |\n| Imports or build hooks are missing, overwritten, or run in the wrong order | [extension-points](references\u002Fextension-points.md) | Inspect the import contract, discovery order, and packed NuGet layout rather than hiding a required failure. |\n| Outputs are stale or required work is skipped | [incremental-build](references\u002Fincremental-build.md) | Prove which input, output, timestamp, item, or condition makes the decision wrong. Correctness takes priority over speed. |\n\nAfter a repair, rerun the original failing scenario and check affected dependents. If only a log\nis available, provide an evidence-backed proposed fix and say it was not applied or rebuilt.\nDo not turn a targeted failure investigation into solution-wide authoring cleanup.\n\n## 2. Diagnose and improve build performance\n\n**Goal:** measure the reported scenario, identify its bottleneck, change one cause, and compare\nequivalent builds without losing required behavior.\n\n1. Reuse matching measurements. If they are missing, establish the relevant baseline before\n   editing configuration; do not time a failed build as a successful baseline.\n2. Classify evaluation versus target\u002Ftask execution. Inclusive target totals and dependency waits\n   are not additive wall time or proof of CPU utilization.\n3. Follow the measured branch below. Do not apply every optimization in every reference.\n4. Repeat the same scenario, command, input change, and instrumentation. Report spread\u002Fnoise and\n   correctness checks; an isolated faster run is not proof of improvement.\n\n| Situation | Read | Keep distinct |\n| --- | --- | --- |\n| No trustworthy before\u002Fafter measurements, or a baseline\u002Fcontrolled optimization is requested | [build-perf-baseline](references\u002Fbuild-perf-baseline.md) | Cold-output, warm changed-input, and no-change builds; restore\u002Fcache state; ordinary Build versus forced Rebuild. |\n| The expensive work is not yet identified, or compiler\u002Fanalyzer\u002Freference\u002Frestore time dominates | [build-perf-diagnostics](references\u002Fbuild-perf-diagnostics.md) | Actual task cost versus orchestration waits, overlapping durations, and missing instrumentation. |\n| Time is spent before target execution, in globs, imports, or property evaluation | [eval-performance](references\u002Feval-performance.md) | Evaluation versus execution; legitimate versus accidental project instances. |\n| Content copies or output I\u002FO dominate | [copy-to-output-directory](references\u002Fcopy-to-output-directory.md) | Copy mode\u002Fversion support, unchanged copies, and the intended handling of a modified destination. |\n| A second unchanged build recompiles\u002Fregenerates, or incremental behavior is broken | [incremental-build](references\u002Fincremental-build.md) | Expected invalidation versus missing tracking; changed\u002Fadded\u002Fremoved inputs and missing outputs. |\n\nStop when the suspected bottleneck is not supported by evidence, results fall within noise, or\ncorrectness regresses. Report missing measurements rather than manufacturing a complete baseline.\n\n## 3. Review build authoring\n\n**Goal:** improve project\u002Fbuild-file structure and extension contracts while preserving behavior.\nThis route means MSBuild authoring cleanup, not an implicit framework, package, language,\nor legacy project-system migration.\n\n| Requested change | Read | Preserve |\n| --- | --- | --- |\n| Review\u002Fclean up project files, shared properties, item declarations, or custom targets | [msbuild-antipatterns](references\u002Fmsbuild-antipatterns.md) | Intentional overrides, F# source order, required imports, package assets, and actual input\u002Foutput contracts. |\n| Review\u002Fimprove hooks, imports, shared-file discovery, or NuGet build extensions | [extension-points](references\u002Fextension-points.md) | Prior hooks, evaluation order, direct\u002Ftransitive consumer behavior, and the packed layout. |\n| Restructure generation or copying as part of cleanup | [incremental-build](references\u002Fincremental-build.md) and [copy-to-output-directory](references\u002Fcopy-to-output-directory.md), as applicable | First-build and no-change behavior, invalidation, generated-item registration, and output completeness. |\n\nRecord the existing contract before editing. Review only relevant catalog entries; a matching text\npattern is not proof of a defect. Leave already-correct patterns unchanged. Validate the original\nconfigurations, relevant consumers, and affected incremental\u002Fpack\u002Fpublish behavior.\n\n## Shared evidence and safety\n\n- For capture-only requests, use [binlog-generation](references\u002Fbinlog-generation.md), report the\n  new artifact and original exit code, and stop. For analysis, use\n  [MSBuild replay](references\u002Fbinlog-failure-analysis.md#replay-a-binary-log), never binary-file\n  text parsing. Replay success and replay duration are not the recorded build's result or duration.\n- Resolve these files relative to this skill. Do not load the original plugin's skills or search\n  other installations\u002Fcheckouts. If a bundled reference is missing, allow one listing of\n  `references`, report the gap, and do not pretend its guidance was followed.\n- Do not clean outputs\u002Fcaches, stop shared build servers, disable diagnostics, change SDKs, or\n  serialize builds as generic fixes. Scope any necessary destructive experiment to approved,\n  owned outputs. Keep binary and replayed logs local unless sharing is authorized.\n- Distinguish recorded facts from hypotheses. Missing source, log detail, tools, or platform\n  support must be reported explicitly, not replaced with assumed values or invented verification.\n\n## Completion\n\nReturn the selected task, the cause\u002Fbottleneck or authoring decision, supporting evidence,\nand the minimal change made or proposed. State when no change is needed. Give the exact\nverification and result, distinguishing successful, failed, and not-run checks; performance work\nalso needs comparable measurements and uncertainty. Keep the response proportional to the task.\n\n> **Cratis:** Only as a labelled timing experiment; restore analyzers and warnings-as-errors and run the real gate before finishing.\n\n## Reference navigation\n\n- Read references\u002Fantipatterns\u002Fadditional-antipatterns.md when working on additional antipatterns.\n- Read references\u002Fantipatterns\u002Fincremental-build-inputs-outputs.md when working on incremental build inputs outputs.\n- Read references\u002Fantipatterns\u002Fprivate-assets.md when working on private assets.\n","\u003C!-- cratis-ai-managed: skills\u002Fmsbuild\u002FSKILL.md -->\n\n\u003C!-- Modified by Cratis from dotnet's original (MIT): frontmatter, applicability, navigation and the changes listed in NOTICE. Upstream: https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills (plugins\u002Fdotnet\u002Fskills\u002Fmsbuild\u002FSKILL.md; see NOTICE) -->\n\n# MSBuild troubleshooting\n\nCratis rules in `.cratis\u002Fai\u002Frules\u002F` (including `csharp.md`, `specs.csharp.md`, and `orleans.md`) and the `cratis-*` skills win where they differ.\n\nThis is the entry skill. Choose **troubleshooting**, **performance**, or **authoring review**, then\nread only the relevant local references. The references retain the content and identities of\nthe original MSBuild skills, with correctness fixes; they are not separate skills to activate.\n\n## Start with the task and evidence\n\nFor tasks that need a checkout, discover the relevant project\u002Fsolution, shared build files, SDK\nselection, and repository build instructions in the current workspace. Preserve the original command, working directory,\nconfiguration, target framework, runtime identifier, global properties, and target.\nAsk only for consequential information that cannot be discovered.\n\nAn existing `.binlog` can be the only available artifact. Analyze it before requesting a new\nbuild; paths inside it do not prove a checkout exists locally. For a self-contained static review\nor advisory question, use the supplied XML and relevant references; do not require a checkout,\nrestore, build, or binlog.\n\nFor a mixed request, fix correctness before measuring successful builds, and keep authoring review\nseparate from a performance experiment. A failing test assertion after a successful build is not\nan MSBuild failure.\n\n## 1. Troubleshoot build issues\n\n**Goal:** identify the independent root causes and make the smallest repair, not a broad cleanup.\n\n| Situation | Read | Action |\n| --- | --- | --- |\n| A build failed and a binary log exists | [binlog-failure-analysis](references\u002Fbinlog-failure-analysis.md) | Replay the log with MSBuild; connect errors to the responsible project instance, target, and task. Separate root causes from cascading failures. |\n| The failure needs evidence and no matching log exists | [binlog-generation](references\u002Fbinlog-generation.md), then [failure analysis](references\u002Fbinlog-failure-analysis.md) | Capture the original invocation once, verify the artifact, and analyze it. |\n| A project\u002Fbuild file has incorrect conditions, items, properties, or output paths | [msbuild-antipatterns](references\u002Fmsbuild-antipatterns.md) | Select the relevant catalog entries and check their exceptions before changing anything. |\n| Imports or build hooks are missing, overwritten, or run in the wrong order | [extension-points](references\u002Fextension-points.md) | Inspect the import contract, discovery order, and packed NuGet layout rather than hiding a required failure. |\n| Outputs are stale or required work is skipped | [incremental-build](references\u002Fincremental-build.md) | Prove which input, output, timestamp, item, or condition makes the decision wrong. Correctness takes priority over speed. |\n\nAfter a repair, rerun the original failing scenario and check affected dependents. If only a log\nis available, provide an evidence-backed proposed fix and say it was not applied or rebuilt.\nDo not turn a targeted failure investigation into solution-wide authoring cleanup.\n\n## 2. Diagnose and improve build performance\n\n**Goal:** measure the reported scenario, identify its bottleneck, change one cause, and compare\nequivalent builds without losing required behavior.\n\n1. Reuse matching measurements. If they are missing, establish the relevant baseline before\n   editing configuration; do not time a failed build as a successful baseline.\n2. Classify evaluation versus target\u002Ftask execution. Inclusive target totals and dependency waits\n   are not additive wall time or proof of CPU utilization.\n3. Follow the measured branch below. Do not apply every optimization in every reference.\n4. Repeat the same scenario, command, input change, and instrumentation. Report spread\u002Fnoise and\n   correctness checks; an isolated faster run is not proof of improvement.\n\n| Situation | Read | Keep distinct |\n| --- | --- | --- |\n| No trustworthy before\u002Fafter measurements, or a baseline\u002Fcontrolled optimization is requested | [build-perf-baseline](references\u002Fbuild-perf-baseline.md) | Cold-output, warm changed-input, and no-change builds; restore\u002Fcache state; ordinary Build versus forced Rebuild. |\n| The expensive work is not yet identified, or compiler\u002Fanalyzer\u002Freference\u002Frestore time dominates | [build-perf-diagnostics](references\u002Fbuild-perf-diagnostics.md) | Actual task cost versus orchestration waits, overlapping durations, and missing instrumentation. |\n| Time is spent before target execution, in globs, imports, or property evaluation | [eval-performance](references\u002Feval-performance.md) | Evaluation versus execution; legitimate versus accidental project instances. |\n| Content copies or output I\u002FO dominate | [copy-to-output-directory](references\u002Fcopy-to-output-directory.md) | Copy mode\u002Fversion support, unchanged copies, and the intended handling of a modified destination. |\n| A second unchanged build recompiles\u002Fregenerates, or incremental behavior is broken | [incremental-build](references\u002Fincremental-build.md) | Expected invalidation versus missing tracking; changed\u002Fadded\u002Fremoved inputs and missing outputs. |\n\nStop when the suspected bottleneck is not supported by evidence, results fall within noise, or\ncorrectness regresses. Report missing measurements rather than manufacturing a complete baseline.\n\n## 3. Review build authoring\n\n**Goal:** improve project\u002Fbuild-file structure and extension contracts while preserving behavior.\nThis route means MSBuild authoring cleanup, not an implicit framework, package, language,\nor legacy project-system migration.\n\n| Requested change | Read | Preserve |\n| --- | --- | --- |\n| Review\u002Fclean up project files, shared properties, item declarations, or custom targets | [msbuild-antipatterns](references\u002Fmsbuild-antipatterns.md) | Intentional overrides, F# source order, required imports, package assets, and actual input\u002Foutput contracts. |\n| Review\u002Fimprove hooks, imports, shared-file discovery, or NuGet build extensions | [extension-points](references\u002Fextension-points.md) | Prior hooks, evaluation order, direct\u002Ftransitive consumer behavior, and the packed layout. |\n| Restructure generation or copying as part of cleanup | [incremental-build](references\u002Fincremental-build.md) and [copy-to-output-directory](references\u002Fcopy-to-output-directory.md), as applicable | First-build and no-change behavior, invalidation, generated-item registration, and output completeness. |\n\nRecord the existing contract before editing. Review only relevant catalog entries; a matching text\npattern is not proof of a defect. Leave already-correct patterns unchanged. Validate the original\nconfigurations, relevant consumers, and affected incremental\u002Fpack\u002Fpublish behavior.\n\n## Shared evidence and safety\n\n- For capture-only requests, use [binlog-generation](references\u002Fbinlog-generation.md), report the\n  new artifact and original exit code, and stop. For analysis, use\n  [MSBuild replay](references\u002Fbinlog-failure-analysis.md#replay-a-binary-log), never binary-file\n  text parsing. Replay success and replay duration are not the recorded build's result or duration.\n- Resolve these files relative to this skill. Do not load the original plugin's skills or search\n  other installations\u002Fcheckouts. If a bundled reference is missing, allow one listing of\n  `references`, report the gap, and do not pretend its guidance was followed.\n- Do not clean outputs\u002Fcaches, stop shared build servers, disable diagnostics, change SDKs, or\n  serialize builds as generic fixes. Scope any necessary destructive experiment to approved,\n  owned outputs. Keep binary and replayed logs local unless sharing is authorized.\n- Distinguish recorded facts from hypotheses. Missing source, log detail, tools, or platform\n  support must be reported explicitly, not replaced with assumed values or invented verification.\n\n## Completion\n\nReturn the selected task, the cause\u002Fbottleneck or authoring decision, supporting evidence,\nand the minimal change made or proposed. State when no change is needed. Give the exact\nverification and result, distinguishing successful, failed, and not-run checks; performance work\nalso needs comparable measurements and uncertainty. Keep the response proportional to the task.\n\n> **Cratis:** Only as a labelled timing experiment; restore analyzers and warnings-as-errors and run the real gate before finishing.\n\n## Reference navigation\n\n- Read references\u002Fantipatterns\u002Fadditional-antipatterns.md when working on additional antipatterns.\n- Read references\u002Fantipatterns\u002Fincremental-build-inputs-outputs.md when working on incremental build inputs outputs.\n- Read references\u002Fantipatterns\u002Fprivate-assets.md when working on private assets.\n",{"name":5,"license":15,"description":7},"main","c392076c8b3fae3b8b31e7d5684d71f9be75e8bb",".cratis\u002Fai\u002Fskills\u002Fmsbuild","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications","https:\u002F\u002Fwww.cratis.io\u002Fspecifications\u002F","https:\u002F\u002Fgithub.com\u002FCratis","https:\u002F\u002Fwww.cratis.io","Open-source (MIT) event sourcing and CQRS for .NET and beyond: Chronicle, Arc, Components and Screenplay.","2026-11-14 15:53:54",{"source":9,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add Cratis\u002FSpecifications --skill msbuild",{"tool":62,"command":63},"bunx","bunx skills add Cratis\u002FSpecifications --skill msbuild",{"tool":65,"command":66},"pnpm","pnpm dlx skills add Cratis\u002FSpecifications --skill msbuild","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002FSKILL.md",true,[70,74,80,86,90,94,98,102,106,110,114,118,122,126],{"path":71,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":16},"LICENSE","许可证",1160,{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"NOTICE","OTHER","其他",3011,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002FNOTICE",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fantipatterns\u002Fadditional-antipatterns.md","REFERENCE","参考文档",13353,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fantipatterns\u002Fadditional-antipatterns.md",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fantipatterns\u002Fincremental-build-inputs-outputs.md",3143,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fantipatterns\u002Fincremental-build-inputs-outputs.md",{"path":91,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fantipatterns\u002Fprivate-assets.md",1630,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fantipatterns\u002Fprivate-assets.md",{"path":95,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fbinlog-failure-analysis.md",4970,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fbinlog-failure-analysis.md",{"path":99,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fbinlog-generation.md",3453,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fbinlog-generation.md",{"path":103,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fbuild-perf-baseline.md",19285,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fbuild-perf-baseline.md",{"path":107,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fbuild-perf-diagnostics.md",14631,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fbuild-perf-diagnostics.md",{"path":111,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fcopy-to-output-directory.md",8525,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fcopy-to-output-directory.md",{"path":115,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":116,"sourceHtmlUrl":117},"references\u002Feval-performance.md",8981,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Feval-performance.md",{"path":119,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fextension-points.md",13696,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fextension-points.md",{"path":123,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":124,"sourceHtmlUrl":125},"references\u002Fincremental-build.md",16783,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fincremental-build.md",{"path":127,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":128,"sourceHtmlUrl":129},"references\u002Fmsbuild-antipatterns.md",17074,"https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fmsbuild\u002Freferences\u002Fmsbuild-antipatterns.md",[131,152,170,201,226,243],{"skillNo":132,"name":133,"nameZh":134,"description":135,"descriptionZh":136,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":137,"sourceHtmlUrl":138,"categories":139,"keywords":144,"publishedAt":42},"01M6BXWPJZ1W4FTAZ7N0B718XQ","vectorization",".NET SIMD 向量化代码","Designs, implements, optimizes, and reviews SIMD code in .NET: vectorizing scalar loops with TensorPrimitives, Vector64, Vector128, Vector256, Vector512, or hardware intrinsics, and reviewing existing SIMD code, including the generic Vector type, for contract equivalence, tail handling, memory safety, portability, fallbacks, and measured performance. Use when a .NET loop or SIMD routine is being written or reviewed. Not for performance work unrelated to SIMD.","设计、实现、优化和审查 .NET 中的 SIMD 代码：使用 TensorPrimitives、Vector64、Vector128、Vector256、Vector512 或硬件内部函数将标量循环向量化，并审查现有 SIMD 代码（包括泛型 Vector 类型）的契约等价性、尾部处理、内存安全性、可移植性、回退方案和实测性能。当正在编写或审查 .NET 循环或 SIMD 例程时使用。不用于与 SIMD 无关的性能工作。","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fvectorization\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fvectorization\u002FSKILL.md",[140,141],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":142,"categoryName":143,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C796JZ1YCTM2B2X7TKEWZZ","性能剖析与优化",[133,145,146,147,148,149,31,150,151],"loop","Safety","simd","vector","code","memory safety","memory",{"skillNo":153,"name":154,"nameZh":155,"description":156,"descriptionZh":157,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":163,"publishedAt":42},"01M6BXWKDP8VKEXE9WN5R8R1E0","target-authoring","MSBuild自定义目标编写","Canonical patterns for writing custom MSBuild targets: DependsOnTargets versus BeforeTargets and AfterTargets, the Build-to-CoreBuild three-level pattern, and the XxxDependsOn chain-extension pattern. Use when diagnosing or fixing custom-target anti-patterns: Directory.Build.targets redefining SDK targets, targets that replace CompileDependsOn instead of extending it, Outputs versus Returns misuse that returns stale results, missing Inputs\u002FOutputs causing needless rebuilds, or missing FileWrites registration. Not for incremental build tuning or general anti-pattern review (use the msbuild skill), or non-MSBuild build systems.","编写自定义 MSBuild target 的规范模式：DependsOnTargets 与 BeforeTargets、AfterTargets 的区别，Build-to-CoreBuild 三级模式，以及 XxxDependsOn 链式扩展模式。用于诊断或修复自定义 target 的反模式：Directory.Build.targets 重新定义 SDK target、target 替换而非扩展 CompileDependsOn、Outputs 与 Returns 误用导致返回过期结果、缺少 Inputs\u002FOutputs 导致不必要的重新构建，或缺少 FileWrites 注册。不适用于增量构建调优或一般反模式审查（使用 msbuild 技能），也不适用于非 MSBuild 构建系统。","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Ftarget-authoring\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Ftarget-authoring\u002FSKILL.md",[161,162],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":25,"categoryName":26,"taxonomyType":27,"taxonomyTypeDesc":28},[164,5,165,166,30,167,168,169],"target authoring","tuning","incremental build","review","directory","writing",{"skillNo":171,"name":172,"nameZh":173,"description":174,"descriptionZh":175,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":176,"sourceHtmlUrl":177,"categories":178,"keywords":185,"publishedAt":42},"01M6BXWG0724RVJDEE4SQBEF8P","run-tests",".NET测试命令执行","Chooses and runs the repository-compatible .NET test command: classic, VSTest, bridged MTP, or native MTP syntax for MSTest, xUnit, NUnit, and TUnit. Use before running .NET tests or answering with a test command or flags: run the tests, one test, class, category, trait or target framework, combined filters, --filter-query, --no-build, --diag, TRX, coverage collection, crash or hang dumps, filter errors, or unrecognized options. Not for platform identification alone (use platform-detection), writing or debugging test code, interpreting a coverage report (use coverage-analysis), CI investigation, migration, or a persistent hot-reload loop.","选择并运行与仓库兼容的 .NET 测试命令：针对 MSTest、xUnit、NUnit 和 TUnit 的 classic、VSTest、bridged MTP 或 native MTP 语法。在运行 .NET 测试或需要给出测试命令\u002F标志时使用：运行全部测试、单个测试、测试类、类别、trait 或目标框架、组合筛选器、--filter-query、--no-build、--diag、TRX、覆盖率收集、崩溃或挂起转储、筛选错误或无法识别的选项。不适用于仅做平台识别（使用 platform-detection）、编写或调试测试代码、解读覆盖率报告（使用 coverage-analysis）、CI 调查、迁移或持续的热重载循环。","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Frun-tests\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Frun-tests\u002FSKILL.md",[179,182],{"categoryNo":180,"categoryName":181,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":183,"categoryName":184,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[186,187,188,189,190,191,35,192,149,193,194,195,196,169,197,198,199,145,200],"run tests","run","collection","detection","ci","repository","report","debugging","mtp","mstest","test","analysis","xunit","nunit","investigation",{"skillNo":202,"name":203,"nameZh":204,"description":205,"descriptionZh":206,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":207,"sourceHtmlUrl":208,"categories":209,"keywords":212,"publishedAt":42},"01M6BXWCTS8TECDKSYFJT9C445","profiling",".NET 性能剖析","Uses the free official .NET diagnostics CLI tools for profiling and runtime investigation in a repository: CPU, GC pressure, allocation growth, exception storms, lock contention, and slow code. Use when a .NET application needs performance or runtime profiling. Not for replacing realistic performance or load tests with ad-hoc tracing, production heap collection without a pause-risk plan, crash dumps (use dump-collect), or benchmark design (use microbenchmarking).","使用免费的官方 .NET 诊断 CLI 工具在代码仓库中进行性能剖析和运行时调查：CPU、GC 压力、分配增长、异常风暴、锁竞争和慢代码。当 .NET 应用程序需要性能或运行时剖析时使用。不适用于用临时跟踪替代真实的性能或负载测试、无暂停风险计划的生产堆内存采集、崩溃转储（使用 dump-collect），或基准测试设计（使用 microbenchmarking）。","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fprofiling\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fprofiling\u002FSKILL.md",[210,211],{"categoryNo":20,"categoryName":21,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":142,"categoryName":143,"taxonomyType":27,"taxonomyTypeDesc":28},[203,188,213,214,200,215,31,216,217,191,218,219,220,149,221,222,223,224,225],"microbenchmarking","plan","Tools","risk","Production","collect","tracing","benchmark","diagnostics","official","first","cli","design",{"skillNo":227,"name":228,"nameZh":229,"description":230,"descriptionZh":231,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":232,"sourceHtmlUrl":233,"categories":234,"keywords":237,"publishedAt":42},"01M6BXW9N4G1NTMKNVBECTM2GM","platform-detection",".NET 测试平台识别","Identifies a .NET project's test platform, framework, command mode, and SDK-style versus classic project system, resolving global.json, project, packages.config, Directory.Build.props, and Directory.Packages.props precedence for MSTest, xUnit, NUnit, and TUnit. Use when asking \"which test platform or framework?\", \"VSTest or MTP?\", or \"what runner does this project use?\", including bridge settings, UseVSTest opt-outs, and conflicting VSTest\u002FMTP configuration. Not for running or filtering tests, commands, flags, TRX, dumps, or test-command errors (use run-tests), or for hot-reload or migration requests.","识别 .NET 项目的测试平台、框架、命令模式，以及 SDK 样式与经典项目系统，并解析 global.json、项目文件、packages.config、Directory.Build.props 和 Directory.Packages.props 对 MSTest、xUnit、NUnit 和 TUnit 的优先级。当询问“使用哪种测试平台或框架”“VSTest 还是 MTP”或“该项目使用什么测试运行器”时使用，包括桥接设置、UseVSTest 退出选项，以及 VSTest\u002FMTP 配置冲突。不适用于运行或筛选测试、命令、标志、TRX、转储或测试命令错误（使用 run-tests），也不适用于热重载或迁移请求。","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fplatform-detection\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Fplatform-detection\u002FSKILL.md",[235,236],{"categoryNo":180,"categoryName":181,"taxonomyType":22,"taxonomyTypeDesc":23},{"categoryNo":183,"categoryName":184,"taxonomyType":27,"taxonomyTypeDesc":28},[238,189,194,195,196,30,168,239,198,199,240,241,35,187,242],"platform detection","config","json","system","packages",{"skillNo":244,"name":245,"nameZh":246,"description":247,"descriptionZh":248,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":10,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":249,"sourceHtmlUrl":250,"categories":251,"keywords":258,"publishedAt":42},"01M6BXW4VVFJH0WDPATWMFE9TY","orleans","Orleans 分布式系统设计","Designs Microsoft Orleans systems from each primitive's purpose and failure model: grains, digital twins, state versus databases, transactions, messaging, streams, timers, reminders, Durable Jobs, stateless workers, grain services, startup, and hosting. Use when a task needs an Orleans design decision: inspect version and topology, choose the primitive, implement, and validate. Not for other actor stacks, batch processing, relational-only CRUD, or advice without an Orleans decision.","从每种原语的用途和失效模型出发设计 Microsoft Orleans 系统：grain、数字孪生、状态与数据库、事务、消息传递、流（streams）、计时器（timers）、提醒（reminders）、Durable Jobs（持久作业）、无状态工作进程、grain 服务、启动与托管。当任务需要做出 Orleans 设计决策时使用：检查版本与拓扑、选择原语、实现并验证。不适用于其他 actor 技术栈、批处理、纯关系型 CRUD，或不涉及 Orleans 决策的建议。","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Forleans\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCratis\u002FSpecifications\u002Fblob\u002Fmain\u002F.cratis\u002Fai\u002Fskills\u002Forleans\u002FSKILL.md",[252,255],{"categoryNo":253,"categoryName":254,"taxonomyType":22,"taxonomyTypeDesc":23},"01M8C4ZVS0ZJKF2T2G58PW5VR2","系统架构师",{"categoryNo":256,"categoryName":257,"taxonomyType":27,"taxonomyTypeDesc":28},"01M8C535MHXGXDSGN98VJTMCSK","系统架构设计模式",[245,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,225],"startup","decision","choose","model","crud","transactions","services","topology","messaging","batch","state","reminders","validate","microsoft","implement"]