loop-engineering

GitHub

定义 Loop Engineering 运行时规范,包含 Grill 编排器配置(目标、成功标准、执行/验证代理)与 Monitor 回调机制(完成、升级、人工审核),用于管理自动化迭代循环及异常处理。

src/skills/loop-engineering/SKILL.md alvinunreal/oh-my-opencode-slim

Trigger Scenarios

需要配置自动化迭代循环的执行策略 需要定义 Agent 循环的监控与人工介入流程

Install

npx skills add alvinunreal/oh-my-opencode-slim --skill loop-engineering -g -y
More Options

Non-standard path

npx skills add https://github.com/alvinunreal/oh-my-opencode-slim/tree/master/src/skills/loop-engineering -g -y

Use without installing

npx skills use alvinunreal/oh-my-opencode-slim@loop-engineering

指定 Agent (Claude Code)

npx skills add alvinunreal/oh-my-opencode-slim --skill loop-engineering -a claude-code -g -y

安装 repo 全部 skill

npx skills add alvinunreal/oh-my-opencode-slim --all -g -y

预览 repo 内 skill

npx skills add alvinunreal/oh-my-opencode-slim --list

SKILL.md

Frontmatter
{
    "name": "loop-engineering",
    "description": "Loop engineering runtime Grill + 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 / librarian
  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.

Version History

  • 34bffad Current 2026-08-20 11:44

Same Skill Collection

.agents/skills/cli-review/SKILL.md
.agents/skills/release-smoke-test/SKILL.md
src/skills/clonedeps/SKILL.md
src/skills/codemap/SKILL.md
src/skills/deepwork/SKILL.md
src/skills/oh-my-opencode-slim/SKILL.md
src/skills/reflect/SKILL.md
src/skills/simplify/SKILL.md
src/skills/verification-planning/SKILL.md
src/skills/worktrees/SKILL.md

Metadata

Files
0
Version
9dbf2de
Hash
551b298b
Indexed
2026-08-20 11:44

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-05 14:23
浙ICP备14020137号-1 $bản đồ khách truy cập$