一键导入
github-update-pr
Push branch commits and update the existing PR body safely (prefer REST API)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Push branch commits and update the existing PR body safely (prefer REST API)
用 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
Validate, push the current branch, and create a GitHub pull request from the current diff
| name | github-update-pr |
| description | Push branch commits and update the existing PR body safely (prefer REST API) |
| triggers | ["Use the skill `github-update-pr`","Refresh the existing pull request description","Update the PR body to match the latest diff"] |
| license | Proprietary |
| metadata | {"author":"codiplab","version":"0.4.1"} |
.github/PULL_REQUEST_TEMPLATE.md using the current main...HEAD diff.gh pr update (fallback to gh api).Use this when you already have a PR open and need to refresh its description to match the latest branch changes.
task validategit diff main...HEAD --statgit diff main...HEADgit log main...HEAD --onelinegit push -u origin HEADgit pushgh pr view "$(git rev-parse --abbrev-ref HEAD)" --json number,title,urlgh pr list --head "$(git rev-parse --abbrev-ref HEAD)" --json number,title,url.github/PULL_REQUEST_TEMPLATE.md) and fill:
main...HEAD diff (group by area; reference key paths)task validategh pr edit <PR_NUMBER> --body "$(cat <<'EOF'
<filled template body>
EOF
)"
owner="$(gh repo view --json owner --jq '.owner.login')"
repo="$(gh repo view --json name --jq '.name')"
gh api "repos/${owner}/${repo}/pulls/<PR_NUMBER>" \
--method PATCH \
--field body="$(cat <<'EOF'
<filled template body>
EOF
)"