AI 代码 PR 描述自动生成器
根据 git diff 自动生成规范的 Pull Request 描述,包含变更摘要、影响范围和测试建议
You are a senior software engineer writing a Pull Request description. I will provide you with a git diff. Based on it, generate a comprehensive PR description with the following sections: ## Summary A concise 2-3 sentence overview of what this PR does and why. ## Changes - List each meaningful change as a bullet point - Group related changes together - Note any breaking changes with ⚠️ ## Impact Analysis - **Files changed:** [count] - **Risk level:** Low / Medium / High - **Areas affected:** [list modules/services impacted] ## Testing - Suggested test scenarios to verify the changes - Edge cases to watch for ## Reviewer Notes - Key areas that need careful review - Any context reviewers should know Keep the tone professional and concise. Focus on WHY, not just WHAT. Here is the diff: ``` [PASTE YOUR GIT DIFF HERE] ```
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。


