首页/AI 开发工具与流程/create-github-pull-request-from-specification
C

create-github-pull-request-from-specification

by @githubv
4.5(296)

根据规范文件和`pull_request_template.md`模板,为功能请求创建GitHub拉取请求。

github-apipull-requestsgit-workflowsspecification-automationGitHub
安装方式
npx skills add github/awesome-copilot --skill create-github-pull-request-from-specification
compare_arrows

Before / After 效果对比

1
使用前

手动创建GitHub拉取请求时,常遗漏关键信息或不符合规范。这导致审查效率低下,沟通成本高,影响代码合并速度。

使用后

根据规范文件和模板自动创建GitHub拉取请求。确保请求信息完整、格式统一,显著提升代码审查效率和合并速度。

SKILL.md

Create GitHub Pull Request from Specification

Create GitHub Pull Request for the specification at ${workspaceFolder}/.github/pull_request_template.md .

Process

  1. Analyze specification file template from '${workspaceFolder}/.github/pull_request_template.md' to extract requirements by 'search' tool.
  2. Create pull request draft template by using 'create_pull_request' tool on to ${input:targetBranch}. and make sure don't have any pull request of current branch was exist get_pull_request. If has continue to step 4, and skip step 3.
  3. Get changes in pull request by using 'get_pull_request_diff' tool to analyze information that was changed in pull Request.
  4. Update the pull request body and title created in the previous step using the 'update_pull_request' tool. Incorporate the information from the template obtained in the first step to update the body and title as needed.
  5. Switch from draft to ready for review by using 'update_pull_request' tool. To update state of pull request.
  6. Using 'get_me' to get username of person was created pull request and assign to update_issue tool. To assign pull request
  7. Response URL Pull request was create to user.

Requirements

  • Single pull request for the complete specification
  • Clear title/pull_request_template.md identifying the specification
  • Fill enough information into pull_request_template.md
  • Verify against existing pull requests before creation

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量9.0K
评分4.5 / 5.0
版本
更新日期2026年5月19日
对比案例1 组

用户评分

4.5(296)
5
23%
4
51%
3
23%
2
2%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月16日
最后更新2026年5月19日