pr-summary
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSummarize the latest changes in this branch to create a pull request on GitHub.
<workflow-steps>
- Compare the current branch against to see what changes need to be described in the pull request. Make sure to only focus on the finalized implementation details. Since pull requests tend to have work-in-progress commits at the beginning, you should be extra mindful on whether these are still relevant in the finalized snapshot.
dev - Use the pull request template to generate a .
.claude/scratchpad/PR.md - Pause here and prompt the user to check the before proceeding.
.claude/scratchpad/PR.md - Once edited and approved by the user, fill in the missing details in the following script and then run it:
bash
gh pr create --base dev --head "$(git rev-parse --abbrev-ref HEAD)" --title '[TICKET-123] category: short title' --body-file .claude/scratchpad/PR.md - Delete once successfully submitted.
.claude/scratchpad/PR.md
总结当前分支的最新变更,以在GitHub上创建拉取请求。
<workflow-steps>
- 将当前分支与分支进行对比,确定需要在拉取请求中描述的变更内容。请仅聚焦于已完成的实现细节。由于拉取请求在初始阶段通常包含进行中的提交,你需要格外注意这些提交在最终快照中是否仍然相关。
dev - 使用拉取请求模板生成文件。
.claude/scratchpad/PR.md - 在此处暂停,提示用户在继续操作前检查文件。
.claude/scratchpad/PR.md - 经用户编辑并确认后,填充以下脚本中的缺失信息并运行:
bash
gh pr create --base dev --head "$(git rev-parse --abbrev-ref HEAD)" --title '[TICKET-123] category: short title' --body-file .claude/scratchpad/PR.md - 提交成功后,删除文件。
.claude/scratchpad/PR.md