[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AHJ540DQEANCQS7D5SQ8R":3,"skill-same:01M69AHJ540DQEANCQS7D5SQ8R":164},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M69AHJ540DQEANCQS7D5SQ8R","ort-build","ONNX Runtime 源码构建","Build ONNX Runtime from source. Use this skill when asked to build, compile, or generate CMake files for ONNX Runtime.","从源码构建 ONNX Runtime。当被要求为 ONNX Runtime 进行构建、编译或生成 CMake 文件时使用此技能。","microsoft\u002Fonnxruntime","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AGY0EW9AJXAH7HK223SQZ",22306,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-build\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42],"ort build","build","onnx","cmake","generate","compile","use","files","runtime","for","source","when","2026-11-10 10:12:30",false,"---\nname: ort-build\ndescription: Build ONNX Runtime from source. Use this skill when asked to build, compile, or generate CMake files for ONNX Runtime.\n---\n\n# Building ONNX Runtime\n\nThe build scripts `build.sh` (Linux\u002FmacOS) and `build.bat` (Windows) delegate to `tools\u002Fci_build\u002Fbuild.py`.\n\n## Build phases\n\nThree phases, controlled by flags:\n\n- `--update` — generate CMake build files\n- `--build` — compile (add `--parallel` to speed this up)\n- `--test` — run tests\n\nFor native builds, if none are specified (and `--skip_tests` is not passed), **all three run by default**. For cross-compiled builds, the default is `--update` + `--build` only.\n\n### When to use `--update`\n\nYou need `--update` when:\n- First build in a new build directory\n- New source files are added (some CMake targets use glob patterns, others use explicit file lists — re-run to pick up new files either way)\n- CMake configuration changes (new flags, updated CMakeLists.txt)\n\nYou do **not** need `--update` when only modifying existing `.cc`\u002F`.h` files — just use `--build`. Skipping it saves time.\n\n## Examples\n\n```bash\n# Full build (update + build + test)\n.\u002Fbuild.sh --config Release --parallel\n.\\build.bat --config Release --parallel     # Windows\n\n# Just regenerate CMake files\n.\u002Fbuild.sh --config Release --update\n\n# Just compile (skip CMake regeneration and tests)\n.\u002Fbuild.sh --config Release --build --parallel\n\n# Just run tests (after a prior build)\n.\u002Fbuild.sh --config Release --test\n\n# Build with CUDA execution provider\n.\u002Fbuild.sh --config Release --parallel --use_cuda --cuda_home \u002Fusr\u002Flocal\u002Fcuda --cudnn_home \u002Fusr\u002Flocal\u002Fcuda\n\n# Configure and build the WebGPU execution provider as a shared library (Windows)\n.\\build.bat --config RelWithDebInfo --build_dir .\\build\\WGPU --use_webgpu --build_shared_lib --update --build --parallel\n\n# Incrementally rebuild the same WebGPU configuration after changing existing source files\n.\\build.bat --config RelWithDebInfo --build_dir .\\build\\WGPU --use_webgpu --build_shared_lib --build --parallel\n\n# Build Python wheel\n.\u002Fbuild.sh --config Release --parallel --build_wheel\n\n# Build a specific CMake target (much faster than a full build)\n.\u002Fbuild.sh --config Release --build --parallel --target onnxruntime_common\n\n# Load flags from an option file (one flag per line)\n.\u002Fbuild.sh \"@.\u002Fcustom_options.opt\" --build --parallel\n```\n\n## Key flags\n\n| Flag | Description |\n|------|-------------|\n| `--config` | `Debug`, `MinSizeRel`, `Release`, or `RelWithDebInfo` |\n| `--parallel` | Enable parallel compilation (recommended) |\n| `--skip_tests` | Skip running tests after build |\n| `--build_wheel` | Build the Python wheel package |\n| `--use_cuda` | Enable CUDA EP. Requires `--cuda_home`\u002F`--cudnn_home` or `CUDA_HOME`\u002F`CUDNN_HOME` env vars. On Windows, only `cuda_home`\u002F`CUDA_HOME` is validated. |\n| `--target T` | Build a specific CMake target (requires `--build`; e.g., `onnxruntime_common`, `onnxruntime_test_all`) |\n| `--use_webgpu` | Enable WebGPU EP. To run its tests locally on Linux without a GPU, see the `webgpu-local-testing` skill. |\n| `--cmake_extra_defines onnxruntime_QUICK_BUILD=ON` | Faster CUDA build: instantiates a reduced kernel set. **Side effect:** Flash is compiled for head_dim 128 only, so most attention shapes fall back to **MEA** (changes which attention kernel is compiled\u002Fdispatched). Don't use it to characterize Flash-vs-arch behavior. |\n| `--build_dir` | Build output directory |\n\n## Build output path\n\nDefault: `build\u002F\u003CPlatform>\u002F\u003CConfig>\u002F` where Platform is `Linux`, `MacOS`, or `Windows`.\n\nWith Visual Studio multi-config generators, the config name appears twice (e.g., `build\u002FWindows\u002FRelease\u002FRelease\u002F`).\n\nIt may be customized with `--build_dir`.\nFor example, `--build_dir .\\build\\WGPU --config RelWithDebInfo` creates the CMake build tree at\n`build\u002FWGPU\u002FRelWithDebInfo\u002F`; Visual Studio places final binaries in its `RelWithDebInfo\u002F` subdirectory.\nThe `--build_shared_lib` flag in the WebGPU example is optional and is only needed when building the ONNX Runtime DLL.\n\n## Agent tips\n\n- **Activate a Python virtual environment** before building. See \"Python > Virtual environment\" in `AGENTS.md`.\n- **Build flags can silently reroute which kernel\u002Fcode path executes.** A build option can\n  change *which* kernel is compiled, and therefore which code path actually runs — so a CI\n  failure can live in a different code path than your local build exercises. Before\n  hypothesizing a hardware- or algorithm-specific cause (e.g. \"this GPU arch miscomputes\"),\n  first identify **which kernel actually ran** for the failing configuration (see the\n  `ort-test` skill → \"Verify which path\u002Fkernel actually executed\"). Concrete instance:\n  `onnxruntime_QUICK_BUILD=ON` compiles FlashAttention for head_dim 128 only, so most\n  attention shapes silently dispatch to Memory-Efficient Attention instead of Flash —\n  details in the `cuda-attention-kernel-patterns` skill.\n- **Prefer `python tools\u002Fci_build\u002Fbuild.py` directly** over `build.bat`\u002F`build.sh` when redirecting output. The `.bat` wrapper runs in `cmd.exe`, which breaks PowerShell redirection.\n- **Redirect output to a file** (e.g., `> build_log.txt 2>&1`). Build output is large and will overflow terminal buffers.\n- **Run builds in the background** — a full build can take tens of minutes to over an hour. Poll the log for `\"Build complete\"` or errors.\n- **Use `--parallel`** by default unless the user says otherwise.\n- Ask the user what they want to build (config, execution providers, wheel, etc.) if not clear from their prompt.\n","# Building ONNX Runtime\n\nThe build scripts `build.sh` (Linux\u002FmacOS) and `build.bat` (Windows) delegate to `tools\u002Fci_build\u002Fbuild.py`.\n\n## Build phases\n\nThree phases, controlled by flags:\n\n- `--update` — generate CMake build files\n- `--build` — compile (add `--parallel` to speed this up)\n- `--test` — run tests\n\nFor native builds, if none are specified (and `--skip_tests` is not passed), **all three run by default**. For cross-compiled builds, the default is `--update` + `--build` only.\n\n### When to use `--update`\n\nYou need `--update` when:\n- First build in a new build directory\n- New source files are added (some CMake targets use glob patterns, others use explicit file lists — re-run to pick up new files either way)\n- CMake configuration changes (new flags, updated CMakeLists.txt)\n\nYou do **not** need `--update` when only modifying existing `.cc`\u002F`.h` files — just use `--build`. Skipping it saves time.\n\n## Examples\n\n```bash\n# Full build (update + build + test)\n.\u002Fbuild.sh --config Release --parallel\n.\\build.bat --config Release --parallel     # Windows\n\n# Just regenerate CMake files\n.\u002Fbuild.sh --config Release --update\n\n# Just compile (skip CMake regeneration and tests)\n.\u002Fbuild.sh --config Release --build --parallel\n\n# Just run tests (after a prior build)\n.\u002Fbuild.sh --config Release --test\n\n# Build with CUDA execution provider\n.\u002Fbuild.sh --config Release --parallel --use_cuda --cuda_home \u002Fusr\u002Flocal\u002Fcuda --cudnn_home \u002Fusr\u002Flocal\u002Fcuda\n\n# Configure and build the WebGPU execution provider as a shared library (Windows)\n.\\build.bat --config RelWithDebInfo --build_dir .\\build\\WGPU --use_webgpu --build_shared_lib --update --build --parallel\n\n# Incrementally rebuild the same WebGPU configuration after changing existing source files\n.\\build.bat --config RelWithDebInfo --build_dir .\\build\\WGPU --use_webgpu --build_shared_lib --build --parallel\n\n# Build Python wheel\n.\u002Fbuild.sh --config Release --parallel --build_wheel\n\n# Build a specific CMake target (much faster than a full build)\n.\u002Fbuild.sh --config Release --build --parallel --target onnxruntime_common\n\n# Load flags from an option file (one flag per line)\n.\u002Fbuild.sh \"@.\u002Fcustom_options.opt\" --build --parallel\n```\n\n## Key flags\n\n| Flag | Description |\n|------|-------------|\n| `--config` | `Debug`, `MinSizeRel`, `Release`, or `RelWithDebInfo` |\n| `--parallel` | Enable parallel compilation (recommended) |\n| `--skip_tests` | Skip running tests after build |\n| `--build_wheel` | Build the Python wheel package |\n| `--use_cuda` | Enable CUDA EP. Requires `--cuda_home`\u002F`--cudnn_home` or `CUDA_HOME`\u002F`CUDNN_HOME` env vars. On Windows, only `cuda_home`\u002F`CUDA_HOME` is validated. |\n| `--target T` | Build a specific CMake target (requires `--build`; e.g., `onnxruntime_common`, `onnxruntime_test_all`) |\n| `--use_webgpu` | Enable WebGPU EP. To run its tests locally on Linux without a GPU, see the `webgpu-local-testing` skill. |\n| `--cmake_extra_defines onnxruntime_QUICK_BUILD=ON` | Faster CUDA build: instantiates a reduced kernel set. **Side effect:** Flash is compiled for head_dim 128 only, so most attention shapes fall back to **MEA** (changes which attention kernel is compiled\u002Fdispatched). Don't use it to characterize Flash-vs-arch behavior. |\n| `--build_dir` | Build output directory |\n\n## Build output path\n\nDefault: `build\u002F\u003CPlatform>\u002F\u003CConfig>\u002F` where Platform is `Linux`, `MacOS`, or `Windows`.\n\nWith Visual Studio multi-config generators, the config name appears twice (e.g., `build\u002FWindows\u002FRelease\u002FRelease\u002F`).\n\nIt may be customized with `--build_dir`.\nFor example, `--build_dir .\\build\\WGPU --config RelWithDebInfo` creates the CMake build tree at\n`build\u002FWGPU\u002FRelWithDebInfo\u002F`; Visual Studio places final binaries in its `RelWithDebInfo\u002F` subdirectory.\nThe `--build_shared_lib` flag in the WebGPU example is optional and is only needed when building the ONNX Runtime DLL.\n\n## Agent tips\n\n- **Activate a Python virtual environment** before building. See \"Python > Virtual environment\" in `AGENTS.md`.\n- **Build flags can silently reroute which kernel\u002Fcode path executes.** A build option can\n  change *which* kernel is compiled, and therefore which code path actually runs — so a CI\n  failure can live in a different code path than your local build exercises. Before\n  hypothesizing a hardware- or algorithm-specific cause (e.g. \"this GPU arch miscomputes\"),\n  first identify **which kernel actually ran** for the failing configuration (see the\n  `ort-test` skill → \"Verify which path\u002Fkernel actually executed\"). Concrete instance:\n  `onnxruntime_QUICK_BUILD=ON` compiles FlashAttention for head_dim 128 only, so most\n  attention shapes silently dispatch to Memory-Efficient Attention instead of Flash —\n  details in the `cuda-attention-kernel-patterns` skill.\n- **Prefer `python tools\u002Fci_build\u002Fbuild.py` directly** over `build.bat`\u002F`build.sh` when redirecting output. The `.bat` wrapper runs in `cmd.exe`, which breaks PowerShell redirection.\n- **Redirect output to a file** (e.g., `> build_log.txt 2>&1`). Build output is large and will overflow terminal buffers.\n- **Run builds in the background** — a full build can take tens of minutes to over an hour. Poll the log for `\"Build complete\"` or errors.\n- **Use `--parallel`** by default unless the user says otherwise.\n- Ask the user what they want to build (config, execution providers, wheel, etc.) if not clear from their prompt.\n",{"name":5,"description":7},"main","4edd78a847b9d7755f32d6c99aa60cab2addd39b",".github\u002Fskills\u002Fort-build",4449,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime","https:\u002F\u002Fonnxruntime.ai","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 02:23:16",{"source":9,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add microsoft\u002Fonnxruntime --skill ort-build",{"tool":64,"command":65},"bunx","bunx skills add microsoft\u002Fonnxruntime --skill ort-build",{"tool":67,"command":68},"pnpm","pnpm dlx skills add microsoft\u002Fonnxruntime --skill ort-build","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-build\u002FSKILL.md",true,[72,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"assets\u002Facceptance-observer.md","ASSET","资产文件",3845,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Facceptance-observer.md",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"assets\u002Fautopilot-triage-schema.json",2786,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fautopilot-triage-schema.json",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"assets\u002Fconfidence-gate-rubric.md",4524,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fconfidence-gate-rubric.md",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"assets\u002Ffinal-report-template.md",1683,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Ffinal-report-template.md",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"assets\u002Ffix-prompt.md",4180,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Ffix-prompt.md",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"assets\u002Fground-truth-table.md",3856,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fground-truth-table.md",{"path":99,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":100,"sourceHtmlUrl":101},"assets\u002Fideate-prompt.md",3178,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fideate-prompt.md",{"path":103,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":104,"sourceHtmlUrl":105},"assets\u002Fimplement-bug.md",943,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fimplement-bug.md",{"path":107,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":108,"sourceHtmlUrl":109},"assets\u002Fimplement-docs.md",1122,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fimplement-docs.md",{"path":111,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":112,"sourceHtmlUrl":113},"assets\u002Fimplement-feature.md",1119,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fimplement-feature.md",{"path":115,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":116,"sourceHtmlUrl":117},"assets\u002Fimplement-refactor.md",1457,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fimplement-refactor.md",{"path":119,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":120,"sourceHtmlUrl":121},"assets\u002Fmodel-routing.md",16143,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fmodel-routing.md",{"path":123,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":124,"sourceHtmlUrl":125},"assets\u002Fplan-panel-prompt.md",5741,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fplan-panel-prompt.md",{"path":127,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":128,"sourceHtmlUrl":129},"assets\u002Fplan-schema.json",6384,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fplan-schema.json",{"path":131,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":132,"sourceHtmlUrl":133},"assets\u002Fsolution-pipeline-prompt.md",11201,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fsolution-pipeline-prompt.md",{"path":135,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":136,"sourceHtmlUrl":137},"assets\u002Fstrategic-alignment-prompt.md",4671,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fstrategic-alignment-prompt.md",{"path":139,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":140,"sourceHtmlUrl":141},"assets\u002Ftask-implement-prompt.md",3490,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Ftask-implement-prompt.md",{"path":143,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":144,"sourceHtmlUrl":145},"assets\u002Ftriage-digest-template.md",1983,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Ftriage-digest-template.md",{"path":147,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":148,"sourceHtmlUrl":149},"assets\u002Ftriage-prompt.md",1877,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Ftriage-prompt.md",{"path":151,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":152,"sourceHtmlUrl":153},"assets\u002Fverdict-schema.json",3483,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fverdict-schema.json",{"path":155,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":156,"sourceHtmlUrl":157},"assets\u002Fwave-gate-rubric.md",7897,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Fassets\u002Fwave-gate-rubric.md",{"path":159,"resourceType":160,"resourceTypeDesc":161,"sizeBytes":162,"sourceHtmlUrl":163},"references\u002Fstrategic-alignment-gate.md","REFERENCE","参考文档",7961,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fapm\u002Fblob\u002Fmain\u002Fpackages\u002Fautopilot\u002Fautopilot-issue-delivery-worker\u002F.apm\u002Fskills\u002Fautopilot-issue-delivery-worker\u002Freferences\u002Fstrategic-alignment-gate.md",[165,197,230,260,287,306],{"skillNo":166,"name":167,"nameZh":168,"description":169,"descriptionZh":170,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":171,"categories":172,"keywords":177,"publishedAt":43},"01M69AJ65WPPT5DS4JA8YWN37B","workspace-estimation-shared-header","工作空间估计共享头文件","Use when editing a boundary-safe shared header meant to be included by both in-tree and shared-provider\u002Fplugin-bridge code (e.g. include\u002Fonnxruntime\u002Fcore\u002Fframework\u002Fworkspace_requirement.h, or any future header supporting OrtKernelWorkspaceEstimateFunc \u002F DeclareWorkspaceRequirements per issue #29775's Phase-A workspace-estimation roadmap), or when a workspace-estimation math helper needs to be callable from a future plugin EP DLL. Covers a Node forward-declaration ODR trap and the math-helper vs. graph-parsing-wrapper reuse boundary discovered while implementing PR #29811 (MatMulNBits pilot).","在编辑边界安全的共享头文件时使用，该头文件须同时被树内代码和共享提供者\u002F插件桥接代码包含（例如 include\u002Fonnxruntime\u002Fcore\u002Fframework\u002Fworkspace_requirement.h，或任何未来支持 OrtKernelWorkspaceEstimateFunc \u002F DeclareWorkspaceRequirements 的头文件，参见 issue #29775 的 Phase-A 工作空间估计路线图），或者当工作空间估计数学辅助函数需要从未来的插件 EP DLL 中调用时。涵盖 Node 前向声明的 ODR 陷阱，以及在实现 PR #29811（MatMulNBits 试点）时发现的数学辅助函数与图解析包装器之间的重用边界。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fworkspace-estimation-shared-header\u002FSKILL.md",[173,174],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":175,"categoryName":176,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRXQPYT60FQ3976GDV4Q","C++ 开发",[178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,42],"workspace estimation shared header","workspace","estimation","shared","safe","pr","code","framework","graph","parsing","node","math","bridge","roadmap","Wrapper","issue","tree","implementing","phase",{"skillNo":198,"name":199,"nameZh":200,"description":201,"descriptionZh":202,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":203,"categories":204,"keywords":207,"publishedAt":43},"01M69AJ3F3NXDS7QP76KZ9EX5H","webgpu-local-testing","ONNX Runtime WebGPU 本地测试","Build and run ONNX Runtime WebGPU provider tests on Linux WITHOUT a real GPU, using a software Vulkan adapter (Mesa lavapipe). Use when you need to exercise WebGPU EP kernels off-Mac — the Linux webgpu CI leg is build-only, so software Vulkan is how you actually run WebGPU correctness tests locally. SCOPE - lavapipe only validates host-side enforce\u002Fshape bugs and MatMul-free kernels; any graph containing MatMul (including the expanded-Attention node tests) crashes lavapipe and runs ONLY on macOS-arm64 Metal, which is the source of truth for those. Covers install (dnf on Azure Linux), the --use_webgpu build flag, the onnxruntime_provider_test target, VK_ICD_FILENAMES, and the lavapipe MatMul crash gotcha.","在没有真实 GPU 的 Linux 上构建并运行 ONNX Runtime WebGPU 提供者测试，使用软件 Vulkan 适配器（Mesa lavapipe）。当需要在非 Mac 环境下运行 WebGPU EP 内核时使用——Linux 的 webgpu CI 环节仅做构建，因此软件 Vulkan 是本地实际运行 WebGPU 正确性测试的方式。范围——lavapipe 仅能验证主机侧的 enforce\u002Fshape 缺陷以及不含 MatMul 的内核；任何包含 MatMul 的图（包括扩展的 Attention 节点测试）都会使 lavapipe 崩溃，此类测试仅在 macOS-arm64 Metal 上运行，Metal 是这些测试的权威来源。涵盖安装（在 Azure Linux 上用 dnf）、--use_webgpu 构建标志、onnxruntime_provider_test 目标、VK_ICD_FILENAMES，以及 lavapipe 的 MatMul 崩溃陷阱。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fwebgpu-local-testing\u002FSKILL.md",[205,206],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[208,209,210,211,212,213,214,215,216,217,33,218,219,220,221,188,222,223,224,225,226,227,228,229,42],"testing","webgpu","webgpu local testing","local testing","local","macos","metal","vulkan","linux","test","run","ci","exercise","how","install","only","free","host","scope","you","vk","which",{"skillNo":231,"name":232,"nameZh":233,"description":234,"descriptionZh":235,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":236,"categories":237,"keywords":244,"publishedAt":43},"01M69AJ1ASRSCJ90HDWN05TW82","python-kwargs-setattr-security","Python setattr 安全审查","When reviewing or fixing Python code that uses setattr() with user-controlled kwargs to configure C++ extension objects (SessionOptions, RunOptions, etc.) in ONNX Runtime. Use this to apply the allowlist pattern that prevents arbitrary file writes and other attacks via reflected property access.","在审查或修复 ONNX Runtime 中使用用户可控的 kwargs 通过 setattr() 配置 C++ 扩展对象（SessionOptions、RunOptions 等）的 Python 代码时使用。用于应用白名单模式，防止通过反射属性访问进行任意文件写入和其他攻击。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpython-kwargs-setattr-security\u002FSKILL.md",[238,241],{"categoryNo":239,"categoryName":240,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",{"categoryNo":242,"categoryName":243,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSJ8FPTACYEEYRWQRNFXKY","安全检测工程",[245,246,247,33,184,248,249,250,37,251,252,253,39,254,255,256,257,258,259,42],"python","security","python kwargs setattr security","file","access","configure","objects","pattern","c++","extension","via","with","attacks","python code","apply",{"skillNo":261,"name":262,"nameZh":263,"description":264,"descriptionZh":265,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":266,"categories":267,"keywords":274,"publishedAt":43},"01M69AHZ0M0Q90TP0KYMZ10HEP","ort-transformers-gpu-pytest","ONNX Runtime Transformers GPU 测试","Run the ONNX Runtime transformers Python tests (onnxruntime\u002Ftest\u002Fpython\u002Ftransformers) against a GPU wheel, and confirm real cuDNN\u002Fflash SDPA dispatch. Use when a transformers pytest fails with ModuleNotFoundError onnxruntime.capi, when torch's bundled CUDA\u002FcuDNN libs shadow the ORT-built ones (wrong-version dispatch or load errors), or when you must PROVE a test exercised the cuDNN SDPA decode tier instead of silently skipping\u002Ffalling back to MATH.","针对 GPU wheel 运行 ONNX Runtime transformers Python 测试（onnxruntime\u002Ftest\u002Fpython\u002Ftransformers），并确认真实的 cuDNN\u002Fflash SDPA 调度。当 transformers pytest 因 ModuleNotFoundError onnxruntime.capi 失败、torch 自带的 CUDA\u002FcuDNN 库覆盖了 ORT 构建的库（导致错误版本调度或加载错误），或必须证明测试确实执行了 cuDNN SDPA 解码层而非静默跳过或回退到 MATH 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-transformers-gpu-pytest\u002FSKILL.md",[268,271],{"categoryNo":269,"categoryName":270,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":272,"categoryName":273,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[275,276,277,278,245,217,33,218,279,189,37,280,39,281,282,227,283,284,285,286,42],"ort transformers gpu pytest","gpu","Transformers","pytest","flash","back","tests","SDPA","errors","load","prove","decode",{"skillNo":288,"name":289,"nameZh":290,"description":291,"descriptionZh":292,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":293,"categories":294,"keywords":297,"publishedAt":43},"01M69AHW3EFVHBHB2S7103YA21","ort-test","ONNX Runtime 测试执行与调试","Run ONNX Runtime tests. Use this skill when asked to run tests, debug test failures, or find and execute specific test cases in ONNX Runtime.","运行 ONNX Runtime 测试。当被要求运行测试、调试测试失败，或在 ONNX Runtime 中查找并执行特定测试用例时使用此技能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-test\u002FSKILL.md",[295,296],{"categoryNo":269,"categoryName":270,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":272,"categoryName":273,"taxonomyType":28,"taxonomyTypeDesc":29},[217,298,299,300,301,33,302,218,303,304,37,39,281,305,42],"ort test","run tests","debug","debug test","debug test failures","find","execute","test cases",{"skillNo":307,"name":308,"nameZh":309,"description":310,"descriptionZh":311,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":312,"categories":313,"keywords":320,"publishedAt":43},"01M69AHSKXBSERP5NGAJB5E6XD","ort-release-notes","ONNX Runtime 发布说明撰写","Draft ONNX Runtime release notes using preset configurations for full ORT or scoped component releases. Use when generating highlights with PR links, compiling human contributor acknowledgments from compile_contributors.py output, and applying preset path filtering.","使用预设配置为完整 ORT 或限定范围的组件发布起草 ONNX Runtime 发布说明。适用于生成带 PR 链接的亮点摘要、根据 compile_contributors.py 的输出整理人工贡献者致谢名单，以及应用预设的路径过滤。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-release-notes\u002FSKILL.md",[314,317],{"categoryNo":315,"categoryName":316,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",{"categoryNo":318,"categoryName":319,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BVB0FJ0RR8KXYVFTKEA3XX","技术文档工程师",[321,322,323,324,325,326,33,183,36,327,328,329,330,331,39,332,333,40,334,335,42],"notes","ort release notes","release notes","release","component","preset","compiling","contributors","releases","human","full","links","path","scoped","contributor"]