一键导入
github-create-pr
Validate, push the current branch, and create a GitHub pull request from the current diff
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate, push the current branch, and create a GitHub pull request from the current diff
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Bootstrap agent configuration and generate AGENTS.md from project config (codi.toml), SCM flow, monorepo structure, MCP ecosystem, and docs/ — template-based and idempotent.
Repository understanding and hierarchical codemap generation
Audit and synchronize local OpenCode context, commands, skills, agents, config, and AGENTS.md with the current repository.
Generate a daily planning Markdown file combining Google Calendar events and Jira tasks. Creates an executable daily agenda with configurable parameters, dynamic emoji detection, and timezone support.
Create consistent releases and changelogs
Push branch commits and update the existing PR body safely (prefer REST API)
| name | github-create-pr |
| description | Validate, push the current branch, and create a GitHub pull request from the current diff |
| triggers | ["Use the skill `github-create-pr`","Create a GitHub pull request from this branch","Open a PR and push the current branch"] |
| license | Proprietary |
| metadata | {"author":"codiplab","version":"0.4.1"} |
task validate before opening the PR.main...HEAD changes and recent commits to summarize the branch..github/PULL_REQUEST_TEMPLATE.md.gh pr create and return the URL.Use this when your branch is ready for review and you want a consistent GitHub pull request created automatically.
task validategit diff main...HEAD --statgit diff main...HEADgit log main...HEAD --onelinegh pr list --head "$(git rev-parse --abbrev-ref HEAD)" --json number,title,urlgit push -u origin HEADgit push.github/PULL_REQUEST_TEMPLATE.mdgit diff main...HEAD --stat and git diff main...HEADtask validategh pr createUse .github/PULL_REQUEST_TEMPLATE.md as the base for the PR body.
Prefer to include:
task validateExample (copy/paste):
gh pr create --base main --head "$(git rev-parse --abbrev-ref HEAD)" \
--title "<title>" \
--body "$(cat <<'EOF'
## Proposed changes
<describe the branch and the why>
### Summary of changes
- <change 1>
- <change 2>
### Testing
- `task validate`
### Migration steps
- None
### Screenshots
- [x] N/A
- [ ] Screenshot 1
## Types of changes
- [ ] Bugfix (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)
## Checklist
- [ ] I have read the [CONTRIBUTING](/docs/contributing.md) doc
- [ ] Lint and unit tests pass locally with my changes
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added necessary documentation (if appropriate)
- [ ] Any dependent changes have been merged and published in downstream modules
## Further comments
<optional>
EOF
)"