pr-local-validation
Skill by microsoft
Validates a pull request on real hardware by running live-write tests for its exact head commit across selected Godot versions. Built for maintainers of this Godot GDK repository who need evidence hosted CI cannot provide.
Install pr-local-validation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/microsoft/XBOX-Godot-Sample /tmp/XBOX-Godot-Sample && mkdir -p ~/.claude/skills && cp -r /tmp/XBOX-Godot-Sample/.github/skills/pr-local-validation ~/.claude/skills/pr-local-validationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/microsoft/XBOX-Godot-Sample /tmp/XBOX-Godot-Sample && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/XBOX-Godot-Sample/.github/skills/pr-local-validation ~/.gemini/antigravity-cli/skills/pr-local-validationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install pr-local-validation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
PR Local Validation is a skill from Microsoft that checks a pull request on real hardware. It clones the exact head commit into a disposable checkout, builds it, runs the live-write test suite for each selected Godot version, and builds Release. The result is published as a scoped comment on the pull request, with a validation manifest and per-engine run summaries saved locally.
It exists because hosted GitHub Actions runners have no GDK, no Xbox sandbox, and cannot form a PlayFab Party P2P mesh, so they skip the live tier. It is intended for maintainers of this Godot GDK repository who run it on a self-hosted machine. A passing run covers one SDK and the selected engines only, and it does not approve the full PR support matrix.
Written from the project's SKILL.md and checked against it.
What it can do
- Validate a PR head commitFetches the pull request head SHA and checks it out detached in a fresh clone, not the working tree.
- Run live-write testsRuns the live-write test suite for every supported Godot engine, or for a narrowed selection.
- Build ReleaseBuilds the candidate in Release configuration as part of the validation run.
- Pin a GDK versionUses -GdkVersion to build against a specific supported GDK instead of the registry baseline.
- Narrow the engine matrixUses -GodotVersion to restrict the run to chosen engine versions, with unselected versions listed as scope notes.
- Dry runUses -DryRun to print the validation plan without touching anything.
- Publish a PR commentPosts a scoped result comment to the pull request, unless -NoComment keeps the result local.
- Produce a validation manifestWrites validation-manifest.json, report.md and per-engine run summaries for review.
What you need
- Windows machine with the GDK, Visual Studio build tools and XblPCSandbox.exe
- PowerShell (pwsh)
- GitHub CLI (gh) authenticated, with write access if a comment will be posted
- Xbox test sandbox with a test account signed into the Xbox app
Try asking
- Validate PR 123 locally with the live-write suite
- Run local PR validation for PR 456 on Godot 4.4 only
- Dry run the live tests for PR 789 and show the head SHA
Good to know
- Same-repository pull requests only. Fork PRs are refused with no override.
- Does not cover console targets, packaging or submission, or other PlayFab titles.
- Overlapping local runs are not prevented, so runs must be coordinated by hand.
- A passing run does not approve the full PR support matrix.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .github/skills/pr-local-validation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to pr-local-validation
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
pr-local-validation: common questions
Does a passing run prove the whole PR is safe to merge?
No. The source says a passing run is not approval of the entire PR support matrix. It covers one SDK and the selected engines only.
Why not rely on GitHub Actions for this?
The source says hosted runners have no GDK, no Xbox sandbox, and cannot form a PlayFab Party P2P mesh, so the live tier is skipped there.
Can I validate a pull request from a fork?
The script refuses cross-repository PRs before fetching anything. The source suggests reviewing the diff and pushing it to a branch in the repository first.
How do I install pr-local-validation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pr-local-validation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pr-local-validation safe to use?
It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pr-local-validation?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
