بنقرة واحدة
update-pr
Update the current PR description based on the latest changes in context.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Update the current PR description based on the latest changes in context.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Autonomously create a plan, consult Gemini and Codex for improvements, apply feedback, and implement. No user interaction - uses best judgment throughout.
Turn an idea into a concrete design through structured dialogue.
Gemini and Codex collaboratively brainstorm solutions, building on each other's ideas across rounds. Agent synthesizes the best ideas into a plan.
Claude brainstorms with an opponent LLM (Gemini or Codex) in alternating turns, building on each other's ideas. Synthesizes the best ideas into a plan.
Commit the staged changes. If there are no staged changes, stage all changes first.
Consult Gemini and Codex for high-level planning, synthesize into a detailed plan, implement, then get final review. No user interaction.
| name | update-pr |
| description | Update the current PR description based on the latest changes in context. |
| allowed-tools | Read, Bash, Glob, Grep, Edit |
| disable-model-invocation | true |
Update the current PR description to reflect the latest changes made in this session.
Get the current PR body and write to a temp file, stripping Windows line endings:
gh pr view --json body --jq '.body' | tr -d '\r' | tee /tmp/pr-body.md > /dev/null
NOTE: Use tee instead of > to avoid zsh noclobber errors when the
file already exists. The >| operator also doesn't work in the Bash tool's
eval context.
Gather context about recent changes:
git diff origin/main...HEADgit log origin/main...HEAD --format="%s"Use the Edit tool to make incremental changes to the temp file:
Update the PR with the edited description:
gh pr edit --body-file /tmp/pr-body.md
IMPORTANT: Use the context of the current conversation to inform the updates. The discussion, decisions, and work done in this session provide valuable context for explaining what changed and why.
IMPORTANT: Preserve the existing PR template structure. Only update the content within the sections, don't remove or restructure sections unless specifically asked.
CRITICAL: Always use the Edit tool to make changes to the PR description file. Never rewrite the entire file - make incremental edits so the user can see diffs.