手动创建拉取请求需要时间,且描述往往不完整。此技能使用结构化模板自动化 PR 创建,确保文档一致性并加快代码审查速度。
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "creating-pull-requests". Create a pull request titled 'Fix login timeout bug' with test checklist items: verify login works, check session expiry
Résultat attendu:
- ✅ Pull request created successfully
- 📋 Title: Fix login timeout bug
- 🔗 https://github.com/owner/repo/pull/123
- 📍 Target branch: main
- 📝 Test checklist included with 2 items
Audit de sécurité
SûrPure prompt-based skill with no code execution beyond standard git and GitHub CLI operations. Uses only documented shell commands for branch checking, status review, and PR creation via gh CLI. No filesystem access beyond git repository, no environment variable reading, no network calls outside expected GitHub API endpoints.
Score de qualité
Ce que vous pouvez construire
简化 PR 工作流程
使用一致的模板和测试清单快速创建文档完善的拉取请求
提交高质量贡献
生成专业的 PR 描述,帮助维护者更快地审查和合并贡献
改进审查文档
确保每个 PR 都包含清晰的摘要和测试计划,以实现更快、更有效的审查
Essayez ces prompts
Create a pull request with the title '[Brief description]' describing my changes
Create a pull request titled '[Feature name]' and include test checklist items: [Test item 1], [Test item 2]
Create a draft PR for my feature branch targeting the 'develop' branch with summary of changes
Create a pull request with title '[Your title]', base branch 'main', assign to me, add 'enhancement' label, and include this summary: [Your summary]
Bonnes pratiques
- 创建 PR 前运行 git status 并审查更改,确保只包含预期的修改
- 使用描述性的标题,在 60 个字符内概括更改内容以获得更好的可见性
- 填写所有测试清单项目,帮助审查者了解需要哪些验证
Éviter
- 创建 PR 前不审查差异可能包含非预期的更改
- 使用模糊的标题如 'fix' 或 'update' 会使项目历史中的更改难以追踪
- 跳过测试计划会使审查者难以正确验证实现是否正确工作