Docs: agent skills for each XCL subsystem #271

Open
github-bot wants to merge 11 commits from github-bot/gh-271 into main AGit
Owner

@⁠mattpsvreis on GitHub · 2026-11-23 22:16 UTC · original
mattpsvreis:main → main · +477 −0 · 16 files · 11 commits · open

Agent skills for working on XCL, in the one directory Codex and Cursor load (.agents/skills/). AGENTS.md and CLAUDE.md point at that directory. Claude Code does not load it on its own, so CLAUDE.md tells it to read the files there. No runtime change.

What is in it

  • .agents/skills/xcl/SKILL.md: index, invariants, and the merge bar from CONTRIBUTING.md (real test counts, no hand-written xcl-smoke block, no cargo fmt on a whole file)
  • One skill per subsystem: loader, imports, VFS and DirectStorage, kernelx, XGameRuntime, D3D12.X, shaders, textures, audio, input, report.json, and the first-intro-cutscene loop
  • AGENTS.md and CLAUDE.md: read .agents/skills/ before editing a subsystem, and do not copy the skills elsewhere

Tested

  • Not run. This change is Markdown only. cargo test was not run.

Regression run

Not required. The diff does not touch crates/xcl/src outside tests.

Not tested

  • cargo test --workspace -- --test-threads=4
  • GPU, SKIPPED tests, wave32, and scripts/smoke.ps1 on a title

AI use

  • Cursor, Grok 4.7. It wrote the skills and the AGENTS.md and CLAUDE.md lines. No trailer was added to the commit.
**@⁠mattpsvreis** on GitHub · 2026-11-23 22:16 UTC · [original](https://github.com/xcl-dev/xcl/pull/271) `mattpsvreis:main` → `main` · +477 −0 · 16 files · 11 commits · open Agent skills for working on XCL, in the one directory Codex and Cursor load (`.agents/skills/`). `AGENTS.md` and `CLAUDE.md` point at that directory. Claude Code does not load it on its own, so `CLAUDE.md` tells it to read the files there. No runtime change. **What is in it** - `.agents/skills/xcl/SKILL.md`: index, invariants, and the merge bar from `CONTRIBUTING.md` (real test counts, no hand-written `xcl-smoke` block, no `cargo fmt` on a whole file) - One skill per subsystem: loader, imports, VFS and DirectStorage, kernelx, XGameRuntime, D3D12.X, shaders, textures, audio, input, `report.json`, and the first-intro-cutscene loop - `AGENTS.md` and `CLAUDE.md`: read `.agents/skills/` before editing a subsystem, and do not copy the skills elsewhere **Tested** - Not run. This change is Markdown only. `cargo test` was not run. **Regression run** Not required. The diff does not touch `crates/xcl/src` outside tests. **Not tested** - `cargo test --workspace -- --test-threads=4` - GPU, `SKIPPED` tests, wave32, and `scripts/smoke.ps1` on a title **AI use** - Cursor, Grok 4.7. It wrote the skills and the `AGENTS.md` and `CLAUDE.md` lines. No trailer was added to the commit.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:18:19 +00:00
Author
Owner

@⁠upipibi on GitHub · 2026-11-24 10:15 UTC · original

Full-suite run on this PR's head fdbdc13, for the counts CONTRIBUTING.md item 2 asks for (the description notes cargo test wasn't run, since the change is Markdown only):

Tested

  • NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug
  • cargo build --workspace then cargo test --workspace --no-fail-fast -- --test-threads=4: 652 passed, 0 failed, 40 ignored (17 test binaries, the e2e title included)
  • SKIPPED: gpu_geometry_wave32_prefix_count_over_a_mask, gpu_wave32_program_in_wave64_hardware (no wave64)

Not tested: AMD / wave64; no retail title (this PR changes only .agents/skills/*.md).

AI-assisted (Claude Code).

**@⁠upipibi** on GitHub · 2026-11-24 10:15 UTC · [original](https://github.com/xcl-dev/xcl/pull/271#issuecomment-7128524471) Full-suite run on this PR's head `fdbdc13`, for the counts CONTRIBUTING.md item 2 asks for (the description notes `cargo test` wasn't run, since the change is Markdown only): **Tested** - NVIDIA GeForce RTX 3070 (driver 616.56, wave32), Ryzen 9 5950X, Windows 11 Pro 26100, rustc 1.100.0 MSVC, debug - `cargo build --workspace` then `cargo test --workspace --no-fail-fast -- --test-threads=4`: **652 passed, 0 failed, 40 ignored** (17 test binaries, the e2e title included) - SKIPPED: `gpu_geometry_wave32_prefix_count_over_a_mask`, `gpu_wave32_program_in_wave64_hardware` (no wave64) **Not tested:** AMD / wave64; no retail title (this PR changes only `.agents/skills/*.md`). AI-assisted (Claude Code).
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-25 15:14 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-25 15:14 UTC · [original](https://github.com/xcl-dev/xcl/pull/271#issuecomment-7166519261) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.) Thanks!
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-26 02:45 UTC · original

Re-verification on RTX 3060 Ti (Windows 11), new head merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved.

Thanks!

— Devin

**@⁠DavidM1911** on GitHub · 2026-11-26 02:45 UTC · [original](https://github.com/xcl-dev/xcl/pull/271#issuecomment-7181098208) Re-verification on RTX 3060 Ti (Windows 11), new head merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 27 ignored. The earlier merge conflict is resolved. Thanks! — Devin
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/271/head:github-bot/gh-271'
git switch 'github-bot/gh-271'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-271'
git switch 'github-bot/gh-271'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-271'
git switch 'github-bot/gh-271'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-271'
git switch 'main'
git merge --squash 'github-bot/gh-271'
git switch 'main'
git merge --ff-only 'github-bot/gh-271'
git switch 'main'
git merge 'github-bot/gh-271'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.