hamishivi/tmax/update-pr-body

Claude Code and agent skill by hamishivi/tmax

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Update the body of a GitHub pull request. Use when the user asks to update, edit, or modify a PR description/body.

Install

npx vskill@latest install hamishivi/tmax/update-pr-body

SKILL.md

Update GitHub PR Body

Important

Do NOT use `gh pr edit --body` - it fails with a GraphQL error about Projects (classic) deprecation. Always use the REST API approach below instead.

Instructions

When updating a GitHub PR body:

  1. Get the current PR number (if not provided):

``bash gh pr list --head "$(git branch --show-current)" --json number --jq '.[0].number' ``

  1. Get the current PR body to review existing content:

``bash gh pr view <pr-number> --json body -q '.body' ``

  1. Update the PR body using the REST API:

``bash gh api -X PATCH /repos/{owner}/{repo}/pulls/<pr-number> -f body="New PR body content here." ``

Examples

Get current PR number from branch:

bash
gh pr list --head "$(git branch --show-current)" --json number,url --jq '.[0]'

View current PR body:

bash
gh pr view 1372 --json body -q '.body'

Update PR body with new content:

bash
gh api -X PATCH /repos/allenai/open-instruct/pulls/1372 -f body="## Summary
- Updated vllm to 0.13.0
- Fixed tool_grpo_fast.sh script
## Test Plan
- [x] Single GPU GRPO
- [x] Tool GRPO
- [x] Multi-node GRPO"

Add to existing body (read first, then append):

bash
# Read the current PR body
CURRENT_BODY=$(gh pr view 1372 --json body -q '.body')
# Append new content
gh api -X PATCH /repos/allenai/open-instruct/pulls/1372 -f body="${CURRENT_BODY}
## Additional Notes
New content appended here."

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hamishivi/tmax/update-pr-body/badge)](https://verified-skill.com/skills/hamishivi/tmax/update-pr-body)

Something wrong with this skill or its page? Tell us.