xpu-release-notes
Skill121 starsChanged 5 months agoApache-2.0View on GitHub
Generate PyTorch release notes worksheet for XPU by searching git log between release branches. Trigger on "xpu-release-notes", "generate XPU release notes".
In this repository28 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- asm-source-mappingSkill
- at-dispatch-v2Skill
- auto-labelSkill
- extract-asm-onednnSkill
- extract-asm-syclkernel-aotSkill
- extract-asm-syclkernel-jitSkill
- extract-asm-tritonSkill
- extract-xpu-kernel-asmSkill
- fix-implementSkill
- fix-reproduceSkill
- fix-root-causeSkill
- fix-verifySkill
- issue-handlerSkill
- issue-triageSkill
- label-issueSkill
- oob-perf-analysisSkill
- pr-reviewSkill
- release-branchingSkill
- skill-writerSkill
- ut-checkSkill
- ut-issue-authoringSkill
- ut-refactor-reviewSkill
- xpu-alignmentSkill
- xpu-build-pytorchSkill
- xpu-ci-health-checkSkill
- xpu-ops-pr-creationSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Check that the version and torch-release-notes-clone-path arguments were provided.
- Distinctive: line 23
Check that the torch-release-notes-clone-path exists.
- Distinctive: line 41
Search git log between the two release branches for commits related to xpu, and save the results to a <version>.txt for review.
- Very specific: line 50
Read <torch-release-notes-clone-path>/<version>/todo/result_xpu.md worksheet file with the categorized commits.
- Distinctive: line 56
Remove all the items categorized.
- Distinctive: line 58
put the commit in the existed categories.
- Distinctive: line 71
Start with a verb or "Support/Enable/Add/Fix"
- Very specific: line 72
Use backticks for code identifiers: torch.compile, conv2d, addmm
- Very specific: line 74
Don't start entries with [tag] prefixes — integrate the context into the description
- Very specific: line 79
Write the complete worksheet to <version>/done/result_xpu.md (or <version>/todo/result_xpu.md if not yet finalized).
- Distinctive: line 98
Test coverage expansion → one grouped entry in improvements
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate Release Notes from Git History
Generate and complete the release notes worksheet for xpu.
Usage
/xpu-release-notes <version> <torch-release-notes-clone-path>Where <version> is the PyTorch release version (e.g., 2.11.0) and <torch-release-notes-clone-path> is the path to the cloned https://github.com/meta-pytorch/torch-release-notes repository.
Instructions
Step 0: Validate inputs
- Check that the version and torch-release-notes-clone-path arguments were provided. If missing, ask the user for the missing arguments.
- Check that the torch-release-notes-clone-path exists. If it doesn't exist, tell the user to clone it.
- Confirm the version directory exists (e.g.,
torch-release-notes-clone-path/2.12.0/). If not, tell the user to update to latest main branch of torch-release-notes. - Confirm the worksheet file exists at
<torch-release-notes-clone-path>/<version>/todo/result_xpu.md. If it's already indone/, tell the user it's already completed and ask if they want to re-process it.
Step 1: Collect all the commits between the previous pyTorch release and the current release
Fetch the previous and current release branches from the PyTorch repo:
git fetch origin release/<prev_version_minor>:release/<prev_version_minor> release/<current_version_minor>:release/<current_version_minor>For example, for version 2.12.0:
- Previous branch:
release/2.11 - Current branch:
release/2.12
Step 2: Find relevant commits
Search git log between the two release branches for commits related to xpu, and save the results to a <version>.txt for review. Use the following command:
git log --oneline origin/release/<prev>..origin/release/<current> | grep -Ei "xpu|sycl|oneapi|intel"Step 3: Read <todo>/result_xpu.md to understand task
- Read
<torch-release-notes-clone-path>/<version>/todo/result_xpu.mdworksheet file with the categorized commits. Follow the instructions in the worksheet to ensure proper categorization, clear descriptions, and formatting. - Reference previous version's completed notes to understand more about the categories and style.
Step 4: Finish the <todo>/result_xpu.md worksheet
- Remove all the items categorized.
- for each commit, not only read the title, but also the PR descriptions to understand the context and impact of
- put the commit in the existed categories.
Format each entry as:
- Clear description of the change ([#NNNNN](https://github.com/pytorch/pytorch/pull/NNNNN))Grouping: Merge related PRs into a single entry when they implement the same logical change:
- Improve Inductor UT coverage for XPU ([#174053](https://github.com/pytorch/pytorch/pull/174053), [#174054](https://github.com/pytorch/pytorch/pull/174054), ...)Style rules:
- Start with a verb or "Support/Enable/Add/Fix"
- Use backticks for code identifiers:
torch.compile,conv2d,addmm - Be specific about what changed and on which device/backend
- Don't start entries with
[tag]prefixes — integrate the context into the description
Step 5: Write the worksheet file
Write the complete worksheet to <version>/done/result_xpu.md (or <version>/todo/result_xpu.md if not yet finalized).
Step 6: Review with user
Present the categorized notes for user review. Common feedback patterns:
- Items in wrong categories
- Items that should be merged into one entry
- Items that should be dropped
- Items missing that the user knows about
Iterate until the user is satisfied, then ensure the file is in done/.
Example: XPU for 2.12.0
For XPU, the search terms were xpu, sycl, oneapi, Intel GPU. The process found ~80 commits, which were filtered down to ~25 entries across categories. Key decisions:
- Pin updates and CI infra → dropped entirely
- C++20 enforcement → devs (affects source builders)
- Header includes, warning fixes → not user facing
- Test coverage expansion → one grouped entry in improvements
torch.accelerator.Graphsupport → new feature (new API surface)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

