Đang tải…
Đang tải…
Every few minutes while you work, makes one small verified repository improvement — a flaky test, a stale comment, a missing type — one change, one commit.
npx claude-code-templates@latest --loop engineering/five-minute-maintainer-loopLoop Engineering — the
/loopverb repeats a task while you are present. This one does continuous, low-risk upkeep on a tight timer while you focus on the real work. Inspired by Peter Steinberger's five-minute maintainer.
Every few minutes, make exactly one small, verified improvement to the repo — and let the agent decide what to clean. That judgment is the whole point; nothing is hardcoded.
Suggested interval: 5m (runs while your session is open).
/loop 5m "Make one small, verified repository improvement: a flaky test, a stale comment, a missing type, a dead import. One change, one commit, tests green. Never touch anything risky or architectural. If nothing safe remains, say so and wait."
scope-guard hook blocks risky/out-of-scope edits.test-runner; only proceed if green./commit; one change, one commit. Wait for the next tick.You end the session, or there is no safe improvement left this pass (the loop idles rather than inventing risky work).
One change per tick; never refactors or touches production-critical paths. Set a per-session token budget before walking away.
agent:development-team/test-runner — verifies each change is green.command:git-workflow/commit — one clean commit per improvement.hook:quality-gates/scope-guard — blocks risky / out-of-scope edits.While you build a feature, the loop quietly fixes a flaky timer test, removes a dead import, and adds a missing return type — three tiny green commits — without ever touching the feature you're working on.