스킬 create-pr
🔗

create-pr

안전 ⚙️ 외부 명령어🌐 네트워크 접근

创建带有关联议题的 GitHub 拉取请求

또한 다음에서 사용할 수 있습니다: sickn33,Crearize,davila7,0tarof,Cloud-Officer,getsentry,0tarof

创建拉取请求时不关联议题会错失自动关闭议题和跟踪工作的机会。此技能确保每个 PR 都关联相关议题,并使用关闭关键词来实现无缝的议题管理。

지원: Claude Codex Code(CC)
📊 69 적절함
1

스킬 ZIP 다운로드

2

Claude에서 업로드

설정 → 기능 → 스킬 → 스킬 업로드로 이동

3

토글을 켜고 사용 시작

테스트해 보기

"create-pr" 사용 중입니다. Create a PR for this feature branch that closes issues #123 and #124

예상 결과:

  • Found 2 related issues: #123 (User authentication), #124 (Session management)
  • Generated PR title with conventional commit format
  • Added closing keywords: Closes #123, Closes #124
  • Included Key Changes section with file list
  • Added Testing notes section

"create-pr" 사용 중입니다. Create a PR for the new authentication flow with a Mermaid diagram

예상 결과:

  • Created PR with title: feat: 🛡️🔐 Implement secure authentication flow
  • Added Mermaid sequence diagram showing client, auth service, database interactions
  • Linked issue #789 (New authentication system)
  • Used Fixes #789 to auto-close the issue on merge
  • Included architectural impact section

"create-pr" 사용 중입니다. Create a bug fix PR for issue #456 about payment processing

예상 결과:

  • Created PR with title: fix: 💳💔 Resolve payment timeout issue
  • Referenced issue #456 in Related Issues section
  • Added before/after comparison showing the fix
  • Included testing notes: Manual testing passed, unit tests added
  • Listed 3 files changed with brief descriptions

품질 점수

38
아키텍처
100
유지보수성
85
콘텐츠
19
커뮤니티
100
보안
91
사양 준수

만들 수 있는 것

简化 PR 创建流程

创建记录完善的拉取请求,在合并时自动关闭关联的议题

强制执行议题跟踪

确保所有代码变更都可以追溯到已记录的议题,以获得更好的审计追踪

规范贡献流程

指导贡献者创建带有正确议题引用和描述的 PR

이 프롬프트를 사용해 보세요

基础 PR 创建
Use the create-pr skill to create a pull request for the current branch. Link any related issues and use closing keywords.
多议题 PR
Create a PR that closes issues #123 and #124. Include a summary of changes and key files modified.
带图表的功能 PR
Create a PR with a Mermaid sequence diagram showing the new authentication flow. Link the feature request issue.
Bug 修复 PR
Create a bug fix PR that references issue #456. Include before/after comparison and testing notes.

모범 사례

  • 在创建 PR 之前始终关联相关议题以确保可追溯性
  • 使用关闭关键词(Closes、Fixes)在 PR 合并时自动关闭议题
  • 为复杂的架构变更添加 Mermaid 图表

피하기

  • 创建不带任何议题引用或关闭关键词的 PR
  • 使用模糊的 PR 标题,如 Fix bug 或 Update file
  • 在 PR 描述中省略相关议题部分

자주 묻는 질문

此技能支持哪些 GitHub 托管平台?
此技能仅支持 GitHub。它使用 gh CLI,该工具特定于 GitHub 仓库。
GitHub 识别哪些关闭关键词?
GitHub 识别 Closes、Fixes 和 Resolves 后跟议题编号。例如:Closes #123 在 PR 合并时关闭该议题。
我可以在没有安装 GitHub CLI 的情况下使用此技能吗?
不能。此技能提供 gh CLI 的说明。您必须安装并认证 GitHub CLI 才能创建拉取请求。
使用此技能时我的数据安全吗?
是的。此技能仅提供指导性说明。它不会访问文件、执行代码或传输标准 GitHub 操作之外的数据。
为什么我的议题在 PR 合并后没有关闭?
确保使用了正确的格式:在 PR 正文中使用 Closes #123 或 Fixes #456。关键词必须大写,且议题编号必须有效。
这与 GitHub 默认 PR 模板有何不同?
此技能添加智能议题关联、关闭关键词和 Mermaid 图表指导。它确保议题自动关闭并提供一致的 PR 结构。

개발자 세부 정보

작성자

Cygnusfear

라이선스

MIT

참조

main

파일 구조