the-loop
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTHE LOOP
循环机制
A screenshot shows a moment; it cannot show a flow. THE LOOP records the
actual running target, watches the recording, and judges it against pass
criteria you state in plain language. The loop only observes — YOU apply
the fixes, then iterate. On pass it renders a before/after MP4 + GIF as
proof.
截图只能展示某个瞬间,无法呈现完整流程。循环机制会记录目标内容的实际运行状态,查看录制内容,并根据你用通俗语言描述的通过标准进行判断。该机制仅负责观察——由你进行修复操作,然后重复迭代。通过验证后,它会生成前后对比的MP4和GIF文件作为证明。
UI / web page / desktop window
UI/网页/桌面窗口
bash
watch-skill loop start "<url | screen: | window:<title> | file>" "<pass criteria>" [--script '<json steps>']bash
watch-skill loop start "<url | screen: | window:<title> | file>" "<pass criteria>" [--script '<json steps>']...apply the suggested fixes to the code...
...apply the suggested fixes to the code...
watch-skill loop iterate <loop_id>
- Pass criteria are ordinary sentences: "the checkout completes, no
error toast ever appears, the total is never NaN". Negative claims
("never X") and exemplars ("a real price (like $29.00)") are both
understood and enforced deterministically.
- `--script` replays the same clicks/fills every iteration, so the
comparison is honest.
- Only call `iterate` after you actually changed something. It diffs
against the previous iteration: fixed / unchanged / new.watch-skill loop iterate <loop_id>
- 通过标准为普通语句,例如:“结账流程完成,从未出现错误提示框,总价不会显示为NaN”。否定表述(如“从未出现X”)和示例(如“真实价格(如$29.00)”)均可被准确理解并严格执行。
- `--script` 参数会在每次迭代中重复相同的点击/填充操作,确保对比的公正性。
- 仅在实际修改内容后调用`iterate`命令。它会与上一次迭代进行对比,标记出已修复/未变更/新增的内容。Generated video (Manim, Remotion, ffmpeg, AI-gen)
生成视频(Manim、Remotion、ffmpeg、AI生成)
bash
watch-skill loop video-gen --spec "<what the video must show>" --cmd "<render command>" --output <file>Re-runs the generator each iteration and judges the fresh render against
the spec.
bash
watch-skill loop video-gen --spec "<what the video must show>" --cmd "<render command>" --output <file>每次迭代都会重新运行生成器,并根据指定标准对新渲染的视频进行判断。
Game / simulation
游戏/模拟程序
bash
watch-skill loop game "<canvas-url | window:<title> | screen:>" "<pass criteria>" [--run-cmd "<launch cmd>"]Catches the failures screenshots miss: a NaN score counter, black
flicker frames, sprites that vanish mid-motion.
bash
watch-skill loop game "<canvas-url | window:<title> | screen:>" "<pass criteria>" [--run-cmd "<launch cmd>"]能捕捉到截图无法发现的问题:如显示为NaN的计分器、黑屏闪烁帧、运动中消失的精灵角色。
Watch for a condition (monitoring)
条件监控
bash
watch-skill loop monitor "<folder | url | screen: | window:<title>>" "<condition>" [--interval 10] [--max-checks 10]Bounded — it always terminates. Events land in under the
loop directory as structured records.
events.jsonlbash
watch-skill loop monitor "<folder | url | screen: | window:<title>>" "<condition>" [--interval 10] [--max-checks 10]有边界限制——它总会终止运行。事件会以结构化记录的形式保存到循环目录下的文件中。
events.jsonlRecord without judging
仅录制不评估
bash
watch-skill capture "<target>" [--duration 10]Capture alone never critiques; it just records, analyzes, and indexes.
Use when there are pass criteria.
loop startbash
watch-skill capture "<target>" [--duration 10]仅录制功能不会进行评估,仅负责记录、分析和建立索引。当存在通过标准时,请使用命令。
loop start