@aronhouyu: loops engineeing的案例 可以直接用在自己的agent workflow上 都是赛博大善人
Summary
推荐一个提供预构建代理循环工作流的网站loops.elorm.xyz,开发者可直接复制闭环工作流到自己的agent workflow中,实用且开源。
View Cached Full Text
Cached at: 06/21/26, 04:32 AM
loops engineeing的案例
可以直接用在自己的agent workflow上
都是赛博大善人
https://t.co/YamIButj66
loops! | Pre-built agent loops
Source: https://loops.elorm.xyz/
Stop prompting. Startlooping.
Copy closed-loop workflows for coding agents. Each loop includes triggers, feedback gates, and exit conditions so agents self-pace until the job is done.
Trending loop
Ship PR Until Green
Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.
View Start the “Ship PR Until Green” loop.
1.4k copies
Featured loops
Battle-tested loops with copy-paste kickoffs and optional install bundles.
Start the “Ship PR Until Green” loop. Goal: PR is open with all CI checks passing Max iterations: 10 Between iterations run: gh pr checks Exit when: all PR checks are success Step 1: Implement the change, test locally, push, open PR, and fix CI until green. Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.
Claude CodeCursorCodex
pr
ci
ship
continuous-claude
Install and run the “Pre-Commit Guard” loop. Goal: block git commits when tests are failing. Between iterations run: npm test Exit when: tests exit 0 before each commit. Step 1: Before any git commit, run tests. Fix failures before committing.
CursorClaude Code
hooks
testing
git
pre-commit
Install and run the “Post-Edit Test Guard” loop. Goal: after each batch of file edits, related tests must pass before continuing. Between iterations run: npm test -- --findRelatedTests <edited files> Exit when: related tests exit 0. Step 1: After edits, run related tests. If they fail, fix before making more changes.
CursorClaude Code
Start the “Independent Verifier Pass” loop. Goal: build, lint, and tests pass under independent verification Max iterations: 8 Between iterations run: npm run build && npm run lint && npm test Exit when: all verifier commands exit 0 Step 1: Run build, lint, and tests as a verifier. Trust only command output, not prior claims. Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.
Claude CodeCursor
verification
testing
letitloop
/loop 5m Start the “CI Failure Watcher” loop. Goal: latest CI run on this branch is green. Max iterations: 12. Between iterations run: gh run list --branch $(git branch --show-current) --limit 1 Exit when: latest run conclusion is success. Step 1: Check CI status. If failed, read logs, fix root cause, verify locally, and push if needed.
CursorClaude Code
/loop 15m Start the “Deploy Verification Loop”. Goal: all post-deploy health and smoke endpoints return success. Max iterations: 8. Between iterations run: curl -fsS <your-health-url> Exit when: every configured endpoint succeeds. Step 1: Hit health/smoke URLs. If any fail, inspect deploy logs and fix or escalate.
CodexCursorClaude Code
Similar Articles
@li9292: 我推荐这个网址: https://loops.elorm.xyz 收录了几十个大神的 loop engineering的思路
A curated collection of pre-built agent loops (closed-loop workflows) for coding agents like Claude Code and Cursor, including triggers, feedback gates, and exit conditions for self-paced task execution.
@cxjwin: Found a very practical website collecting various ready-made Agent Loop templates. Core idea: stop manually prompting all the time; design the loop so the agent runs the task on its own. It includes Test Until Green, Fix CI Until G…
Shared a practical website that collects ready-made Agent Loop templates. The core idea is to let the AI agent automatically complete tasks. It includes common loops like Test Until Green, and is suitable for use with Claude Code and Cursor.
@kentcdodds: Loop Engineering? Let me show you how I evolved to do that naturally and give you a pragmatic approach to it.
Kent C. Dodds introduces the concept and practice of 'Loop Engineering': setting triggers, action/observation loops, and stop conditions for coding agents to autonomously complete multiple rounds of work, replacing manual prompts with automated events to boost development efficiency.
@justloveabit: https://x.com/justloveabit/status/2070338139441484053
The article declares Prompt Engineering dead, proposes Loop Engineering as the new paradigm for AI development in 2026, emphasizes designing autonomous loop systems (Plan-Execute-Verify-Iterate) to let agents autonomously complete complex workflows, and provides practical examples and a getting-started approach.
@Xudong07452910: Open source project recommendation: loop-engineering — a practical framework that gives your AI coding agent self-looping and intelligent orchestration capabilities. loop-engineering is a very popular concept right now, offering practical patterns, starters, and CLI tools to help developers design systems…
loop-engineering is an open-source framework that provides self-looping and intelligent orchestration capabilities for AI coding agents (such as Claude Code, Codex, Cursor). It includes 7 production-grade loop patterns, practical CLI tools, and a five-data-block design, helping developers transition from manual prompting to systematic automation.