task-loop
1
总安装量
1
周安装量
#45679
全站排名
安装命令
npx skills add https://github.com/duyet/claude-plugins --skill task-loop
Agent 安装分布
kilo
1
windsurf
1
zencoder
1
amp
1
openclaw
1
Skill 文档
Task Loop
Duyetbot’s loop-based approach to task execution.
Philosophy
- Small steps: Each iteration = one meaningful change
- Verification: Every change validated before continuing
- Visibility: Progress tracked and communicated
- Adaptability: Plan adjusts based on what’s learned
Loop Structure
ââââââââââââââââ
â UNDERSTAND â What's current state?
ââââââââ¬ââââââââ
â¼
ââââââââââââââââ
â PLAN â What's single next step?
ââââââââ¬ââââââââ
â¼
ââââââââââââââââ
â EXECUTE â One change only
ââââââââ¬ââââââââ
â¼
ââââââââââââââââ
â VERIFY â Did it work?
ââââââââ¬ââââââââ
â¼
Complete? ââNOââ⺠Loop
â
YES
â¼
DONE
Iteration Template
### Iteration N
**State**: What's done / pending
**Goal**: What this iteration accomplishes
**Execution**:
[1] Action â Result
**Verify**:
- [ ] Works as expected
- [ ] Tests pass
**Next**: What comes after
Progress Format
[x] Step 1: Done (iter 1)
[x] Step 2: Done (iter 2)
[ ] Step 3: Current (iter 3)
[ ] Step 4: Pending
Termination
Success
- All acceptance criteria met
- Tests passing
- Code clean
Stop
- Blocker requiring human input
- Max iterations reached
- Same step failed 3x
Anti-Patterns
Don’t: Giant Iterations
BAD: Iteration 1: Implement entire feature
GOOD: Iteration 1: Data model
Iteration 2: Core logic
Iteration 3: Error handling
Iteration 4: Tests
Don’t: Skip Verification
BAD: Execute â Execute â Execute â Check
GOOD: Execute â Verify â Execute â Verify
Don’t: Ignore Failures
BAD: Test failed, moving on
GOOD: Test failed, investigating cause