Fix pr

From spiriMirror/libuipc · View interactive version

Fix pr is an AI agent skill from the GitHub repository spiriMirror/libuipc. Fix a pull request based on review feedback

How to use this skill

Skill file

Fix PR

Overview

Fix a pull request based on review feedback comments.

1. Identify the PR

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).

2. Verify the Working Branch

Follow the owner working agreements. Keep

implementation commits on the current working branch; honor any different

working branch explicitly selected by the owner.

3. Read Review Comments

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

4. Plan & Implement Fixes

Analyze each review comment, then implement the focused fixes.

Build with the build command.

5. Test

Follow the same test procedure as fix-issue step 4:

6. Commit & Push

Use the commit command to format, commit, and push.

The PR will update automatically. Clean up any temporary files:

rm -rf output/.cursor
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.