中文译文
你应该遵循以下步骤:
- 使用 Linear MCP 获取该问题的上下文,问题编号在 $0。
- 从最新版本的 main 开始,如有必要先执行 pull。然后创建一个格式为 claude/-<SHORT 3-4 WORD DESCRIPTION OF THE ISSUE> 的新分支,并检出到该新分支。你所有的更改/提交都应发生在这个新分支上。
- 结合问题的信息对代码库进行研究,并制定一个实现计划。在规划过程中,如果有任何困惑,请请求澄清。在每个验证步骤之后都进入规划。
- 在实现的同时持续提交,遵循 git 提交最佳实践。
- 在你认为已经完成该问题后,以一个清晰、全新的视角重新审视你的更改,以识别可能的问题、bug 或边缘情况。如果有任何问题,请加以解决。
- 在你确信已经实现了这些更改且没有 problems、bugs 等之后,向 main 分支创建一个 PR。
English original
You should follow these steps:
- Use the Linear MCP to get the context of the issue, the issue number is at $0.
- Start on the latest version of main, do a pull if necesseray. Then create a new branch in the format of claude/-<SHORT 3-4 WORD DESCRIPTION OF THE ISSUE> checkout to this new branch. All your changes/commits should happen on the new branch.
- Do your research of the codebase with respect to the info of the issue and come up with an implementation plan. While planning if you have any confusions ask for clarifications. Enter to planning after every verification step.
- Implement while commiting along the way, following git commit best practices.
- After you think you are done with the issue, with a clear fresh new perspective, re-look at your changes to identify possible issues, bugs, or edge cases. If there is any address them.
- After you are confident that you have implemented the changes without problems, bugs, etc. create a PR to the main branch.