update-pr-summary
This skill should be used when user asks to "update PR summary", "update PR description", "rewrite PR body", "refresh PR title and body", or explicitly invokes "update-pr-summary".
Install
npx skills add https://github.com/fcakyon/claude-codex-settings/tree/main/plugins/github-dev/skills/update-pr-summary
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install fcakyon-claude-codex-settings@llmmart
git clone https://github.com/fcakyon/claude-codex-settings.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole fcakyon/claude-codex-settings collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Update PR Summary
Update a PR title and description based on the complete changeset.
When explicitly invoked with extra text, treat that text as the PR number or URL.
Process
Fetch PR info
- Use
gh pr view <pr> --json title,body,baseRefName,headRefName.
- Use
Analyze the complete changeset
- Use
git diff <base-branch>...HEADto review all committed changes in the branch. - Ignore unstaged changes.
- Make the summary describe the full branch diff, not just the latest commit.
- Use
Generate the updated summary
- Follow the
create-prskill format for title and body. - Title: a short human headline, capital first letter, no
fix:orfeat:prefix. Lead with the outcome, punchy over exhaustive. - Body: open on why, then short scannable bullets (one point each). Lead with the most visual proof. A webpage, UI, or design change MUST carry before/after images in a two-column table, never text describing the change. See the
create-prskill for uploading them to a release. - Numbers win: put benchmarks, counts, speedups and comparisons in a markdown table.
- One read, one section, no headers. Plain words, no buzzwords.
- No test plans, file lists, or line links.
- Follow the
Apply the update
- Use
gh pr edit <pr> --title "..." --body "...".
- Use
Files (claude-codex-settings)
-
SKILL.md 1.5 KB
--- name: update-pr-summary description: This skill should be used when user asks to "update PR summary", "update PR description", "rewrite PR body", "refresh PR title and body", or explicitly invokes "update-pr-summary". --- # Update PR Summary Update a PR title and description based on the complete changeset. When explicitly invoked with extra text, treat that text as the PR number or URL. ## Process 1. **Fetch PR info** - Use `gh pr view <pr> --json title,body,baseRefName,headRefName`. 2. **Analyze the complete changeset** - Use `git diff <base-branch>...HEAD` to review all committed changes in the branch. - Ignore unstaged changes. - Make the summary describe the full branch diff, not just the latest commit. 3. **Generate the updated summary** - Follow the `create-pr` skill format for title and body. - Title: a short human headline, capital first letter, no `fix:` or `feat:` prefix. Lead with the outcome, punchy over exhaustive. - Body: open on why, then short scannable bullets (one point each). Lead with the most visual proof. A webpage, UI, or design change MUST carry before/after images in a two-column table, never text describing the change. See the `create-pr` skill for uploading them to a release. - Numbers win: put benchmarks, counts, speedups and comparisons in a markdown table. - One read, one section, no headers. Plain words, no buzzwords. - No test plans, file lists, or line links. 4. **Apply the update** - Use `gh pr edit <pr> --title "..." --body "..."`.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.