ワンクリックで
pr
CB - Generate PR description, sync branch, push, and create/update PR
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
CB - Generate PR description, sync branch, push, and create/update PR
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
CB - WCAG 2.2 compliance patterns for web interfaces. Use when building or reviewing UI for accessibility — semantic HTML, ARIA, keyboard navigation, color contrast, motion safety, screen reader support, and automated testing. Complements ui-component-creator (structure), front-end-design (aesthetics), and mobile-friendly-design (responsive).
CB - Create and manage Bruno API collections. Use when building API requests, test suites, environments, or working with .bru files in api_tools/. Bruno is a Git-native, offline-first API client (Postman alternative).
CB - Post-implementation cleanup — rationalize docs, capture learnings, update project state
CB - 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.
CB - Use when building responsive web interfaces that must work across phone, tablet, and desktop. Covers mobile navigation, touch-friendly interactions, responsive layouts, and mobile form patterns. Complements ui-component-creator (structure) and front-end-design (creative direction). Not for native mobile apps — responsive web only.
CB - Create a production release with changelog, version bump, PR, tag. Supports two-branch (dev->main) and single-branch (release branch->main) workflows.
| name | pr |
| description | CB - Generate PR description, sync branch, push, and create/update PR |
| user-invocable | true |
You are tasked with generating a comprehensive pull request description and creating or updating a PR.
git branch --show-currentgh pr list --limit 10 and ask the user which onegh pr view --json url,number,title,state 2>/dev/nullgit symbolic-ref refs/remotes/origin/HEAD | sed 's|refs/remotes/origin/||' (fallback: check for main then master)gh pr view --json baseRefName 2>/dev/null or use the detected default branchgit log --oneline $(git merge-base HEAD <default-branch>)..HEADgit diff $(git merge-base HEAD <default-branch>)..HEADgit diff $(git merge-base HEAD <default-branch>)..HEAD --stat.claude/workspace/plans/ if commits reference them.claude/workspace/research/ for contextThink deeply about the code changes:
If either fails: STOP IMMEDIATELY. Do not continue to step 5. Display a clear error:
ERROR: Code is not PR-ready.
[Linting/Tests] failed — fix these issues before creating a PR.
Run `/build` or fix manually, then retry `/pr`.
Do NOT generate a PR description, push, or create a PR when verification fails. Do NOT attempt to fix the code yourself — your role is to detect and signal problems, not to fix them.
Use this format:
## Summary
<!-- 1-3 bullet points describing what this PR does and why -->
## Changes
<!-- Organized list of what changed, grouped by component/area -->
## Test results
<!-- Output of test/lint runs, or note if manual testing needed -->
## Breaking changes
<!-- List any breaking changes, or "None" -->
## Notes for reviewers
<!-- Anything reviewers should pay special attention to -->
Sync to be merge-ready:
git fetch origingit rebase origin/<base-branch>git rebase --abortgit merge origin/<base-branch>Push the branch:
git push -u origin $(git branch --show-current)git push --force-with-lease -u origin $(git branch --show-current)git push -u origin <branch-name> (or with --force-with-lease if rebased)Creating a new PR:
gh pr create --title "<title>" --body "$(cat <<'EOF'
<generated description>
EOF
)"
Updating an existing PR:
gh pr edit {number} --body-file <temp_file>