一键导入
loop
Claude Code only. Drive a single feature to completion by self-pacing /belmont:implement → verify → next → status until no pending milestones remain.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Claude Code only. Drive a single feature to completion by self-pacing /belmont:implement → verify → next → status until no pending milestones remain.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Apply a Codex-only Belmont planning handoff packet after a plan-mode product-plan or tech-plan interview; write only the explicit .belmont files named in the packet without asking new planning questions.
Interactive planning session - create PRD and PROGRESS files for a feature
Technical planning session - create detailed implementation spec from PRD
Auto debug loop — investigate, fix, verify using agent-dispatched pipeline
Manual debug loop with deep Belmont context and in-place spec reconciliation — user-verified fix + correct the specs that let the bug exist
Implement the next pending milestone from the PRD using the agent pipeline
| name | loop |
| description | Claude Code only. Drive a single feature to completion by self-pacing /belmont:implement → verify → next → status until no pending milestones remain. |
| alwaysApply | false |
Claude Code only. This skill drives one Belmont feature to completion by repeatedly running the implement → verify → next → status cycle, pausing between iterations so you can watch progress and steer. It is a thin orchestration wrapper around Claude Code's built-in /loop skill (self-paced via ScheduleWakeup) — those mechanics do not exist on other AI CLIs, which is why this skill is installed only for Claude Code.
This is the interactive, in-session counterpart to the headless belmont auto CLI (also aliased belmont loop). Use /belmont:loop when you want to stay in the Claude Code REPL and have the agent advance the feature milestone-by-milestone without you re-typing each skill. Use belmont auto when you want fully headless, parallel, worktree-based execution from the terminal.
$ARGUMENTS is the feature name or slug to drive (e.g. /belmont:loop checkout).
$ARGUMENTS is empty: list the feature directories under .belmont/features/, read each PRD.md for its name and status, and ask the user which feature to drive. If exactly one feature exists, you may select it and confirm. If none exist, tell the user to run /belmont:product-plan first, then stop.$ARGUMENTS names a feature that does not resolve to a .belmont/features/<slug>/ directory: report the mismatch, list the available feature slugs, and ask the user to clarify rather than guessing.Resolve the argument to a single feature slug before starting the loop. The loop only ever progresses this one feature — never start unrelated work.
$ARGUMENTS as described above. Call it <feature>./belmont:status <feature> (or belmont status --feature <feature> if the CLI is installed) to confirm the feature exists and to see how many milestones are pending./loopStart Claude Code's built-in /loop skill in self-paced mode (no fixed interval — let the model decide when to schedule the next iteration). Pass it the iteration recipe below, with <feature> substituted for the resolved slug. The exact handoff is:
/loop Drive the <feature> Belmont feature to completion. Each iteration:
1. Run /belmont:implement <feature> to build the next pending milestone.
2. Run /belmont:verify <feature> on what was just built.
3. If verify reports follow-up tasks or failures: run /belmont:next <feature>
and repeat /belmont:next <feature> until those follow-ups clear, then
re-run /belmont:verify <feature>.
4. Run /belmont:status <feature>. If there are no pending milestones left,
STOP (do not schedule another iteration). Otherwise continue to the next
milestone.
Do not start unrelated work; only progress this one feature.
When delegating, you are invoking the /loop skill — follow its self-pacing guidance (it uses ScheduleWakeup to re-enter the task between milestones, surviving context compaction). Each iteration advances exactly one milestone, so the loop converges as milestones flip to verified.
If the /loop skill is unavailable in this Claude Code build, fall back to driving the cycle inline: run steps 1–4 yourself in sequence, then repeat from step 1 for the next milestone, using ScheduleWakeup to self-pace between milestones. Stop on the same condition (no pending milestones left).
Stop the loop — do not schedule another iteration — when any of these holds:
/belmont:status <feature> shows no pending milestones (the success case: feature complete).[!] tasks) and cannot proceed after /belmont:next attempts; report the blocker and stop for user input./belmont:verify keeps failing on the same task across iterations with no new progress (avoid an infinite verify/next churn) — report the stuck task and stop.On stop, report: the feature, which milestones completed this run, the final status, and any blockers or stuck tasks that need user attention.
/belmont:tech-plan./belmont:implement, /belmont:verify, and /belmont:next enforce their own scope guards, evidence checks, and feature-detection prompts. Do not bypass them; just sequence them.