with one click
fix-pr
Fix a pull request based on review feedback
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Fix a pull request based on review feedback
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Build and test the libuipc project using XMake. Use when building with xmake, running xmake f / xmake build / xmake run commands, selecting release/releasedbg/debug modes, or running Catch2 tests produced by xmake.
Build and test the libuipc project using CMake. Use when building the project, running cmake configure/build commands, compiling with RelWithDebInfo, running Catch2 tests, or when the user asks how to build or test libuipc.
General simulation development best practices for correctness, stability, and debuggability. Use when implementing or modifying simulation systems, solvers, constraints, or GPU kernels, especially for index safety, NaN/Inf issues, and diagnostics.
Review a libuipc pull request end-to-end: checkout the PR, summarize changes, list files for the human reviewer, and perform a domain-aware AI review covering physics correctness, backend architecture, C++ style, GPU code, and Python bindings. Optionally post review comments via `gh`. Use when the user provides a PR number, asks to review a PR, or wants to inspect a libuipc GitHub PR.
Push a version tag and optionally create a GitHub release
Conventional commit message format and rules for this project
| name | fix-pr |
| description | Fix a pull request based on review feedback |
| disable-model-invocation | true |
Fix a pull request based on review feedback comments.
If no PR number is provided, list and ask the developer to pick:
gh pr list --repo spiriMirror/libuipc
Note: Always use --repo spiriMirror/libuipc to reference the upstream repository (works with forks).
gh pr checkout <PR_NUMBER> --repo spiriMirror/libuipc
Or the developer may already be on their own branch for the PR (e.g., from a forked repository).
gh pr view <PR_NUMBER> --comments --repo spiriMirror/libuipc
If the output is too long, store it in a temporary file for reference (output/ is gitignored):
mkdir -p output/.cursor
gh pr view <PR_NUMBER> --comments --repo spiriMirror/libuipc > output/.cursor/pr_comments.txt
Analyze all review comments and identify what needs to change.
Check the PR status, if there is a conflict, you need to resolve it first:
gh pr status --conflict-status --repo spiriMirror/libuipc
Switch to plan mode. Address each review comment, then implement the fixes.
Build with the build command.
Follow the same test procedure as fix-issue step 4:
Use the commit command to format, commit, and push.
The PR will update automatically. Clean up any temporary files:
rm -rf output/.cursor