[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AHQAPER0CRAZ0FTX0G2FT":3,"skill-same:01M69AHQAPER0CRAZ0FTX0G2FT":68},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M69AHQAPER0CRAZ0FTX0G2FT","ort-lint",null,"Lint and format ONNX Runtime code. Use this skill when asked to lint, format, or check code style for C++ or Python files in ONNX Runtime.","microsoft\u002Fonnxruntime","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AGY0EW9AJXAH7HK223SQZ",22276,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-lint\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"ort lint","lint","python","code style","onnx","code","format","check","use","files","c++","runtime","style","for","when","2026-11-10 10:12:30",false,"---\nname: ort-lint\ndescription: Lint and format ONNX Runtime code. Use this skill when asked to lint, format, or check code style for C++ or Python files in ONNX Runtime.\n---\n\n# Linting and Formatting ONNX Runtime Code\n\nONNX Runtime uses [lintrunner](https:\u002F\u002Fgithub.com\u002Fsuo\u002Flintrunner) for both C++ (clang-format) and Python (ruff).\n\n## Setup (one-time)\n\n```bash\npip install -r requirements-lintrunner.txt\nlintrunner init\n```\n\n## Commands\n\n```bash\nlintrunner -a                                        # auto-fix changed files\nlintrunner -a --all-files                            # auto-fix all files\nlintrunner -a path\u002Fto\u002Ffile.py path\u002Fto\u002Fother_file.cc  # auto-fix specific files\nlintrunner f --all-files                             # format Python files only\nlintrunner                                           # check without fixing (dry run)\n```\n\n## Style rules\n\n### C++\n- Google C++ Style with modifications (see `docs\u002FCoding_Conventions_and_Standards.md` for full details)\n- Max line length: 120 characters, but **aim for 80** when possible\n- Configured in `.clang-format` and `.clang-tidy`\n\n### Python\n- Google Python Style Guide (extension of PEP 8)\n- Max line length: 120 characters\n- Configured in `pyproject.toml`\n\n## Agent tips\n\n- **Activate a Python virtual environment** before installing dependencies. See \"Python > Virtual environment\" in `AGENTS.md`.\n- If lintrunner is not yet set up, install and initialize first (see [Setup](#setup-one-time)).\n- Prefer `lintrunner -a` (changed files only) over `--all-files` unless the user asks for a full sweep.\n","# Linting and Formatting ONNX Runtime Code\n\nONNX Runtime uses [lintrunner](https:\u002F\u002Fgithub.com\u002Fsuo\u002Flintrunner) for both C++ (clang-format) and Python (ruff).\n\n## Setup (one-time)\n\n```bash\npip install -r requirements-lintrunner.txt\nlintrunner init\n```\n\n## Commands\n\n```bash\nlintrunner -a                                        # auto-fix changed files\nlintrunner -a --all-files                            # auto-fix all files\nlintrunner -a path\u002Fto\u002Ffile.py path\u002Fto\u002Fother_file.cc  # auto-fix specific files\nlintrunner f --all-files                             # format Python files only\nlintrunner                                           # check without fixing (dry run)\n```\n\n## Style rules\n\n### C++\n- Google C++ Style with modifications (see `docs\u002FCoding_Conventions_and_Standards.md` for full details)\n- Max line length: 120 characters, but **aim for 80** when possible\n- Configured in `.clang-format` and `.clang-tidy`\n\n### Python\n- Google Python Style Guide (extension of PEP 8)\n- Max line length: 120 characters\n- Configured in `pyproject.toml`\n\n## Agent tips\n\n- **Activate a Python virtual environment** before installing dependencies. See \"Python > Virtual environment\" in `AGENTS.md`.\n- If lintrunner is not yet set up, install and initialize first (see [Setup](#setup-one-time)).\n- Prefer `lintrunner -a` (changed files only) over `--all-files` unless the user asks for a full sweep.\n",{"name":5,"description":7},"main","4edd78a847b9d7755f32d6c99aa60cab2addd39b",".github\u002Fskills\u002Fort-lint",4436,"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-11 08:49:21",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add microsoft\u002Fonnxruntime --skill ort-lint",{"tool":60,"command":61},"bunx","bunx skills add microsoft\u002Fonnxruntime --skill ort-lint",{"tool":63,"command":64},"pnpm","pnpm dlx skills add microsoft\u002Fonnxruntime --skill ort-lint","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-lint\u002FSKILL.md",true,[],[69,99,131,151,170,186],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":80,"publishedAt":39},"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).","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fworkspace-estimation-shared-header\u002FSKILL.md",[75],{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},"01JBSEEDCAT000000000000031","产品经理","PROFESSION","适用职业",[81,82,83,84,85,86,29,87,88,89,90,91,92,93,94,95,96,97,98,38],"workspace estimation shared header","workspace","estimation","shared","safe","pr","framework","graph","parsing","node","math","bridge","roadmap","Wrapper","issue","tree","implementing","phase",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":108,"publishedAt":39},"01M69AJ3F3NXDS7QP76KZ9EX5H","webgpu-local-testing","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fwebgpu-local-testing\u002FSKILL.md",[105],{"categoryNo":106,"categoryName":107,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量",[109,110,111,112,113,114,115,116,117,118,28,119,120,121,122,90,123,124,125,126,127,128,129,130,38],"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":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":39},"01M69AJ1ASRSCJ90HDWN05TW82","python-kwargs-setattr-security","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpython-kwargs-setattr-security\u002FSKILL.md",[],[26,138,139,28,29,140,141,142,32,143,144,34,35,145,146,147,148,149,150,38],"security","python kwargs setattr security","file","access","configure","objects","pattern","extension","via","with","attacks","python code","apply",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":39},"01M69AHZ0M0Q90TP0KYMZ10HEP","ort-transformers-gpu-pytest","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-transformers-gpu-pytest\u002FSKILL.md",[],[158,159,160,161,26,118,28,119,162,91,32,163,35,164,165,128,166,167,168,169,38],"ort transformers gpu pytest","gpu","Transformers","pytest","flash","back","tests","SDPA","errors","load","prove","decode",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":177,"publishedAt":39},"01M69AHW3EFVHBHB2S7103YA21","ort-test","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-test\u002FSKILL.md",[176],{"categoryNo":106,"categoryName":107,"taxonomyType":21,"taxonomyTypeDesc":22},[118,178,179,180,181,28,182,119,183,184,32,35,164,185,38],"ort test","run tests","debug","debug test","debug test failures","find","execute","test cases",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"publishedAt":39},"01M69AHSKXBSERP5NGAJB5E6XD","ort-release-notes","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.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fonnxruntime\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fort-release-notes\u002FSKILL.md",[],[193,194,195,196,197,198,28,86,199,200,201,202,203,204,35,205,206,37,207,208,38],"notes","ort release notes","release notes","release","component","preset","compile","compiling","contributors","releases","human","full","links","path","scoped","contributor"]