pr-summary

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Summarize the latest changes in this branch to create a pull request on GitHub.
<workflow-steps>
  1. Compare the current branch against
    dev
    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.
  2. Use the pull request template to generate a
    .claude/scratchpad/PR.md
    .
  3. Pause here and prompt the user to check the
    .claude/scratchpad/PR.md
    before proceeding.
  4. 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
  5. Delete
    .claude/scratchpad/PR.md
    once successfully submitted.
</workflow-steps>
总结当前分支的最新变更,以在GitHub上创建拉取请求。
<workflow-steps>
  1. 将当前分支与
    dev
    分支进行对比,确定需要在拉取请求中描述的变更内容。请仅聚焦于已完成的实现细节。由于拉取请求在初始阶段通常包含进行中的提交,你需要格外注意这些提交在最终快照中是否仍然相关。
  2. 使用拉取请求模板生成
    .claude/scratchpad/PR.md
    文件。
  3. 在此处暂停,提示用户在继续操作前检查
    .claude/scratchpad/PR.md
    文件。
  4. 经用户编辑并确认后,填充以下脚本中的缺失信息并运行:
    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
  5. 提交成功后,删除
    .claude/scratchpad/PR.md
    文件。
</workflow-steps>