new-branch-and-pr

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

New branch and PR

新分支与PR

Trigger

触发条件

Starting work that should be shipped through a clean branch and pull request workflow.
开始一项需通过清晰的分支与拉取请求(PR)流程交付的工作。

Workflow

工作流程

  1. Ensure the working tree is clean or explicitly handled.
  2. Create a descriptive branch from the latest main.
  3. Complete implementation and tests.
  4. Commit focused changes and push.
  5. Create a concise PR with summary and test notes.
  1. 确保工作树干净或已进行明确处理。
  2. 基于最新的main分支创建一个描述性分支。
  3. 完成实现与测试工作。
  4. 提交针对性变更并推送。
  5. 创建包含摘要和测试说明的简洁PR。

Guardrails

防护准则

  • Keep branch scope focused on one change set.
  • Include verification notes before requesting review.
  • 保持分支范围聚焦于单一变更集。
  • 在请求评审前包含验证说明。

Output

输出

  • New branch name
  • PR summary and test notes
  • PR URL
  • 新分支名称
  • PR摘要与测试说明
  • PR链接