Skip to main content

while

Loop a stage WHILE a predicate holds, checking the condition BEFORE each run — `while (cond) { body }`. If the condition is already false up front, the body never runs. Full loop safety: hard cap, convergence detection, kill switch. USE when the guard must be checked first — "while there are pending PRs, process the next", "keep refining while the reviewer disagrees", "process the queue while it's non-empty". For running the body first and then checking (at least one run), use `/agentflow:until`. For a fixed count, use `/agentflow:repeat`.

Jump to install

Source facts

Repository
AleSaiani/agentflow
Last source activity
May 25, 2026 at 18:30
Detected SKILL.md language
English
Stars
5
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.