跳到正文
cccskills
免费在 GitHub 公开

iterate-until-done

Set up a bounded iterate-until-done run with the loop plugin's /loop command. Use when the user wants the same task retried or refined across several replies until a check passes, such as "keep going until the tests pass" or "do this up to 5 times".

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Iterate until done

The loop plugin re-prompts this session after every finished reply, up to a hard limit, until a completion phrase appears or the user cancels. You cannot start it yourself: only the user's own /loop command can, so tell them the exact command to run.

/loop <prompt> [--max N] [--until <phrase>]
/loop-status
/cancel-loop
  • --max N is the most iterations to run, 1 to 50, default 10. Pick the smallest number that fits the task.
  • --until <phrase> ends the loop early when the final line of a reply is exactly that phrase. Quote it if it has spaces.
  • Flags go at the end of the command so the prompt is not misread.

Writing the prompt

The same prompt is used on every iteration, and each iteration sees the files the previous ones changed. So:

  • State a check the loop can verify itself, such as "until npm test exits 0", and pair it with --until.
  • Say what to do each round: inspect the current state, make one concrete improvement, verify it.
  • Keep the scope small enough that a few iterations can finish it.

Example for the user to run:

/loop Make `npm test` pass. Each round: run it, fix the first failure, run it again. --max 8 --until ALL_GREEN

When you are inside an iteration

A message that starts with [loop <id> #n/max] is one iteration of a running loop.

  • Continue from the work already in the workspace; do not restart.
  • Make progress, then end your reply. The next iteration starts by itself.
  • Write the completion phrase as the last line only when the task is truly done and verified. Never quote it, plan it or mention it otherwise, because the loop stops the moment it appears on its own line.
  • If you are blocked and need the user, say so plainly and make no further changes.
  • Never type <<loop-...>> markers; they are internal.

Limits to mention

  • It needs [control_socket] enabled = true in Codewhale's config; without it /loop refuses to start and says so.
  • It does not run alongside an active /goal.
  • State is in .codewhale/loop/state.json in the workspace; /loop-status summarizes it. A message that starts with [loop notice] is a status or error for you to relay in a sentence; do no other work.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Audit a page or UI against WCAG 2.2 AA. Runs a static HTML scanner and a contrast calculator, then walks the manual keyboard, zoom, screen-reader-name and form checks the tools cannot do, and reports findings with the criterion, evidence, fix and how to verify. Use for accessibility reviews, WCAG checks, contrast questions or "is this accessible".

中文简介正在准备中。当前显示原文说明。

codewhale-hq/codewhale-plugin-marketplace52026年10月20日 更新

batch

免费

Break a large, parallelizable goal into bounded work units, coordinate existing agent/worktree machinery, integrate, and verify. Explicit-only.

中文简介正在准备中。当前显示原文说明。

codewhale-hq/codewhale-plugin-marketplace52026年10月20日 更新

best-of-n

免费

Generate a small set of independent candidate solutions in worktrees, judge them against one explicit rubric, and apply the winner only after PASS verification.

中文简介正在准备中。当前显示原文说明。

codewhale-hq/codewhale-plugin-marketplace52026年10月20日 更新

Read and act on selected Chrome tabs and frames — their real browser, their logged-in sessions. Use for questions about the current page, filling a form the user is on, following a link they mentioned, or checking what a site actually renders. Not for throwaway automation in a clean profile.

中文简介正在准备中。当前显示原文说明。

codewhale-hq/codewhale-plugin-marketplace52026年10月20日 更新

Deploy or change a Cloudflare Worker with cf. Review config, preflight, build and dry-run; show the target and change, obtain explicit approval, deploy and verify. Covers versions, secrets, rollback and named modes.

中文简介正在准备中。当前显示原文说明。

codewhale-hq/codewhale-plugin-marketplace52026年10月20日 更新

Look up current Cloudflare documentation (Workers, Pages, KV, R2, D1, Queues, DNS, WAF, platform APIs) through Cloudflare's official remote MCP server. Use when answering Cloudflare questions or writing Cloudflare config.

中文简介正在准备中。当前显示原文说明。

codewhale-hq/codewhale-plugin-marketplace52026年10月20日 更新

查看 codewhale-hq 的全部技能

报告此技能的问题