ワンクリックで
pr-update-desc
Update the PR description for the current branch
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update the PR description for the current branch
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
End-of-day — draft and post daily comments for tracked tickets missing a comment
Morning startup workflow for daily notes, yesterday summary, agenda, status comments, meeting sections, and daily branch setup. Use when invoked as `$work-start` or when the user asks to start the work day.
Track a Linear ticket or GitHub PR in today's daily note with fields and timestamped activity. Use when invoked as `$work-track` or when the user asks to track a work item.
Start work on a Linear ticket by gathering context, planning, creating a branch/worktree, implementing, testing, opening a draft PR, and updating Linear. Use when invoked as `$linear-plan` or when the user asks to start a Linear ticket.
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community detection, and query/path/explain tools.
Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community detection, and query/path/explain tools.
| name | pr-update-desc |
| description | Update the PR description for the current branch |
Use this skill when the user asks to run the migrated command pr-update-desc or invokes $pr-update-desc.
Regenerate and update the GitHub PR description for the current branch based on all commits in the PR.
Invoke the pr-style skill to load formatting conventions for the PR body.
Run a single combined command:
remote=$(git remote | head -1)
branch=$(git branch --show-current)
default_branch=$(git symbolic-ref refs/remotes/${remote}/HEAD 2>/dev/null | sed "s|refs/remotes/${remote}/||" || echo "main")
echo "remote=${remote} branch=${branch} default=${default_branch}"
gh pr view --json number,url,title,body --jq '"\(.number)|\(.title)|\(.url)"'
If no PR exists for the current branch, stop and report: "No open PR found for branch ${branch}."
Get all commits on this branch since it diverged from the default branch:
git log --oneline ${default_branch}..HEAD
Also get the full diff stat for a high-level summary of what changed:
git diff --stat ${default_branch}...HEAD
Follow the pr-style skill for body template and guidelines.
gh pr edit --body "<generated description>"
Use a HEREDOC to pass the body to preserve formatting:
gh pr edit --body "$(cat <<'EOF'
<generated description>
EOF
)"
Output:
✅ Updated PR #<number> description
<pr_url>