一键导入
gh-plan-issues
Cluster a milestone of issues into coherent implementation workstreams with sequencing, dependencies, and a lead train.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Cluster a milestone of issues into coherent implementation workstreams with sequencing, dependencies, and a lead train.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
Harvest one community PR into a release branch with authorship and credit preserved, verified green, and a warm thank-you.
| name | gh-plan-issues |
| description | Cluster a milestone of issues into coherent implementation workstreams with sequencing, dependencies, and a lead train. |
Turn a triaged milestone of issues into an execution plan: coherent workstream clusters by shared subsystem/files, with approach, dependencies, build order, and a lead train. Planning only — never merge, close, comment, or tag from this skill. Decide from code+tests+comments+checks, never from title alone.
v0.8.62) has a triaged but unsequenced issue list and you
need workstreams, ownership boundaries, and a build order.03-community-inbox-steward triage; before 04-integration-train.git rev-parse --show-toplevel).Hmbown/CodeWhaleghgh issue list --repo Hmbown/CodeWhale --milestone v0.8.62 \
--state open --limit 200 \
--json number,title,labels,body,comments,milestone,updatedAt,url
For each candidate, read the real signal — body, comments, linked PRs/issues — never the title alone:
gh issue view N --repo Hmbown/CodeWhale \
--json number,title,labels,body,comments,closedByPullRequestsReferences
Group issues that touch the same code so one workstream owns one surface. Use the real subsystem labels as the first cut, then confirm by grepping the code the issue actually names:
gh issue list --repo Hmbown/CodeWhale --milestone v0.8.62 \
--state open --label workflow-runtime --json number,title --jq '.[].number'
rg -n "ProviderRoute|session_model|route" crates/ --type rust -l
Cluster labels in this repo: workflow-runtime, subagents, pod-workflows,
sandbox, security, tools, tui, ux, documentation. One issue may seed
a cluster; pull siblings that share files into it. Split anything that spans two
unrelated surfaces into separate clusters.
For each cluster record: the shared surface (crate/files), the approach in 1–2 lines, hard dependencies (which cluster must land first), and internal issue order. Flag each as landable-now (focused, owned, testable this milestone) or epic (multi-surface, needs design split first). Be critical: an epic that masquerades as one issue blocks the train — recommend splitting it, don't sequence it whole.
The runtime control plane leads; UI/docs ride along. For CodeWhale the lead train, in order, is:
/swarm until 2–4 are real
(e.g. #3218).UI/UX (#3224) and docs clusters are followers: they land against settled control-plane contracts, not ahead of them. Order the whole plan so every follower depends on a landed lead.
A build order is only real if the early clusters land cleanly on the branch that
will actually receive them — often a local-only release branch, not main.
Probe the real landing branch, not the main-based mergeable flag:
git fetch origin pull/N/head:refs/tmp/pr-N
base=$(git merge-base <release-branch> refs/tmp/pr-N)
git merge-tree --write-tree <release-branch> refs/tmp/pr-N # nonzero/CONFLICT = reorder
If an early cluster conflicts with a later one, reorder or note the coupling. Run a cluster's gate locally before declaring it lead-ready:
cargo fmt --all -- --check && cargo clippy --workspace --all-targets
main-based mergeable flag for a local release branch — use
git merge-tree against the real head.Co-authored-by: + Harvested from PR #N by @handle so
auto-close-harvested.yml closes with credit.Write plan.md (do not commit) with:
merge-tree against the real landing branch;