Repository navigation
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
An audit of .claude/skills found the problems below. They need a maintainer to decide which way to go, so the companion PR (fixes for the clear-cut bugs) does not change them.
Skills that contradict each other
- Skip decorators.
xpu-nightly-ci-fixallows a temporary@skipIfXpuwith a tracking issue.issue-handler/issue-fixandxpu-issues-triagingforbid any skip. - Testing a torch-xpu-ops fix inside pytorch.
issue-handler/references/environment-setup.mdsays to copy files, runninja -C buildand never touchthird_party/xpu.txt.AGENTS.md,xpu-build-pytorch/reference.mdandxpu-nightly-ci-fixsay to setxpu.txtto HEAD and build only withpip install -e . -v --no-build-isolation. setvars.sh.action/sycl/source-oneapiforbids it.issue-handler/references/environment-setup.md, the xpu-alignment setup andxpu-build-pytorchuse it.- pr-review tone. The skill says "only report problems, no nits", but its detailed mode has a "Style nits" section and a mandatory "What looks good" section.
- Triaging scope.
xpu-issues-triagingsays it is read-only with no execution, then allows un-skipping tests, adding prints and runninggit clone. - Stage order.
issue-formatsends interactive runs straight to triaging. Theissue-handlerorchestrator runstest-verificationnext. - Where the PyTorch checkout lives. Three skills use three locations:
agent_space_xpu/pytorch,$PYTORCH_DIRand/tmp/pytorch. - Environment and commit rules vs
AGENTS.md.xpu-alignmentcreates a.venvand runs pip installs.xpu-ops-pr-creationamends and pushes.AGENTS.mdforbids installing tools and committing unless asked.
References to things that do not exist
- Labels that intel/torch-xpu-ops does not have today:
agent:waiting-upstream(the repo haswait_upstream)agent_test: ut(the repo hastest: ut)xpu-alignment,upstream-issue,upstream-pr,confirmed,related-failure,task
- auto-label skill. CI passes this skill verbatim to the labelling model, so it was left unchanged.
- It mentions
test/xpu/core/, which does not exist. - The
_windows_*.ymlrule asks forwindows_ci.auto_label.ymlonly acceptsdisable_*labels, so that label can never be emitted. The rule'sdisable_utthen blocks windows-ut inpull.yml. - Rule 6 ignores
src/comm/.
- It mentions
- pr-review "GitHub Actions Mode". It describes
@copilotand@claudetriggers that no workflow implements. The real trigger is@torchxpubot reviewinbot.yml. That trigger passes a PR number, so it uses theghpath. - Leftovers with no consumer in the repo:
- the "Custom skills applied" markers
- the
pre-commitoption inxpu-ops-pr-creation(the repo uses lintrunner) - the "machine-parsed"
**Branch:**line inxpu-ops-pr-creation
Structure
- A skill named
setup.action/unitrace/setuphas a name that is too generic for discovery. The upstream copy of this skill is namedunitrace-setup. - Nested skills.
action/**andissue-handler/*are nested, andissue-handleritself warns that nested skills may not be auto-discovered. - Licence. The four
action/skills declarelicense: MIT, but the repo is Apache-2.0.action/intel-gpu-device-selection/scripts/l0_igpu_check.pyhas no licence header. - Duplication. The
xpu.txtdevelopment-override text is repeated inAGENTS.md,xpu-build-pytorch/SKILL.md,xpu-build-pytorch/reference.md,xpu-nightly-ci-fix/SKILL.mdandissue-handler/*. These copies have already drifted apart (see item 2).
Each item needs a decision on which side is authoritative. After that, the change is a small doc edit.
Written with an AI assistant (OpenCode); the claims were checked against the repo and gh label list -R intel/torch-xpu-ops.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Activity
ZhaoqiongZ commentedon Nov 12, 2026
Checked against current main (9908a41). The following files referenced in this issue have already been removed (#5014, #5275):
issue-handler/references/environment-setup.mdissue-handler/issue-fix,issue-handler/issue-format,issue-handler/test-verificationxpu-issues-triagingxpu-nightly-ci-fixSo the parts of 1, 2, 5, 6, 14 and 16 that rely on these files no longer apply. Environment setup / PyTorch build is now consolidated:
fix-reproduce,fix-verifyandAGENTS.mdall refer to thexpu-build-pytorchskill. The skip policy is now unified infix-implementviaallow_skip. allow_skip True for Disabled Issues, False for ut / general issues.I'll take
7and unify the PyTorch checkout path wording ($PYTORCH_DIR, defaulting toagent_space_xpu/pytorch) acrossfix-reproduce,fix-verifyanddomain-knowledge.