[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699FRARXJRES5AS02WE1HKS":3,"skill-same:01M699FRARXJRES5AS02WE1HKS":132},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M699FRARXJRES5AS02WE1HKS","setup-local-sdk",null,"Install a .NET SDK locally for safe preview testing, specific-version pinning, or reproducible team setups — without modifying the system-wide installation. USE FOR: trying .NET previews safely, testing specific SDK versions, installing MAUI or other workloads on a preview, updating or replacing an existing local SDK, creating reproducible team\u002FCI install scripts, configuring global.json paths. DO NOT USE FOR: system-wide SDK installs, .NET hosts older than 10, runtime-only installs, or projects not using SDK-style commands.","microsoft\u002Ftestfx","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M699C71CJ91B5WZ3AXG3GG2M",1059,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsetup-local-sdk\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"sdk","setup local sdk","setup","local","only","for","hosts","paths","scripts","runtime","commands","preview","do","testing","install","projects","team","Reproducible","ci","safe","2026-11-10 10:12:30",false,"---\nname: setup-local-sdk\nlicense: MIT\ndescription: >\n  Install a .NET SDK locally for safe preview testing, specific-version pinning, or\n  reproducible team setups — without modifying the system-wide installation.\n  USE FOR: trying .NET previews safely, testing specific SDK versions, installing MAUI\n  or other workloads on a preview, updating or replacing an existing local SDK,\n  creating reproducible team\u002FCI install scripts, configuring global.json paths.\n  DO NOT USE FOR: system-wide SDK installs, .NET hosts older than 10, runtime-only\n  installs, or projects not using SDK-style commands.\n---\n\n# setup-local-sdk\n\n## Purpose\n\nGuide the user through installing a .NET SDK into a project-local `.dotnet\u002F`\ndirectory and wiring it up via the `global.json` `paths` feature (.NET 10+).\nThe examples use .NET 11, but this works with any version — prerelease or stable.\n\nThe result is a fully isolated SDK that:\n- Does **not** modify the system-wide .NET installation.\n- Is picked up automatically by `dotnet` commands from the project root.\n- Can be deleted to revert (`rm -rf .dotnet\u002F` or `Remove-Item -Recurse -Force .\\.dotnet`).\n\n## When NOT to use\n\n- User wants a **system-wide** install — direct to the official installer.\n- Host `dotnet` is **older than v10** — `paths` doesn't exist; explain and stop.\n- User needs a **runtime-only** install — `paths` applies to SDK resolution only.\n\n## Inputs \u002F Prerequisites\n\n| Input | Required | Default | Notes |\n|---|---|---|---|\n| Channel or version | No | `11.0` | e.g. `11.0`, `STS`, `LTS`, or an exact version like `11.0.100-preview.2.26159.112` |\n| Quality | No | `preview` | One of: `daily`, `preview`, `ga` |\n| jq | No | — | Optional for bash team scripts when patching an existing `global.json`; without it, do not overwrite the file |\n\n### Prerequisites\n\n1. **A .NET 10+ SDK is installed globally** — run `dotnet --version`; major ≥ 10.\n2. **curl** (macOS\u002FLinux) or **PowerShell** (Windows) is available.\n\n## Workflow\n\n### Step 1 — Clarify what to install\n\nIf the user didn't specify, ask what .NET SDK version they want (e.g., \"latest\n.NET 11 preview\" or an exact version like `11.0.100-preview.2.26159.112`).\nMap the answer to `--channel`\u002F`--quality` or `--version` flags.\n\n### Step 2 — Verify .NET 10+ host\n\nIf the user already provided `dotnet --version` output, treat that as the\nauthoritative version for their machine. Do not override it with the agent\nworkspace's version; if the two differ, explain that the workspace differs and\ncontinue advising for the user's machine.\n\n```bash\ndotnet --version\n```\n\nIf major version \u003C 10, stop before downloading anything: the `paths` feature\nrequires a .NET 10+ host SDK. Tell the user to install .NET 10 or later\nsystem-wide first, then return to the local SDK setup.\n\n### Step 3 — Detect operating system\n\nRun `uname -s 2>\u002Fdev\u002Fnull`. If it succeeds (including `MINGW*`, `MSYS*`, `CYGWIN*` —\nthese are bash-capable environments like Git Bash) → use bash\u002F`dotnet-install.sh`.\nIf it fails (native Windows without Git Bash) → use PowerShell\u002F`dotnet-install.ps1`.\n\n### Step 4 — Check for existing local SDK\n\n**macOS \u002F Linux:**\n\n```bash\ntest -d .dotnet && echo \"exists\" || echo \"not found\"\n```\n\n**Windows (PowerShell):**\n\n```powershell\nif (Test-Path -LiteralPath .\\.dotnet) { \"exists\" } else { \"not found\" }\n```\n\nIf `.dotnet\u002F` exists, ask: update with the new version, or skip and keep it?\n\n### Step 5 — Download and run the install script\n\n**macOS \u002F Linux:**\n\n```bash\nINSTALL_SCRIPT=\"$(mktemp \"${TMPDIR:-\u002Ftmp}\u002Fdotnet-install.XXXXXX\")\"\ntrap 'rm -f \"$INSTALL_SCRIPT\"' EXIT\ncurl -fsSL https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.sh -o \"$INSTALL_SCRIPT\"\nbash \"$INSTALL_SCRIPT\" --channel \u003CCHANNEL> --quality \u003CQUALITY> --install-dir .dotnet\n```\n\n**Windows (PowerShell):**\n\n```powershell\n$installScript = Join-Path $env:TEMP \"dotnet-install-$([guid]::NewGuid()).ps1\"\ntry {\n    Invoke-WebRequest -Uri 'https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.ps1' -OutFile $installScript\n    & $installScript -Channel \u003CCHANNEL> -Quality \u003CQUALITY> -InstallDir .dotnet\n}\nfinally {\n    if (Test-Path -LiteralPath $installScript) {\n        Remove-Item -LiteralPath $installScript -Force\n    }\n}\n```\n\nFor exact versions: use `--version \u003CVERSION>` (bash) or `-Version \u003CVERSION>` (PowerShell)\ninstead of channel\u002Fquality flags. The install scripts are from Microsoft's official\nURLs: `https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.sh` and `https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.ps1`.\n\n### Step 6 — Identify the installed version\n\n```bash\n.\u002F.dotnet\u002Fdotnet --version          # macOS\u002FLinux\n.\\.dotnet\\dotnet.exe --version      # Windows\n```\n\nRecord the exact version string (e.g., `11.0.100-preview.2.26159.112`) for `global.json`.\n\n### Step 7 — Create or update global.json\n\n```json\n{\n  \"sdk\": {\n    \"version\": \"\u003CINSTALLED_VERSION>\",\n    \"allowPrerelease\": true,\n    \"rollForward\": \"latestFeature\",\n    \"paths\": [\".dotnet\", \"$host$\"],\n    \"errorMessage\": \"Required .NET SDK not found. Run .\u002Finstall-dotnet.sh (or .ps1) to install it locally.\"\n  }\n}\n```\n\n- `paths`: `.dotnet` first (local priority), `$host$` = system-wide fallback.\n- `rollForward: \"latestFeature\"`: use for latest-preview or floating feature-band installs.\n- Exact version requests: use `rollForward: \"disable\"` so SDK resolution doesn't move to a different feature band.\n- `allowPrerelease`: set to `true` only when installing a prerelease SDK. Omit for stable versions.\n- `errorMessage`: include only when team install scripts are created (Step 10). Otherwise omit.\n\nIf `global.json` already exists, **merge** carefully: preserve existing properties (`msbuild-sdks`,\n`tools`, etc.) and only add\u002Fupdate the `sdk` section. Read the existing file first, update\u002Fadd\nthe `sdk` object, then write it back. This ensures cross-project config (e.g., MSBuild settings)\nisn't lost. Always back up the original file (e.g., `global.json.bak`) before modifying.\n\n**Minimal config** (when version pinning isn't needed):\n`{\"sdk\":{\"paths\":[\".dotnet\",\"$host$\"]}}`\n\n### Step 8 — Update .gitignore\n\n**macOS \u002F Linux (or Git Bash):**\n\n```bash\ngrep -qxF '.dotnet\u002F' .gitignore 2>\u002Fdev\u002Fnull || printf '\\n.dotnet\u002F\\n' >> .gitignore\n```\n\n**Windows (PowerShell):**\n\n```powershell\nif (-not (Test-Path .gitignore) -or -not (Select-String -Path .gitignore -Pattern '^\\.dotnet\u002F$' -Quiet)) {\n    Add-Content -Path .gitignore -Value '.dotnet\u002F'\n}\n```\n\n### Step 9 — Install workloads (if requested)\n\nOnly do this after `global.json` and `.gitignore` are complete, so a slow or\nplatform-limited workload install does not prevent the base local SDK setup from\nbeing usable.\n\nIf the user mentioned MAUI, mobile, workload, Blazor WASM, or cross-platform,\ninstall using the **local** binary (no sudo needed):\n\n```bash\n.\u002F.dotnet\u002Fdotnet workload install \u003Cworkload>       # macOS\u002FLinux\n.\\.dotnet\\dotnet.exe workload install \u003Cworkload>   # Windows\n```\n\nVerify: `.\u002F.dotnet\u002Fdotnet workload list` (or `.\\.dotnet\\dotnet.exe workload list`).\n\nFor MAUI, pick a workload supported by the current OS and target platform. On\nLinux, the full `maui` meta-workload is not available; use a supported workload\nsuch as `maui-android` when Android is the target, or explain the platform\nlimitation and ask which target to configure.\n\n> **Always use the local dotnet binary for workload commands.** Workload metadata\n> is stored relative to the host process's dotnet root. The system `dotnet` puts\n> metadata in the wrong location. (See [dotnet\u002Fsdk#49825](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fsdk\u002Fissues\u002F49825).)\n\n### Step 10 — Create team install scripts\n\nCreate if user mentioned \"team\", \"share\", \"CI\", \"scripts\", etc. Otherwise offer.\nThese examples back up `global.json` and preserve existing settings. The bash script\nuses `jq` when an existing `global.json` must be patched; if `jq` is unavailable,\nit refuses to overwrite the file and prints the settings to merge manually.\nAdapt script variables to the install choice from Step 1: exact versions should\nuse `--version` \u002F `-Version` and `rollForward: \"disable\"`; channel installs should\nuse channel\u002Fquality and only set `allowPrerelease: true` for prerelease SDKs.\nIf `global.json` already pins `sdk.version` and the user mainly needs team\nscripts, reuse that version in the scripts and update `global.json` first; do\nnot start a long SDK download just to discover the version. When the user asks\nfor both setup and scripts, create the scripts\u002Fconfig before any long install so\nthe reproducible setup exists even if download or workload installation is slow.\n\n**install-dotnet.sh:**\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -euo pipefail\nINSTALL_DIR=\".dotnet\"\nCHANNEL=\"11.0\"\nQUALITY=\"preview\"\nVERSION=\"\"\nROLL_FORWARD=\"latestFeature\"\nALLOW_PRERELEASE=\"true\"\nWORKLOADS=(\"${@}\")\nERROR_MESSAGE=\"Required .NET SDK not found. Run .\u002Finstall-dotnet.sh (or .ps1) to install it locally.\"\nINSTALL_SCRIPT=\"$(mktemp \"${TMPDIR:-\u002Ftmp}\u002Fdotnet-install.XXXXXX\")\"\nGLOBAL_JSON_TMP=\"\"\ncleanup() {\n    rm -f \"$INSTALL_SCRIPT\"\n    [ -n \"$GLOBAL_JSON_TMP\" ] && rm -f \"$GLOBAL_JSON_TMP\"\n}\ntrap cleanup EXIT\ncurl -fsSL https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.sh -o \"$INSTALL_SCRIPT\"\nINSTALL_ARGS=(--install-dir \"$INSTALL_DIR\")\nif [ -n \"$VERSION\" ]; then\n    INSTALL_ARGS+=(--version \"$VERSION\")\n    ROLL_FORWARD=\"disable\"\nelse\n    INSTALL_ARGS+=(--channel \"$CHANNEL\" --quality \"$QUALITY\")\nfi\nbash \"$INSTALL_SCRIPT\" \"${INSTALL_ARGS[@]}\"\nSDK_VERSION=$(\"$INSTALL_DIR\u002Fdotnet\" --version)\nwrite_global_json() {\n    if [ -f global.json ]; then\n        cp global.json global.json.bak\n        if ! command -v jq >\u002Fdev\u002Fnull 2>&1; then\n            echo \"global.json exists; install succeeded, but this script will not overwrite it without jq.\" >&2\n            echo \"Merge these sdk settings manually so existing global.json properties are preserved:\" >&2\n            cat >&2 \u003C\u003CEOF\n{\n  \"sdk\": {\n    \"version\": \"$SDK_VERSION\",\n    \"allowPrerelease\": $ALLOW_PRERELEASE,\n    \"rollForward\": \"$ROLL_FORWARD\",\n    \"paths\": [\".dotnet\", \"\\$host\\$\"],\n    \"errorMessage\": \"$ERROR_MESSAGE\"\n  }\n}\nEOF\n            exit 1\n        fi\n        GLOBAL_JSON_TMP=\"$(mktemp \"${TMPDIR:-\u002Ftmp}\u002Fglobal-json.XXXXXX\")\"\n        jq --arg version \"$SDK_VERSION\" --arg rollForward \"$ROLL_FORWARD\" --argjson allowPrerelease \"$ALLOW_PRERELEASE\" --arg errorMessage \"$ERROR_MESSAGE\" '\n          .sdk = ((.sdk \u002F\u002F {}) + {\n            version: $version,\n            allowPrerelease: $allowPrerelease,\n            rollForward: $rollForward,\n            paths: [\".dotnet\", \"$host$\"],\n            errorMessage: $errorMessage\n          })\n        ' global.json > \"$GLOBAL_JSON_TMP\"\n        mv \"$GLOBAL_JSON_TMP\" global.json\n        GLOBAL_JSON_TMP=\"\"\n    else\n        cat > global.json \u003C\u003CEOF\n{\n  \"sdk\": {\n    \"version\": \"$SDK_VERSION\",\n    \"allowPrerelease\": $ALLOW_PRERELEASE,\n    \"rollForward\": \"$ROLL_FORWARD\",\n    \"paths\": [\".dotnet\", \"\\$host\\$\"],\n    \"errorMessage\": \"$ERROR_MESSAGE\"\n  }\n}\nEOF\n    fi\n}\nwrite_global_json\ngrep -qxF '.dotnet\u002F' .gitignore 2>\u002Fdev\u002Fnull || printf '\\n.dotnet\u002F\\n' >> .gitignore\n[ ${#WORKLOADS[@]} -gt 0 ] && \"$INSTALL_DIR\u002Fdotnet\" workload install \"${WORKLOADS[@]}\"\necho \"Done. SDK: $SDK_VERSION\"\n```\n\n```bash\nchmod +x install-dotnet.sh\n```\n\n**install-dotnet.ps1:**\n\n```powershell\nparam([string[]]$Workloads = @())\n$ErrorActionPreference = 'Stop'\n$installDir = '.dotnet'; $channel = '11.0'; $quality = 'preview'\n$version = ''; $rollForward = 'latestFeature'; $allowPrerelease = $true\n$errorMessage = 'Required .NET SDK not found. Run .\u002Finstall-dotnet.sh (or .ps1) to install it locally.'\n$installScript = Join-Path $env:TEMP \"dotnet-install-$([guid]::NewGuid()).ps1\"\ntry {\n    Invoke-WebRequest -Uri 'https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.ps1' -OutFile $installScript\n    $installArgs = @('-InstallDir', $installDir)\n    if ($version) {\n        $installArgs += @('-Version', $version)\n        $rollForward = 'disable'\n    } else {\n        $installArgs += @('-Channel', $channel, '-Quality', $quality)\n    }\n    & $installScript @installArgs\n}\nfinally {\n    if (Test-Path -LiteralPath $installScript) {\n        Remove-Item -LiteralPath $installScript -Force\n    }\n}\n$sdkVersion = & \"$installDir\\dotnet.exe\" --version\n$globalJson = if (Test-Path 'global.json') {\n    Copy-Item 'global.json' 'global.json.bak'\n    Get-Content -Path 'global.json' -Raw | ConvertFrom-Json\n} else {\n    [pscustomobject]@{}\n}\nif (-not $globalJson.PSObject.Properties['sdk']) {\n    $globalJson | Add-Member -MemberType NoteProperty -Name 'sdk' -Value ([pscustomobject]@{})\n}\n$updates = [ordered]@{\n    version = $sdkVersion\n    allowPrerelease = $allowPrerelease\n    rollForward = $rollForward\n    paths = @('.dotnet', '$host$')\n    errorMessage = $errorMessage\n}\nforeach ($entry in $updates.GetEnumerator()) {\n    $property = $globalJson.sdk.PSObject.Properties[$entry.Key]\n    if ($property) {\n        $property.Value = $entry.Value\n    } else {\n        $globalJson.sdk | Add-Member -MemberType NoteProperty -Name $entry.Key -Value $entry.Value\n    }\n}\n$globalJson | ConvertTo-Json -Depth 10 | Set-Content -Path 'global.json' -Encoding UTF8\nif (-not (Test-Path .gitignore) -or -not (Select-String -Path .gitignore -Pattern '^\\.dotnet\u002F$' -Quiet)) {\n    Add-Content -Path .gitignore -Value '.dotnet\u002F'\n}\nif ($Workloads.Count -gt 0) { & \"$installDir\\dotnet.exe\" workload install @Workloads }\nWrite-Host \"Done. SDK: $sdkVersion\"\n```\n\nCommit these scripts to the repo so teammates can run them.\n\n### Step 11 — Verify SDK resolution\n\n```bash\ndotnet --version\n```\n\nOutput should match the locally installed version. If not, check: global.json\nlocation, `paths` array contents, host dotnet version ≥ 10.\n\n### Step 12 — Summarize and explain cleanup\n\nTell the user: SDK installed, global.json configured, .dotnet\u002F gitignored, system\ninstall untouched. Cleanup: delete `.dotnet\u002F`, remove `paths`\u002F`errorMessage` from\nglobal.json, optionally delete install scripts. Include the final `global.json`\n`sdk` values (or a short snippet) so the user can see the configured version,\n`paths`, and any `errorMessage`. If workloads were requested, include the local\n`dotnet workload install ...` command used and the workload verification result\nor the exact blocker if the workload could not be installed.\n\n## Common pitfalls\n\n| Pitfall | Cause | Fix |\n|---|---|---|\n| `paths` ignored | Host `dotnet` \u003C v10 | Install .NET 10+ system-wide |\n| Wrong SDK resolves | `global.json` in parent directory | Check for global.json up the tree |\n| Teammates get \"SDK not found\" | `.dotnet\u002F` gitignored, no install script run | Use `errorMessage` in global.json |\n| Workloads missing | Used system `dotnet` instead of local | Use `.\u002F.dotnet\u002Fdotnet workload install` |\n| `dotnet app.dll` wrong runtime | `paths` is SDK-only, not apphost | Use `dotnet run` or set `DOTNET_ROOT` |\n","# setup-local-sdk\n\n## Purpose\n\nGuide the user through installing a .NET SDK into a project-local `.dotnet\u002F`\ndirectory and wiring it up via the `global.json` `paths` feature (.NET 10+).\nThe examples use .NET 11, but this works with any version — prerelease or stable.\n\nThe result is a fully isolated SDK that:\n- Does **not** modify the system-wide .NET installation.\n- Is picked up automatically by `dotnet` commands from the project root.\n- Can be deleted to revert (`rm -rf .dotnet\u002F` or `Remove-Item -Recurse -Force .\\.dotnet`).\n\n## When NOT to use\n\n- User wants a **system-wide** install — direct to the official installer.\n- Host `dotnet` is **older than v10** — `paths` doesn't exist; explain and stop.\n- User needs a **runtime-only** install — `paths` applies to SDK resolution only.\n\n## Inputs \u002F Prerequisites\n\n| Input | Required | Default | Notes |\n|---|---|---|---|\n| Channel or version | No | `11.0` | e.g. `11.0`, `STS`, `LTS`, or an exact version like `11.0.100-preview.2.26159.112` |\n| Quality | No | `preview` | One of: `daily`, `preview`, `ga` |\n| jq | No | — | Optional for bash team scripts when patching an existing `global.json`; without it, do not overwrite the file |\n\n### Prerequisites\n\n1. **A .NET 10+ SDK is installed globally** — run `dotnet --version`; major ≥ 10.\n2. **curl** (macOS\u002FLinux) or **PowerShell** (Windows) is available.\n\n## Workflow\n\n### Step 1 — Clarify what to install\n\nIf the user didn't specify, ask what .NET SDK version they want (e.g., \"latest\n.NET 11 preview\" or an exact version like `11.0.100-preview.2.26159.112`).\nMap the answer to `--channel`\u002F`--quality` or `--version` flags.\n\n### Step 2 — Verify .NET 10+ host\n\nIf the user already provided `dotnet --version` output, treat that as the\nauthoritative version for their machine. Do not override it with the agent\nworkspace's version; if the two differ, explain that the workspace differs and\ncontinue advising for the user's machine.\n\n```bash\ndotnet --version\n```\n\nIf major version \u003C 10, stop before downloading anything: the `paths` feature\nrequires a .NET 10+ host SDK. Tell the user to install .NET 10 or later\nsystem-wide first, then return to the local SDK setup.\n\n### Step 3 — Detect operating system\n\nRun `uname -s 2>\u002Fdev\u002Fnull`. If it succeeds (including `MINGW*`, `MSYS*`, `CYGWIN*` —\nthese are bash-capable environments like Git Bash) → use bash\u002F`dotnet-install.sh`.\nIf it fails (native Windows without Git Bash) → use PowerShell\u002F`dotnet-install.ps1`.\n\n### Step 4 — Check for existing local SDK\n\n**macOS \u002F Linux:**\n\n```bash\ntest -d .dotnet && echo \"exists\" || echo \"not found\"\n```\n\n**Windows (PowerShell):**\n\n```powershell\nif (Test-Path -LiteralPath .\\.dotnet) { \"exists\" } else { \"not found\" }\n```\n\nIf `.dotnet\u002F` exists, ask: update with the new version, or skip and keep it?\n\n### Step 5 — Download and run the install script\n\n**macOS \u002F Linux:**\n\n```bash\nINSTALL_SCRIPT=\"$(mktemp \"${TMPDIR:-\u002Ftmp}\u002Fdotnet-install.XXXXXX\")\"\ntrap 'rm -f \"$INSTALL_SCRIPT\"' EXIT\ncurl -fsSL https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.sh -o \"$INSTALL_SCRIPT\"\nbash \"$INSTALL_SCRIPT\" --channel \u003CCHANNEL> --quality \u003CQUALITY> --install-dir .dotnet\n```\n\n**Windows (PowerShell):**\n\n```powershell\n$installScript = Join-Path $env:TEMP \"dotnet-install-$([guid]::NewGuid()).ps1\"\ntry {\n    Invoke-WebRequest -Uri 'https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.ps1' -OutFile $installScript\n    & $installScript -Channel \u003CCHANNEL> -Quality \u003CQUALITY> -InstallDir .dotnet\n}\nfinally {\n    if (Test-Path -LiteralPath $installScript) {\n        Remove-Item -LiteralPath $installScript -Force\n    }\n}\n```\n\nFor exact versions: use `--version \u003CVERSION>` (bash) or `-Version \u003CVERSION>` (PowerShell)\ninstead of channel\u002Fquality flags. The install scripts are from Microsoft's official\nURLs: `https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.sh` and `https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.ps1`.\n\n### Step 6 — Identify the installed version\n\n```bash\n.\u002F.dotnet\u002Fdotnet --version          # macOS\u002FLinux\n.\\.dotnet\\dotnet.exe --version      # Windows\n```\n\nRecord the exact version string (e.g., `11.0.100-preview.2.26159.112`) for `global.json`.\n\n### Step 7 — Create or update global.json\n\n```json\n{\n  \"sdk\": {\n    \"version\": \"\u003CINSTALLED_VERSION>\",\n    \"allowPrerelease\": true,\n    \"rollForward\": \"latestFeature\",\n    \"paths\": [\".dotnet\", \"$host$\"],\n    \"errorMessage\": \"Required .NET SDK not found. Run .\u002Finstall-dotnet.sh (or .ps1) to install it locally.\"\n  }\n}\n```\n\n- `paths`: `.dotnet` first (local priority), `$host$` = system-wide fallback.\n- `rollForward: \"latestFeature\"`: use for latest-preview or floating feature-band installs.\n- Exact version requests: use `rollForward: \"disable\"` so SDK resolution doesn't move to a different feature band.\n- `allowPrerelease`: set to `true` only when installing a prerelease SDK. Omit for stable versions.\n- `errorMessage`: include only when team install scripts are created (Step 10). Otherwise omit.\n\nIf `global.json` already exists, **merge** carefully: preserve existing properties (`msbuild-sdks`,\n`tools`, etc.) and only add\u002Fupdate the `sdk` section. Read the existing file first, update\u002Fadd\nthe `sdk` object, then write it back. This ensures cross-project config (e.g., MSBuild settings)\nisn't lost. Always back up the original file (e.g., `global.json.bak`) before modifying.\n\n**Minimal config** (when version pinning isn't needed):\n`{\"sdk\":{\"paths\":[\".dotnet\",\"$host$\"]}}`\n\n### Step 8 — Update .gitignore\n\n**macOS \u002F Linux (or Git Bash):**\n\n```bash\ngrep -qxF '.dotnet\u002F' .gitignore 2>\u002Fdev\u002Fnull || printf '\\n.dotnet\u002F\\n' >> .gitignore\n```\n\n**Windows (PowerShell):**\n\n```powershell\nif (-not (Test-Path .gitignore) -or -not (Select-String -Path .gitignore -Pattern '^\\.dotnet\u002F$' -Quiet)) {\n    Add-Content -Path .gitignore -Value '.dotnet\u002F'\n}\n```\n\n### Step 9 — Install workloads (if requested)\n\nOnly do this after `global.json` and `.gitignore` are complete, so a slow or\nplatform-limited workload install does not prevent the base local SDK setup from\nbeing usable.\n\nIf the user mentioned MAUI, mobile, workload, Blazor WASM, or cross-platform,\ninstall using the **local** binary (no sudo needed):\n\n```bash\n.\u002F.dotnet\u002Fdotnet workload install \u003Cworkload>       # macOS\u002FLinux\n.\\.dotnet\\dotnet.exe workload install \u003Cworkload>   # Windows\n```\n\nVerify: `.\u002F.dotnet\u002Fdotnet workload list` (or `.\\.dotnet\\dotnet.exe workload list`).\n\nFor MAUI, pick a workload supported by the current OS and target platform. On\nLinux, the full `maui` meta-workload is not available; use a supported workload\nsuch as `maui-android` when Android is the target, or explain the platform\nlimitation and ask which target to configure.\n\n> **Always use the local dotnet binary for workload commands.** Workload metadata\n> is stored relative to the host process's dotnet root. The system `dotnet` puts\n> metadata in the wrong location. (See [dotnet\u002Fsdk#49825](https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fsdk\u002Fissues\u002F49825).)\n\n### Step 10 — Create team install scripts\n\nCreate if user mentioned \"team\", \"share\", \"CI\", \"scripts\", etc. Otherwise offer.\nThese examples back up `global.json` and preserve existing settings. The bash script\nuses `jq` when an existing `global.json` must be patched; if `jq` is unavailable,\nit refuses to overwrite the file and prints the settings to merge manually.\nAdapt script variables to the install choice from Step 1: exact versions should\nuse `--version` \u002F `-Version` and `rollForward: \"disable\"`; channel installs should\nuse channel\u002Fquality and only set `allowPrerelease: true` for prerelease SDKs.\nIf `global.json` already pins `sdk.version` and the user mainly needs team\nscripts, reuse that version in the scripts and update `global.json` first; do\nnot start a long SDK download just to discover the version. When the user asks\nfor both setup and scripts, create the scripts\u002Fconfig before any long install so\nthe reproducible setup exists even if download or workload installation is slow.\n\n**install-dotnet.sh:**\n\n```bash\n#!\u002Fusr\u002Fbin\u002Fenv bash\nset -euo pipefail\nINSTALL_DIR=\".dotnet\"\nCHANNEL=\"11.0\"\nQUALITY=\"preview\"\nVERSION=\"\"\nROLL_FORWARD=\"latestFeature\"\nALLOW_PRERELEASE=\"true\"\nWORKLOADS=(\"${@}\")\nERROR_MESSAGE=\"Required .NET SDK not found. Run .\u002Finstall-dotnet.sh (or .ps1) to install it locally.\"\nINSTALL_SCRIPT=\"$(mktemp \"${TMPDIR:-\u002Ftmp}\u002Fdotnet-install.XXXXXX\")\"\nGLOBAL_JSON_TMP=\"\"\ncleanup() {\n    rm -f \"$INSTALL_SCRIPT\"\n    [ -n \"$GLOBAL_JSON_TMP\" ] && rm -f \"$GLOBAL_JSON_TMP\"\n}\ntrap cleanup EXIT\ncurl -fsSL https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.sh -o \"$INSTALL_SCRIPT\"\nINSTALL_ARGS=(--install-dir \"$INSTALL_DIR\")\nif [ -n \"$VERSION\" ]; then\n    INSTALL_ARGS+=(--version \"$VERSION\")\n    ROLL_FORWARD=\"disable\"\nelse\n    INSTALL_ARGS+=(--channel \"$CHANNEL\" --quality \"$QUALITY\")\nfi\nbash \"$INSTALL_SCRIPT\" \"${INSTALL_ARGS[@]}\"\nSDK_VERSION=$(\"$INSTALL_DIR\u002Fdotnet\" --version)\nwrite_global_json() {\n    if [ -f global.json ]; then\n        cp global.json global.json.bak\n        if ! command -v jq >\u002Fdev\u002Fnull 2>&1; then\n            echo \"global.json exists; install succeeded, but this script will not overwrite it without jq.\" >&2\n            echo \"Merge these sdk settings manually so existing global.json properties are preserved:\" >&2\n            cat >&2 \u003C\u003CEOF\n{\n  \"sdk\": {\n    \"version\": \"$SDK_VERSION\",\n    \"allowPrerelease\": $ALLOW_PRERELEASE,\n    \"rollForward\": \"$ROLL_FORWARD\",\n    \"paths\": [\".dotnet\", \"\\$host\\$\"],\n    \"errorMessage\": \"$ERROR_MESSAGE\"\n  }\n}\nEOF\n            exit 1\n        fi\n        GLOBAL_JSON_TMP=\"$(mktemp \"${TMPDIR:-\u002Ftmp}\u002Fglobal-json.XXXXXX\")\"\n        jq --arg version \"$SDK_VERSION\" --arg rollForward \"$ROLL_FORWARD\" --argjson allowPrerelease \"$ALLOW_PRERELEASE\" --arg errorMessage \"$ERROR_MESSAGE\" '\n          .sdk = ((.sdk \u002F\u002F {}) + {\n            version: $version,\n            allowPrerelease: $allowPrerelease,\n            rollForward: $rollForward,\n            paths: [\".dotnet\", \"$host$\"],\n            errorMessage: $errorMessage\n          })\n        ' global.json > \"$GLOBAL_JSON_TMP\"\n        mv \"$GLOBAL_JSON_TMP\" global.json\n        GLOBAL_JSON_TMP=\"\"\n    else\n        cat > global.json \u003C\u003CEOF\n{\n  \"sdk\": {\n    \"version\": \"$SDK_VERSION\",\n    \"allowPrerelease\": $ALLOW_PRERELEASE,\n    \"rollForward\": \"$ROLL_FORWARD\",\n    \"paths\": [\".dotnet\", \"\\$host\\$\"],\n    \"errorMessage\": \"$ERROR_MESSAGE\"\n  }\n}\nEOF\n    fi\n}\nwrite_global_json\ngrep -qxF '.dotnet\u002F' .gitignore 2>\u002Fdev\u002Fnull || printf '\\n.dotnet\u002F\\n' >> .gitignore\n[ ${#WORKLOADS[@]} -gt 0 ] && \"$INSTALL_DIR\u002Fdotnet\" workload install \"${WORKLOADS[@]}\"\necho \"Done. SDK: $SDK_VERSION\"\n```\n\n```bash\nchmod +x install-dotnet.sh\n```\n\n**install-dotnet.ps1:**\n\n```powershell\nparam([string[]]$Workloads = @())\n$ErrorActionPreference = 'Stop'\n$installDir = '.dotnet'; $channel = '11.0'; $quality = 'preview'\n$version = ''; $rollForward = 'latestFeature'; $allowPrerelease = $true\n$errorMessage = 'Required .NET SDK not found. Run .\u002Finstall-dotnet.sh (or .ps1) to install it locally.'\n$installScript = Join-Path $env:TEMP \"dotnet-install-$([guid]::NewGuid()).ps1\"\ntry {\n    Invoke-WebRequest -Uri 'https:\u002F\u002Fdot.net\u002Fv1\u002Fdotnet-install.ps1' -OutFile $installScript\n    $installArgs = @('-InstallDir', $installDir)\n    if ($version) {\n        $installArgs += @('-Version', $version)\n        $rollForward = 'disable'\n    } else {\n        $installArgs += @('-Channel', $channel, '-Quality', $quality)\n    }\n    & $installScript @installArgs\n}\nfinally {\n    if (Test-Path -LiteralPath $installScript) {\n        Remove-Item -LiteralPath $installScript -Force\n    }\n}\n$sdkVersion = & \"$installDir\\dotnet.exe\" --version\n$globalJson = if (Test-Path 'global.json') {\n    Copy-Item 'global.json' 'global.json.bak'\n    Get-Content -Path 'global.json' -Raw | ConvertFrom-Json\n} else {\n    [pscustomobject]@{}\n}\nif (-not $globalJson.PSObject.Properties['sdk']) {\n    $globalJson | Add-Member -MemberType NoteProperty -Name 'sdk' -Value ([pscustomobject]@{})\n}\n$updates = [ordered]@{\n    version = $sdkVersion\n    allowPrerelease = $allowPrerelease\n    rollForward = $rollForward\n    paths = @('.dotnet', '$host$')\n    errorMessage = $errorMessage\n}\nforeach ($entry in $updates.GetEnumerator()) {\n    $property = $globalJson.sdk.PSObject.Properties[$entry.Key]\n    if ($property) {\n        $property.Value = $entry.Value\n    } else {\n        $globalJson.sdk | Add-Member -MemberType NoteProperty -Name $entry.Key -Value $entry.Value\n    }\n}\n$globalJson | ConvertTo-Json -Depth 10 | Set-Content -Path 'global.json' -Encoding UTF8\nif (-not (Test-Path .gitignore) -or -not (Select-String -Path .gitignore -Pattern '^\\.dotnet\u002F$' -Quiet)) {\n    Add-Content -Path .gitignore -Value '.dotnet\u002F'\n}\nif ($Workloads.Count -gt 0) { & \"$installDir\\dotnet.exe\" workload install @Workloads }\nWrite-Host \"Done. SDK: $sdkVersion\"\n```\n\nCommit these scripts to the repo so teammates can run them.\n\n### Step 11 — Verify SDK resolution\n\n```bash\ndotnet --version\n```\n\nOutput should match the locally installed version. If not, check: global.json\nlocation, `paths` array contents, host dotnet version ≥ 10.\n\n### Step 12 — Summarize and explain cleanup\n\nTell the user: SDK installed, global.json configured, .dotnet\u002F gitignored, system\ninstall untouched. Cleanup: delete `.dotnet\u002F`, remove `paths`\u002F`errorMessage` from\nglobal.json, optionally delete install scripts. Include the final `global.json`\n`sdk` values (or a short snippet) so the user can see the configured version,\n`paths`, and any `errorMessage`. If workloads were requested, include the local\n`dotnet workload install ...` command used and the workload verification result\nor the exact blocker if the workload could not be installed.\n\n## Common pitfalls\n\n| Pitfall | Cause | Fix |\n|---|---|---|\n| `paths` ignored | Host `dotnet` \u003C v10 | Install .NET 10+ system-wide |\n| Wrong SDK resolves | `global.json` in parent directory | Check for global.json up the tree |\n| Teammates get \"SDK not found\" | `.dotnet\u002F` gitignored, no install script run | Use `errorMessage` in global.json |\n| Workloads missing | Used system `dotnet` instead of local | Use `.\u002F.dotnet\u002Fdotnet workload install` |\n| `dotnet app.dll` wrong runtime | `paths` is SDK-only, not apphost | Use `dotnet run` or set `DOTNET_ROOT` |\n",{"name":5,"license":15,"description":7},"main","f8f2bfd77819bb789d4736ce7db4a567a37fcf7e",".agents\u002Fskills\u002Fsetup-local-sdk",315,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-13 00:25:22",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add microsoft\u002Ftestfx --skill setup-local-sdk",{"tool":64,"command":65},"bunx","bunx skills add microsoft\u002Ftestfx --skill setup-local-sdk",{"tool":67,"command":68},"pnpm","pnpm dlx skills add microsoft\u002Ftestfx --skill setup-local-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsetup-local-sdk\u002FSKILL.md",true,[72,78,82,86,90,94,98,102,108,112,116,120,124,128],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"_meta.json","REFERENCE","参考文档",124,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002F_meta.json",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},".clawhub\u002Forigin.json",137,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002F.clawhub\u002Forigin.json",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fanalytics-loop.md",5431,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Freferences\u002Fanalytics-loop.md",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fapp-categories.md",2170,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Freferences\u002Fapp-categories.md",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fcompetitor-research.md",3685,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Freferences\u002Fcompetitor-research.md",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Frevenuecat-integration.md",3687,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Freferences\u002Frevenuecat-integration.md",{"path":99,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fslide-structure.md",4328,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Freferences\u002Fslide-structure.md",{"path":103,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fadd-text-overlay.js","SCRIPT","脚本",6053,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Fscripts\u002Fadd-text-overlay.js",{"path":109,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fcheck-analytics.js",9369,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Fscripts\u002Fcheck-analytics.js",{"path":113,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Fcompetitor-research.js",3233,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Fscripts\u002Fcompetitor-research.js",{"path":117,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":118,"sourceHtmlUrl":119},"scripts\u002Fdaily-report.js",24801,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Fscripts\u002Fdaily-report.js",{"path":121,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":122,"sourceHtmlUrl":123},"scripts\u002Fgenerate-slides.js",8737,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Fscripts\u002Fgenerate-slides.js",{"path":125,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":126,"sourceHtmlUrl":127},"scripts\u002Fonboarding.js",7304,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Fscripts\u002Fonboarding.js",{"path":129,"resourceType":104,"resourceTypeDesc":105,"sizeBytes":130,"sourceHtmlUrl":131},"scripts\u002Fpost-to-tiktok.js",3441,"https:\u002F\u002Fgithub.com\u002Fahat4pat-svg\u002Fjimi-skills\u002Fblob\u002Fmain\u002Fskills\u002Flarry\u002Fscripts\u002Fpost-to-tiktok.js",[133,159,185,205,224,248],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":44},"01M70GYY0AV0JGMTHE2CN6TNYK","dotnet-breaking-changes","Use before changing .NET\u002FC# code whose callers you do not control: a NuGet library, or a repo with PublicAPI.Shipped\u002FUnshipped.txt, ApiCompat, multiple TargetFrameworks, InternalsVisibleTo, or generated (.g.cs) partials. Green builds miss silent breaks from optional parameters, parameter names, sealing, const values, nullability, and #if. USE FOR: \"without breaking existing callers\"; adding a public method, overload, optional parameter, or interface member to a shipped library; renaming a public method or an internal helper a friend assembly uses; consolidating duplicated logic; changing a signature, nullability, default, or attribute; adding a target framework; RS0016\u002FRS0017 or ApiCompat errors; \"is this PR breaking?\". For a rename, extract, or merge, also invoke csharp-refactoring. DO NOT USE FOR: an executable whose callers all live in one project; renaming a local variable or private member, even in a shipped library; formatting; framework\u002FSDK\u002FNuGet upgrades (use dotnet-upgrade).","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdotnet-breaking-changes\u002FSKILL.md",[],[140,141,142,143,144,145,27,146,147,148,149,150,151,152,153,154,155,156,157,158],"dotnet","dotnet breaking changes","changes","green","project","default","errors","interface","generated","upgrade","invoke","you","code","refactoring","merge","rename","library","live","assembly",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":166,"publishedAt":44},"01M699HHE9DTZWAMPB1ZR7ZKSW","testfx-test-value-evidence","Apply the vendored test-value-evidence skill with TestFx toolchain, assertion, parallel-safety, packed-consumer, and review conventions. Use when implementing or reviewing behavior-changing TestFx PRs or commits, including source-only changes.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-test-value-evidence\u002FSKILL.md",[165],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[167,168,169,170,171,172,173,174,175,176,177,28,178,179,180,181,142,182,183,184],"test","testfx test value evidence","test value evidence","evidence","value","review","parallel","toolchain","commits","implementing","prs","use","when","apply","with","behavior","Safety","conventions",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":191,"publishedAt":44},"01M699HEYWH1B9XGNBFY8J2FZS","testfx-parallel-safety-preflight","Check concurrency and isolation before implementing or refactoring TestFx tests, lifecycle code, helpers, shared-state declarations, or production paths those tests exercise. Use before narrowing DoNotParallelize or ResourceLock, changing parallelization settings, or introducing asynchronous workers; repeat against the final diff.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-parallel-safety-preflight\u002FSKILL.md",[],[192,183,193,173,194,195,176,196,152,197,153,31,198,199,200,201,202,203,178,204],"testfx parallel safety preflight","preflight","shared","asynchronous","exercise","concurrency","isolation","helpers","diff","parallelization","lifecycle","tests","workers",{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":209,"categories":210,"keywords":211,"publishedAt":44},"01M699HC61ZV9GJ2C8JV03951G","testfx-localization-validation","Validate generated TestFx localization catalogs, resource IDs, placeholders and locked tokens. Use for RESX\u002FXLF changes, OneLoc PRs, localization build failures, duplicate targets or units, and orphaned translation entries.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-localization-validation\u002FSKILL.md",[],[212,213,214,215,216,217,29,218,219,177,148,178,220,221,142,222,223],"testfx localization validation","validation","localization","validate","translation","ids","tokens","entries","units","duplicate","targets","build",{"skillNo":225,"name":226,"nameZh":6,"description":227,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":228,"categories":229,"keywords":231,"publishedAt":44},"01M699H9J2NWQXE4BDT6R0FH7S","testfx-acceptance-validation","Validate TestFx shipping paths and capable CI execution using packed consumers, package\u002Fcache provenance, exact exits and artifacts, and selected-versus-executed test evidence. Use for acceptance regressions, package\u002FMSBuild\u002Flauncher\u002Fprotocol changes, or skipped-only CI results; not for unrelated unit-only or documentation changes.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftestfx-acceptance-validation\u002FSKILL.md",[230],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[232,233,213,167,234,170,235,42,236,28,237,178,238,239,240,241,242,243,244,245,246,247,31,29],"testfx acceptance validation","acceptance","msbuild","launcher","execution","package","cache","artifacts","provenance","documentation","unrelated","shipping","results","protocol","unit","ci results",{"skillNo":249,"name":250,"nameZh":6,"description":251,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":252,"categories":253,"keywords":254,"publishedAt":44},"01M699H70BB999BT4F627T1PHE","session-delivery-hygiene","Gate local-session scope, persistent delivery, live PR state, integration provenance, and owned cleanup. Use before implementing guidance changes, changing or pushing PR work, diagnosing package\u002Foutput mismatches, or handing off implementation.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftestfx\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fsession-delivery-hygiene\u002FSKILL.md",[],[255,256,257,258,259,176,27,260,261,157,262,237,178,240,263,264,142,265,266,267],"session delivery hygiene","delivery","session","hygiene","scope","cleanup","work","pr","output","state","integration","guidance","gate"]