Skip to main content

loop-engineering

Use to retry a task until tests, builds, or lint pass via Grill interview plus loop Monitor.

来源信息

仓库
alvinunreal/oh-my-opencode-slim
最近来源活动
2026年10月16日 17:15
检测到的 SKILL.md 语言
英语
星标
9,790
Forks
596

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
loop-engineering
description
Use to retry a task until tests, builds, or lint pass via Grill interview plus loop Monitor.
# Loop Engineering Skill ## Grill (orchestrator interview) 1. Goal: "What are you trying to accomplish?" 2. Success criteria: "Describe how we know the loop succeeded." 3. Success type: choose from `test`, `build`, `lint`, `command`, `fileExists`, `oracle`, `observer`, `manual`. For CLI steps provide `successCommand`; for file detection provide `successPath`. 4. Execute agent: fixer / designer / explorer 5. Verify agent: oracle / observer / test 6. Max attempts (default 3) 7. Optional context files: which files or directories should be read before execution? ## Loop Monitor - Listen to callbacks: - `onLoopComplete(loopID, success)` → report final outcome - `onEscalated(loopID, reason)` → escalate to human - `onManualReview(loopID, reason)` → prompt human to approve/fail and call `resolveManualReview(loopID, passed, reason)` - Show current state and attempt count on each callback - For manual verification, present the failure reason before asking for pass/fail - If human forces cancellation, call `cancel(loopID)` through the orchestrator ## Notes - Manual verification is the minimal on-ramp (autoresearch pattern). It pauses the loop until `resolveManualReview` is called. Do not auto-resolve. - BackgroundJobBoard signals (totalErrors, timeoutCount) are already baked into the runtime.
在 GitHub 查看