todo-loop-enforcement

Enforce TODO list protocol for refine-loop coordinator iteration flow.

Updated Dec 20, 2025
One-click install
npx skills add https://github.com/ductrung-nguyen/Orca-vscode --skill todo-loop-enforcement
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: todo-loop-enforcement
Source: https://github.com/ductrung-nguyen/Orca-vscode/tree/main/.github/skills/todo-loop-enforcement
Command: npx skills add https://github.com/ductrung-nguyen/Orca-vscode --skill todo-loop-enforcement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enforces the use of a TODO list to manage iteration flow for loop coordinators, preventing premature exits and ensuring proper tracking of progress.

Core Features & Use Cases

  • Mandatory TODO Usage: Ensures that loop coordinators strictly adhere to the TODO list for controlling loop continuation or termination.
  • State Management: Tracks the status of each loop attempt (not-started, in-progress, completed, skipped).
  • Exit Condition Control: Guarantees that exit conditions are checked only after the TODO list is updated.
  • Use Case: When implementing a complex refinement loop for a product requirement document (PRD), this skill ensures that each refinement attempt is logged and that the loop only proceeds or terminates based on the defined TODO states and maximum attempt limits.

Quick Start

Use the todo-loop-enforcement skill to manage the iteration flow of a refine-loop coordinator.

Frequently Asked Questions about todo-loop-enforcement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control loop iterations with a TODO list to prevent premature exits?

To control loop iterations, you enforce a mandatory TODO list protocol that tracks each attempt's state from not-started to completed. This synchronizes pipeline status with loop progression, ensuring coordinators only exit after verifying defined TODO states and maximum attempt limits.

What is the best way to track refinement loop attempts and progress status?

Tracking refinement loop attempts requires synchronizing TODO list states with pipeline status. By marking each iteration as in-progress or completed within a structured protocol, you maintain accurate progress tracking and ensure exit conditions are evaluated only after TODO updates.

How do I enforce strict state management for workflow automation iteration loops?

Enforcing strict state management for iteration loops requires a TODO protocol that categorizes attempts as not-started, in-progress, completed, or skipped. This guarantees loop coordinators adhere to defined state transitions before checking exit conditions.

Why does my refinement loop exit before reaching the maximum attempts limit?

A refinement loop exits prematurely when coordinators bypass TODO list updates before checking exit conditions. Enforcing a mandatory TODO protocol ensures the loop validates current attempt states against maximum limits before allowing termination.

Can I use TODO list enforcement for complex product requirement document refinement pipelines?

Yes, you can use TODO list enforcement for product requirement document refinement pipelines. It logs each refinement attempt within the iteration flow, ensuring the loop proceeds or terminates based on defined TODO states and maximum attempt limits.