Updates existing GitHub pull request descriptions with AI-generated content based on the current diff. Use when the user wants to update a PR description, refresh PR content, or sync PR with latest changes.
/plugin marketplace add HotThoughts/jj-skills/plugin install hotthoughts-jj@HotThoughts/jj-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill enables updating existing pull request descriptions with fresh AI-generated content based on the current state of the change.
CRITICAL: This workflow requires jj and gh CLI access with authentication. Always use:
required_permissions: ["all"]
When the user asks to update a PR description (e.g., "update the PR", "refresh PR description", "sync PR with changes"):
Default to @- (parent of working copy) unless the user specifies a different change.
jj log -r <change> -T 'bookmarks' --no-graph
gh pr view <branch>
If no PR exists, suggest using the jj-create-pr workflow instead.
Extract the first line of the change's description:
jj log -r <change> -T description --no-graph | head -1
jj diff -r <change>
Based on the diff, write a fresh PR description:
Example format:
## Summary
Brief description of what this PR accomplishes.
## Changes
- Added X to handle Y
- Refactored Z for better performance
- Fixed bug where A caused B
Update both title and body:
gh pr edit <branch> --title "<new_title>" --body "<new_description>"
Or update body only:
gh pr edit <branch> --body "<new_description>"
User: "Update the PR for @-"
# 1. Get branch name
jj log -r @- -T 'bookmarks' --no-graph
# Output: "push-abc123"
# 2. Verify PR exists
gh pr view push-abc123
# (shows PR details)
# 3. Get updated title
jj log -r @- -T description --no-graph | head -1
# Output: "feat: add user authentication"
# 4. Get current diff
jj diff -r @-
# (analyze the output)
# 5. Update PR with new description
gh pr edit push-abc123 \
--title "feat: add user authentication" \
--body "## Summary
Adds JWT-based user authentication to the API.
## Changes
- Added auth middleware for token validation
- Created login and register endpoints
- Added user model with password hashing
- Updated API documentation"
jj-create-pr workflowgh pr viewThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.