Skip to main content

fix-pr

Fix a pull request based on review feedback

来源信息

仓库
spiriMirror/libuipc
最近来源活动
2026年3月6日 07:13
检测到的 SKILL.md 语言
英语
星标
338
Forks
70

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
fix-pr
description
Fix a pull request based on review feedback
disable-model-invocation
true
# 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: ```bash gh pr list --repo spiriMirror/libuipc ``` **Note:** Always use `--repo spiriMirror/libuipc` to reference the upstream repository (works with forks). ## 2. Checkout the PR Branch ```bash 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). ## 3. Read Review Comments ```bash 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): ```bash 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: ```bash gh pr status --conflict-status --repo spiriMirror/libuipc ``` ## 4. Plan & Implement Fixes Switch to **plan mode**. Address each review comment, then implement the fixes. Build with the [build command](./build.md). ## 5. Test Follow the same test procedure as [fix-issue step 4](./fix-issue.md): - Run relevant tests to verify the fix. See [run-tests command](./run-tests.md). - Add new tests if the feedback requires new coverage. - **Do NOT modify existing tests** to make a fix pass. ## 6. Commit & Push Use the [commit command](./commit.md) to format, commit, and push. The PR will update automatically. Clean up any temporary files: ```bash rm -rf output/.cursor ```
在 GitHub 查看