Contributor-First PR Merge
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
Create or update GitHub Pull Requests with the gh CLI, including deciding whether to create a new PR or only push based on existing PR merge status.
$ npx skills add akiojin/unity-cli --skill gh-pr -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install akiojin/unity-cli gh-pr --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/akiojin/unity-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/gh-pr .claude/skills/gh-pr && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "gh-pr" agent skill from https://github.com/akiojin/unity-cli/tree/main/.agents/skills/gh-pr into .claude/skills/gh-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-pr", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/akiojin/unity-cli/tree/main/.agents/skills/gh-prType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add akiojin/unity-cli --skill gh-pr -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install akiojin/unity-cli gh-pr --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akiojin/unity-cli.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/gh-pr .agents/skills/gh-pr && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gh-pr" agent skill from https://github.com/akiojin/unity-cli/tree/main/.agents/skills/gh-pr into .agents/skills/gh-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-pr", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add akiojin/unity-cli --skill gh-pr -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install akiojin/unity-cli gh-pr --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akiojin/unity-cli.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/gh-pr .cursor/skills/gh-pr && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "gh-pr" agent skill from https://github.com/akiojin/unity-cli/tree/main/.agents/skills/gh-pr into .cursor/skills/gh-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-pr", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/akiojin/unity-cli.git --path .agents/skills/gh-pr--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add akiojin/unity-cli --skill gh-pr -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install akiojin/unity-cli gh-pr --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akiojin/unity-cli.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/gh-pr .gemini/skills/gh-pr && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "gh-pr" agent skill from https://github.com/akiojin/unity-cli/tree/main/.agents/skills/gh-pr into .gemini/skills/gh-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-pr", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install akiojin/unity-cli gh-prInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add akiojin/unity-cli --skill gh-pr -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/akiojin/unity-cli.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/gh-pr .github/skills/gh-pr && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "gh-pr" agent skill from https://github.com/akiojin/unity-cli/tree/main/.agents/skills/gh-pr into .github/skills/gh-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-pr", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add akiojin/unity-cli --skill gh-pr -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install akiojin/unity-cli gh-pr --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akiojin/unity-cli.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/gh-pr .opencode/skills/gh-pr && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "gh-pr" agent skill from https://github.com/akiojin/unity-cli/tree/main/.agents/skills/gh-pr into .opencode/skills/gh-pr/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gh-pr", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
gh-prCreate or update GitHub Pull Requests with the gh CLI, including deciding whether to create a new PR or only push based on existing PR merge status.
Gh PR is an agent skill from akiojin/unity-cli. Create or update GitHub Pull Requests with the gh CLI, including deciding whether to create a new PR or only push based on existing PR merge status. Use when the user asks to open/create/edit a PR, generate a PR body/template, or says 'PRを出して/PR作成/gh pr'. Defaults: base=develop, head=current branch (same-branch only; never create/switch branches).
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/pr-body-template.md`).
It sits in Development, covering Pull requests. It works with GitHub and Git. The repository describes itself as: Rust CLI for Unity Editor automation over Unity TCP protocol. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 7f45d7a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghjqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Gh PR loads about 2.7k tokens when it runs, and up to ~3.5k if it reads all its reference files. Until then it costs about 89 tokens; SKILL.md has 1,050 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from akiojin/unity-cli at commit 7f45d7a, republished under its MIT licence (© akiojin). 1,050 words, ~2,698 tokens.
.claude/skills/gh-pr/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Create or update GitHub Pull Requests with the gh CLI using a detailed body template and strict same-branch rules.
git status --porcelaingit stash, git commit, or git clean automatically unless explicitly requested.gh pr list --head <head> --state all --json number,state,mergedAt,updatedAt,url,title,mergeCommitmergedAt is null) → push only and finish (do not create a new PR).mergedAt.When all PRs for the head branch are merged, you must check whether there are new commits after the merge:
git rev-list --count <merge_commit>..HEAD<type>(<scope>): <subject> — Conventional Commits 形式に準拠する。feat / fix / docs / chore / refactor / test / ci / perf のいずれか。gui, core, pty)。feat/, fix/ など)がある場合、タイトルの type と一致させる。| Section | Required | Notes |
|---|---|---|
| Summary | YES | 1-3 bullet points。"what" と "why" を両方含める |
| Changes | YES | ファイル/モジュール単位で変更内容を列挙 |
| Testing | YES | 実行したコマンドまたは手動テスト手順を具体的に記載 |
| Closing Issues | YES | Closes #N または None のみ。gwt-spec issues may appear in Closing Issues for release PRs |
| Related Issues / Links | YES | 参照用の Issue番号、SPEC、または "None" を明記 |
| Checklist | YES | 全項目を確認してチェック/N-A を付ける |
| Context | Conditional | 3ファイル以上の変更、または非自明な変更理由がある場合は必須 |
| Risk / Impact | Conditional | 破壊的変更・パフォーマンス影響・ロールバック手順がある場合は必須 |
| Screenshots | Conditional | UI 変更がある場合のみ必須 |
| Deployment | Optional | デプロイ手順がある場合のみ記載 |
| Notes | Optional | レビュアーへの補足がある場合のみ記載 |
TODO が残っていたら PR を作成してはならない。Closes #123 または None のみを許可する。bare #123 は禁止する。Related Issues / Links にだけ置かれた gwt-spec も release tooling が release PR の Closing Issues に昇格する。通常 Issue は Related Issues / Links にだけ置いた場合、参照専用として扱う。- [ ] Docs updated — N/A: no user-facing change)。#123 形式または URL で記載する。該当なしの場合は "None" と明記する。\n.\n, \t).When work is tracked in GitHub Issues, progress updates must use this template:
Progress
- ...
Done
- ...
Next
- ...Next, explicitly state blockers or the immediate next action.Confirm repo + branches
git rev-parse --show-toplevelgit rev-parse --abbrev-ref HEADdevelop unless user specifies.Check local working tree state (preflight)
git status --porcelain.git commit / git stash / git clean) and rerunFetch latest remote state
git fetch origin to ensure accurate comparisonCheck existing PR for head branch
mergedAt as the source of truth for "merged".If all PRs are merged, perform post-merge commit check
gh pr list --head <head> --state merged --json mergeCommit -q '.[0].mergeCommit.oid'git rev-list --count <merge_commit>..HEADEnsure the head branch is pushed
git push -u origin <head>git pushCollect PR inputs (for new PR or explicit update)
Build PR body from template
GH_PR_SKILL_DIR="${GH_PR_SKILL_DIR:-$HOME/.codex/skills/gh-pr}"PR_BODY_TEMPLATE="${GH_PR_SKILL_DIR}/references/pr-body-template.md"${PR_BODY_TEMPLATE} and fill all required placeholders.<!-- GUIDE: ... --> コメントは最終出力から削除する。Closes #N か None のみを許可する。release PR で auto-close したい gwt-spec は Closing Issues に記載する。develop PR の Related Issues にある gwt-spec は release tooling で Closing Issues に昇格される。Create or update the PR
gh pr create -B <base> -H <head> --title "<title>" --body-file <file>gh pr edit <number> --title "<title>" --body-file <file>Return PR URL
gh pr view <number> --json url -q .urlgithub/skills/gh-fix-ci/SKILL.md and
follow its workflow to inspect CI status, merge state, and review feedback.head=$(git rev-parse --abbrev-ref HEAD)
base=develop
GH_PR_SKILL_DIR="${GH_PR_SKILL_DIR:-$HOME/.codex/skills/gh-pr}"
PR_BODY_TEMPLATE="${GH_PR_SKILL_DIR}/references/pr-body-template.md"
if [ ! -f "$PR_BODY_TEMPLATE" ]; then
echo "PR template not found: $PR_BODY_TEMPLATE" >&2
exit 1
fi
# Preflight: local working tree state
status_lines=$(git status --porcelain)
if [ -n "$status_lines" ] && [ "${ALLOW_DIRTY_WORKTREE:-0}" != "1" ]; then
echo "Detected local uncommitted/untracked changes:" >&2
echo "$status_lines" >&2
echo "Choose one before continuing: continue as-is, abort, or manual cleanup then rerun." >&2
echo "Set ALLOW_DIRTY_WORKTREE=1 only after explicit user confirmation to continue." >&2
exit 1
fi
# Fetch latest remote state
git fetch origin
# Check existing PRs for the head branch
pr_json=$(gh pr list --head "$head" --state all --json number,state,mergedAt,mergeCommit)
pr_count=$(echo "$pr_json" | jq 'length')
unmerged_count=$(echo "$pr_json" | jq 'map(select(.mergedAt == null)) | length')
if [ "$pr_count" -eq 0 ]; then
action=create
elif [ "$unmerged_count" -gt 0 ]; then
action=push_only
else
# All PRs are merged - check for post-merge commits
merge_commit=$(echo "$pr_json" | jq -r 'sort_by(.mergedAt) | last | .mergeCommit.oid')
if [ -n "$merge_commit" ] && [ "$merge_commit" != "null" ]; then
new_commits=$(git rev-list --count "$merge_commit"..HEAD 2>/dev/null || echo "0")
if [ "$new_commits" -gt 0 ]; then
echo "Found $new_commits commit(s) after merge - creating new PR"
action=create
else
echo "No new commits since merge - nothing to do"
action=none
fi
else
# Fallback: check against base branch
new_commits=$(git rev-list --count "origin/$base"..HEAD 2>/dev/null || echo "0")
if [ "$new_commits" -gt 0 ]; then
action=create
else
action=none
fi
fi
fi
# Execute action
case "$action" in
create)
cp "$PR_BODY_TEMPLATE" /tmp/pr-body.md
git push -u origin "$head"
gh pr create -B "$base" -H "$head" --title "..." --body-file /tmp/pr-body.md
;;
push_only)
echo "Existing unmerged PR found - pushing changes only"
git push
gh pr list --head "$head" --state open --json url -q '.[0].url'
;;
none)
echo "No action needed - no new changes since last merge"
;;
esac${GH_PR_SKILL_DIR}/references/pr-body-template.md: PR body template© akiojin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .agents/skills/gh-pr of akiojin/unity-cli.
Open the folder on GitHubat commit 7f45d7a
Gh PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Gh PR this skillakiojin/unity-cli | 107 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Create Pull Requestcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Pull Request Title and Body Writeropeninterpreter/openinterpreter | 69k | 2 repos | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| PR Review State Fetchprisma/orm | 48k | — | ~767 | Automated safety check: Pass | Apache-2.0 | |
| Creating Description For Gh PRredis/jedis | 12k | — | ~838 | Automated safety check: Pass | MIT |
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
cline/cline
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
openinterpreter/openinterpreter
Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.
prisma/orm
Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.
redis/jedis
Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.
makeplane/plane
Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.
akiojin/unity-cli
Sync the gh- automation skills from the upstream skills repository into Codex and project skill directories.
akiojin/unity-cli
Build and verify a 2D sprite and Tilemap scene with unity-cli.
akiojin/unity-cli
Manage Unity Addressables groups and content with unity-cli.
akiojin/unity-cli
Manage Unity assets and import metadata with unity-cli. An agent skill from akiojin/unity-cli.
akiojin/unity-cli
Configure Unity audio with unity-cli. An agent skill from akiojin/unity-cli.
akiojin/unity-cli
Implement, fix, and refactor Unity C code with unity-cli write tools.
Categories
Create or update GitHub Pull Requests with the gh CLI, including deciding whether to create a new PR or only push based on existing PR merge status. Gh PR is an agent skill from akiojin/unity-cli. Create or update GitHub Pull Requests with the gh CLI, including deciding whether to create a new PR or only push based on existing PR merge status.
Gh PR fits situations like: the user asks to open/create/edit a PR; generate a PR body/template; says PRを出して/PR作成/gh pr.
Run `npx skills add akiojin/unity-cli --skill gh-pr -a claude-code`. Or copy the skill folder (.agents/skills/gh-pr in akiojin/unity-cli) into .claude/skills/gh-pr in your project. Claude Code loads it when a task matches its description.
Run `npx skills add akiojin/unity-cli --skill gh-pr -a codex`. Or copy the skill folder (.agents/skills/gh-pr in akiojin/unity-cli) into .agents/skills/gh-pr in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add akiojin/unity-cli --skill gh-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gh-pr, .gemini/skills/gh-pr, .github/skills/gh-pr and .opencode/skills/gh-pr in your project.
Going by SKILL.md and its folder, Gh PR needs the command-line tools its instructions call (git, gh and jq).
SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Gh PR is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 829 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Gh PR: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and PR Review State Fetch (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
akiojin (a GitHub user) maintains it in akiojin/unity-cli, which has 107 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 5, 2026.
Source: akiojin/unity-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.