NEAR Protocolの最低対応バージョンを1つ引き上げ、旧バージョン向けの機能や設定差分を整理して、検証とPR作成まで進めるスキルです。
- 旧プロトコルバージョンを廃止したいとき
- 機能フラグと設定差分をまとめて整理
- バージョン引き上げを一つのPRにまとめる
ステージ済みの変更を読み取り、ブランチ名やタイトル、説明を整えて、確認後にGitHubへドラフトのプルリクエストを作成するスキルです。
Create a PR from staged changes with auto-generated branch, title, and description. Use this skill whenever the user wants to create a pull request, ship changes, open a PR, send code for review, or push staged work to GitHub — even if they don't explicitly say "PR".
実行スコア 未検証
インストール方法を見るステージ済みの変更をもとに、ブランチ名、コミットメッセージ、プルリクエストのタイトルと説明を作成します。差分からプロジェクト領域や変更種別を判断し、タイトルはプロジェクトの規約に合わせます。作成前に内容を提示し、確認を得てからブランチ作成、コミット、プッシュ、プルリクエスト作成へ進みます。既定ではドラフトとして作成します。指示に応じて、現在のブランチの再利用、フォークへのプッシュ、ベースブランチや変更内容の指定も扱います。
変更をレビューに出す準備をまとめて進めたいときに使えます。PRを明示せず、ステージ済みの作業をGitHubへ送ってレビューを依頼したい場合にも利用できます。
GitとGitHub CLI(gh)を使います。ステージ済みの差分が空の場合は停止し、未ステージの変更はPRに含めず、その存在を知らせます。ブランチ作成やプッシュ、PR作成の前にユーザーの確認が必要です。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Create a pull request with automatically generated title and description based on staged changes.
Before starting, read relevant memory files (especially PR-related feedback memories). Memory preferences override the defaults below.
User instructions: $ARGUMENTS
PRs are created as drafts by default (non-draft PRs auto-assign a random codeowner as reviewer, which then has to be reassigned).
If user instructions are non-empty, parse them for the following hints (they are free-form text, not structured flags):
originFollow these steps in order:
Validate:
git diff --cached to capture the staged diff. If empty, warn the user and stopgh api user --jq .loginreuse-branch and base branch:
reuse-branch = true.reuse-branch = false (this is the default).reuse-branch is true, use master. Otherwise, use the current branch.reuse-branch is true, use the current branch name as the branch name.git remote -vgithub.com/{username}/). This is the fork remote.origin.Analyze staged changes (reuse the diff output from Step 1):
CONTRIBUTING.md "## Pull Requests" section for valid change types and PR title conventionsadd-metrics, fix-header-validation, refactor-chunk-apply)Generate all details — do NOT run any state-modifying commands (no creating branches, committing, or pushing) in this step:
reuse-branch is true: the local branch name is the current branch. Skip collision checks.{project}/{task}{username}/{project}/{task}git branch --list <name> (local) and git ls-remote --heads <push-remote> <name> (remote)-2, -3, etc.{username}/ prefix. If the local branch name already starts with {username}/, the remote name is the same. Otherwise, prepend it: {username}/{local-branch-name}. When pushing to a fork, the remote branch name is the same as the local branch name.<type>(<project>): <title> — title must be lowercase (per CONTRIBUTING.md)
feat(state-sync): add metrics trackingoriginConfirm with user:
Branch: <local-branch-name> (remote: <remote-branch-name>)
Push remote: <push-remote>
Base branch: <base-branch>
Draft: Yes/No
PR title: <title>
PR description:
<description>
AskUserQuestion with two options: "Yes, create PR" / "Abort"
AskUserQuestion optionsExecute — only after user confirms:
reuse-branch is false, create the branch: git checkout -b <branch-name>git commit -m "$(cat <<'EOF'
<commit message>
EOF
)"
git push -u <push-remote> <local-branch-name>:<remote-branch-name>
(If local and remote names are the same, git push -u <push-remote> <branch-name> is fine.)--head <username>:<remote-branch-name>:
gh pr create --base <base-branch> --head <username>:<remote-branch-name> \
--title "<title>" \
--body "$(cat <<'EOF'
<description>
EOF
)"
--head <remote-branch-name>:
gh pr create --base <base-branch> --head <remote-branch-name> \
--title "<title>" \
--body "$(cat <<'EOF'
<description>
EOF
)"
--draft if the draft flag is set.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
NEAR Protocolの最低対応バージョンを1つ引き上げ、旧バージョン向けの機能や設定差分を整理して、検証とPR作成まで進めるスキルです。
pytestの統合テストを分析し、シナリオや構成を整理したうえで、test-loop形式のテストへ移行する計画と実装を進めるスキルです。
Rustのプルリクエストをプロジェクトの基準に沿って調べ、マージを妨げる不具合や安全性、性能、セキュリティ上の問題を具体的に指摘するスキルです。
OpenAPI仕様、Instaスナップショット、プロトコルスキーマを順に再生成し、失敗時は停止して差分確認が必要な変更を扱うスキルです。