一键导入
spec-execute-next
Autonomously pick the highest-value ready spec, drive it to an outcome-labeled PR, reset the workspace
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Autonomously pick the highest-value ready spec, drive it to an outcome-labeled PR, reset the workspace
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Verify, review, and push pending work as one milestone commit
Drive the current branch's PR to merge-ready: CI green and every review comment handled, ending with an outcome label
After owner accept: guard-checked squash-merge of the current branch's PR, base sync and branch cleanup
Open a pull request for the current branch against its target, using the repo template
Triage PR review comments: fix, discuss, or decline with reason - every thread answered
Cut a release: version, changelog, tag, and release object — policy-driven across trunk/gitflow and tag-only/full
| name | spec-execute-next |
| description | Autonomously pick the highest-value ready spec, drive it to an outcome-labeled PR, reset the workspace |
| argument-hint | [focus hint, e.g. 'frontend only'] |
Orchestrator-of-orchestrators: select ONE ready item, delegate the whole execution to spec-execute / spec-continue (their rules apply verbatim - this skill adds only selection and cleanup), then reset the workspace. Designed for autonomous and scheduled runs.
git status --porcelain clean (dirty - halt and surface; never sweep foreign work into a task). git switch <base> && git pull && git fetch --prune.approved specs in the project's spec area (profile specs_dir; else detect) - the primary pool - plus in-progress specs with no open PR (to finish; finishing beats starting). Never proposed (unreviewed - the owner approves via spec-approve first), completed, cancelled, or superseded. Skip idea-collection notes without a concrete ticket-sized item.gh pr list --state open --json number,title,headRefName,labels,updatedAt; per-PR file scope via gh pr view <n> --json files --jq '.files[].path'.ai:manual / ai:failed PRs need the owner, not a re-run); its file scope overlaps any open PR's files; it needs a decision the spec leaves open (that is ai:manual before even starting).spec-continue; otherwise spec-execute. Run until the PR carries exactly one ai:* label. Never merge.git switch <base> && git pull && git fetch --prune. Close any spec whose PR merged since the last run (spec-close) so the queue and docs reflect reality. Re-sync intelligence outputs when the project uses intelligence-sync (bash <umbrella>/sync/scripts/sync.sh). Report: task picked + why; PR URL + outcome label; what needs the owner; runner-up for the next run.spec-execute; the merge - git-merge-pr after owner accept. The approved queue this skill drains is filled by spec-approve (the owner's gate-1 decision).