ワンクリックで
gh-credit-harvest
Harvest one community PR into a release branch with authorship and credit preserved, verified green, and a warm thank-you.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Harvest one community PR into a release branch with authorship and credit preserved, verified green, and a warm thank-you.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Run cargo check on the current Rust project to find compile errors
Use before claiming CodeWhale release work is done: run the full gate sweep and list the manual QA targets.
Use to assign GitHub issues to a milestone and/or owners in bulk, verifying each.
Close resolved CodeWhale issues only after verifying the landed commit/behavior, with a positive crediting comment; never from title alone.
Triage N GitHub issues into a coverage matrix: fetch each, check current code, classify already-done/quick-fix/design/defer with cited evidence.
Use when filing a new CodeWhale GitHub issue: turn a bug or idea into a well-formed, actionable issue with repro, acceptance criteria, labels, and milestone.
SOC 職業分類に基づく
| name | gh-credit-harvest |
| description | Harvest one community PR into a release branch with authorship and credit preserved, verified green, and a warm thank-you. |
Harvest exactly one community PR into the real landing branch with full authorship and machine-readable credit, verified green, then thank the contributor. A PR is evidence: judge it from code, tests, comments, and checks, never the title. Do not merge, close, tag, or publish without Hunter's approval — this skill lands a credited commit and posts thanks; the workflow closes the PR.
gh-close-issues).<release-branch>); a main-based "mergeable" flag does not prove it lands cleanly.main) and fetch the PR head:
git switch <release-branch>
git fetch origin pull/<N>/head
git log -1 --format='%H %an <%ae>' FETCH_HEAD # author to preserve
gh pr view <N> --repo Hmbown/CodeWhale --json title,author,files,statusCheckRollup
gh pr diff <N> --repo Hmbown/CodeWhale
git merge-tree $(git merge-base HEAD FETCH_HEAD) HEAD FETCH_HEAD # empty/clean = no conflict
git cherry-pick <sha> # one or more commits from FETCH_HEAD
--author and the co-author from .github/AUTHOR_MAP (fall back to numeric noreply):
gh api users/<handle> --jq '"\(.id)+\(.login)@users.noreply.github.com"'
git commit --author="Name <ID+handle@users.noreply.github.com>" -m "fix(scope): what changed (#<N>)" \
-m "Harvested from PR #<N> by @<handle>" \
-m "Co-authored-by: Name <ID+handle@users.noreply.github.com>"
The Harvested from PR #<N> by @<handle> line in the body is what .github/workflows/auto-close-harvested.yml matches to auto-close with credit once the commit reaches main.cargo fmt --all
cargo test -p <crate> # the crate(s) the PR touched, not the whole workspace
python3 scripts/check-coauthor-trailers.py --author-map .github/AUTHOR_MAP --range HEAD~1..HEAD --check-authors
main:
gh pr comment <N> --repo Hmbown/CodeWhale \
--body "Thank you @<handle> — clean fix for <the specific bug>. Harvested into the v0.8.61 lane with your authorship preserved; it'll auto-close with credit once it reaches main."
Grounded example: PR #3221 by @hongchen1993 (honour DEEPSEEK_BASE_URL/DEEPSEEK_MODEL in exec) cherry-picks cleanly, so its author is preserved with no manual trailers; a focused cargo test -p on the touched crate is enough to land it green.
git merge-tree.--author + trailers when you must..github/AUTHOR_MAP, then numeric noreply; never raw third-party, .local, placeholder, or bot emails.Harvested from PR #<N> by @<handle> body line — without it the PR won't auto-close with credit.gh-close-issues.