Loading...
Loading...
Automatically generate a structured, high-quality Pull Request (PR) description based on the provided git diff or code changes. Trigger when the user asks to write a PR description, summarize changes, or prepare a commit message/PR summary.
npx skill4agent add sunny0826/open-source-skills pr-descriptiongit diffgit diffcurlgh apihttps://github.com/.../pull/123.diffgit diff## Title: [A concise, imperative title, e.g., "feat: add user authentication", "fix: resolve memory leak in worker"]
## Summary
[1-2 sentences explaining the high-level purpose of this PR. What problem does it solve?]
## Key Changes
- **[Component/Module]**: [Description of what changed and why]
- **[Component/Module]**: [Description of what changed and why]
- *(e.g., **Auth Service**: Added JWT validation middleware to secure API endpoints)*
## Type of Change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Refactor / Code cleanup
- [ ] Documentation update
## Testing Performed
[Briefly describe how these changes were tested, or what the reviewer should do to test them.]
## Notes for Reviewers (Optional)
[Any specific areas you want reviewers to focus on? Any new dependencies added? Any UI screenshots needed?]## 标题: [简明扼要的标题,如 "feat: 新增用户登录功能", "fix: 修复 worker 内存泄漏问题"]
## 摘要 (Summary)
[1-2 句话解释这个 PR 的核心目的。它解决了什么问题或引入了什么新能力?]
## 主要变更 (Key Changes)
- **[组件/模块]**: [具体改动了什么,以及为什么这么改]
- **[组件/模块]**: [具体改动了什么,以及为什么这么改]
- *(例如:**认证服务**: 增加了 JWT 校验中间件以保护 API 路由)*
## 变更类型 (Type of Change)
- [ ] Bug 修复 (Bug fix)
- [ ] 新功能 (New feature)
- [ ] 破坏性变更 (Breaking change)
- [ ] 代码重构 (Refactor / Code cleanup)
- [ ] 文档更新 (Documentation update)
## 测试情况 (Testing Performed)
[简要说明你如何测试了这些改动,或者 Reviewer 应该如何验证这些改动。]
## 给 Reviewer 的提示 (Notes for Reviewers - 可选)
[是否有需要 Reviewer 特别关注的代码段?是否引入了新的依赖?如果是前端改动,是否需要附上截图?]package.jsongo.mod[ ][x]