update-pr
SKILL.md
Update PR
Overview
Rewrite pull request metadata as if drafting it from scratch for the current diff. Treat the title and body as a current reviewer-facing summary of the PR, not as commentary about prior versions of the PR.
Workflow
- Read the current PR title/body and the current branch diff before drafting.
- Identify the PR's current scope, APIs, behavior changes, and reviewer-relevant context.
- Rewrite the body from scratch so it describes the PR as it exists now.
- Review the title at the same time and update it whenever the body is updated.
- Apply the update with
gh pr edit.
Rules
- Never write the description as an update to itself. Do not say things like "this expands the original PR", "this PR now also", or similar process narration unless the user explicitly wants history called out.
- Always evaluate the title when updating a PR. If the scope or emphasis changed, rewrite the title too.
- Write in terms of the present PR contents, using concise reviewer-facing language.
- Keep the structure minimal: one short introductory paragraph plus flat bullets is usually enough.
- Include usage examples when the PR introduces or materially changes a feature API.
- Preserve still-relevant issue links or context, but drop stale framing.
Applying The Update
- Draft the new title and body in a temporary file.
- Use
gh pr edit <number> --title "<title>" --body-file <file>. - Re-read the PR after editing to confirm the final title/body match the intended framing.
Weekly Installs
1
Repository
remix-run/remixGitHub Stars
32.5K
First Seen
2 days ago
Security Audits
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1