create-pr
できること
このスキルは、GitHubでプルリクエストを準備して開く作業を、AIが進められるように導きます。説明が十分で、レビューしやすい変更がほしい開発者向けです。
使う場面
- ✓ブランチでの作業が完成し、プルリクエストを開きたいとき。
- ✓プルリクエストの説明を、プロジェクトのテンプレートに従わせたいとき。
- ✓安全にレビューできるよう、プルリクエストを下書きとして開きたいとき。
スキルのリンク
https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-pr/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“プロジェクトのテンプレートを使って、私のブランチのプルリクエストを準備し、下書きとして開いてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ブランチとその差分を調べ、リポジトリのチェックを実行して、テンプレートからタイトルと説明を書きます。あなたが頼んだ場合にのみ、プッシュして下書きのプルリクエストを開きます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Create Pull Request
Prepare reviewable pull requests for main. Keep the branch focused, preserve unrelated work, and never merge or modify another person's pull request.
Workflow
Inspect the current branch,
git status --short, the diff againstmain, recent commits, and any existing pull request for the branch.Confirm the branch is not
mainand that it contains a small, coherent change. If the scope, target branch, or included files are unclear, ask before proceeding.Ensure all intended work is committed. Use the
create-commitskill if a commit is needed.Run the relevant validation commands from
CONTRIBUTING.md. Report failures accurately; do not weaken checks or use bypass flags.Derive a concise Conventional Commit-style PR title, such as
docs(react): add testing resources. Reuse a suitable user-provided title.Build the description from
.github/pull_request_template.md:- Explain what changed and why.
- Add
Closes #<number>only when an issue is known. - Mark only validation commands that actually passed.
- Keep unchecked items unchecked and do not claim work that was not performed.
If the user asked to open the PR, push the current branch and create a draft pull request targeting
main. Use GitHub CLI or an authenticated GitHub integration. If the user asked only to prepare it, provide the title and body without pushing or creating anything.Return the PR URL, target branch, title, validation results, and any limitations.
Safety rules
- Do not push or create a PR unless the user explicitly requested that external action.
- Do not use
--force, alter branch history, merge, approve, or request review unless explicitly asked. - Do not include secrets, generated output, local configuration, or unrelated changes.
- Do not create a duplicate PR. Update or report an existing PR instead.
- Use
mainas the base branch unless the user specifies another target.
よくある質問
プルリクエストは下書きとして開かれますか?
はい。別の指定がなければ、下書きが初期設定です。
プルリクエストをマージしますか?
いいえ。スキルは、マージや他の人のプルリクエストの変更は決して行いません。
チェックに合格していないのに、合格したと言いますか?
いいえ。スキルは失敗を正確に報告し、実際に合格した検証にだけ印を付けるように定めています。
詳細
作者による元の説明
Prepare and open a safe GitHub pull request for this repository. Use when the user asks to create, open, or prepare a pull request from completed branch work. Inspect the branch and diff, validate changes, follow the repository PR template, push only when authorized, and open a draft PR by default.
人気
- GitHubのスター
- 8.2k
- ランキング
- #12546
- ライセンス
- MIT
- 更新日
- 2026/8/8
コメント
- …
このリポジトリの他のスキル
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。