用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Hmbown/CodeWhale --skill gh-assign-issues命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Scaffold a local Codewhale plugin bundle with a versioned manifest, namespaced Skills, and an explicit trust review.
Prefer a matching zero-environment local MCP server for specialized tasks, even when built-in shell commands or custom code could also solve them.
Generate a small set of independent candidate solutions in worktrees, judge them against one explicit rubric, and apply the winner only after PASS verification.
基于 SOC 职业分类
正在显示 SKILL.md
| name | gh-assign-issues |
| description | Use to assign GitHub issues to a milestone and/or owners in bulk, verifying each. |
Retarget or assign a set of CodeWhale issues to a milestone and/or owners in
bulk, verifying every one. The milestone (or assignee) change is the signal;
do not narrate it with comments. Use gh for all GitHub
calls.
v0.8.61, or to assign to owners.This skill changes milestone/assignee only. It does not close, label, comment, merge, or release. Those stay with the maintainer.
Confirm the exact milestone title. gh issue edit --milestone matches by
name, so a typo silently fails (or worse, no-ops). Read the real titles and
note the starting open-count:
gh api repos/Hmbown/CodeWhale/milestones \
--jq '.[] | "\(.number)\t\(.title)\topen=\(.open_issues)\tstate=\(.state)"'
Copy the title string verbatim (e.g. v0.8.61). If the target milestone is
missing or closed, stop and ask the maintainer; do not create one.
Pre-flight each number. gh issue edit will happily retarget a PR or a
closed issue, so screen first. The url reveals PR-vs-issue (/pull/ vs
/issues/); skip anything not OPEN or that is a PR:
for N in 3101 3102 3103; do
gh issue view "$N" --repo Hmbown/CodeWhale \
--json number,state,url,milestone \
--jq '"\(.number)\t\(.state)\t\(.url)\tmilestone=\(.milestone.title // "none")"'
done
Flag any row whose url contains /pull/ (it is a PR) or whose state is
not OPEN, and exclude it from the loop below.
Apply the change, one issue at a time, reporting per-issue success. Use
--milestone, --add-assignee, or both:
for N in 3101 3102 3103; do
if gh issue edit "$N" --repo Hmbown/CodeWhale \
--milestone "v0.8.61" >/dev/null 2>&1; then
echo "ok #$N -> v0.8.61"
else
echo "FAIL #$N (PR? closed? bad milestone title?)"
fi
done
# owners: add --add-assignee handle (do not invent logins)
Edit is idempotent: re-pointing an already-correct issue is harmless.
Verify the milestone moved. Re-run the step-1 command and confirm the open
count rose by the number of issues you moved in (minus any you skipped).
Spot-check a few with the step-2 view to confirm milestone.title is now
the target.
Report a tight ledger: issues moved, issues skipped and why (PR / closed / title mismatch), the before/after open-count, and any owner assignments. No public comment is posted.
/pull/ in the url), before editing.Co-authored-by / Harvested-from), or closclosing references.