/useful-loops:plan-to-plan-loop SOURCE_PLAN TARGET [--max N]from useful-loops
This command should be used when the user asks to 'loop plan-to-plan', 'keep aligning plans', or 'iteratively close plan gaps'. Loops plan-to-plan iterations until the target plan fully covers the source plan. Requires ralph-loop plugin.
Ships in useful-loops. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Start a Ralph Loop that repeatedly compares a target plan against a source plan and closes gaps until the target fully covers the source.
Parse the arguments: extract the SOURCE_PLAN path, the TARGET path (a single .md file or a directory of .md files), and an optional --max N for max iterations (default: 10).
Now invoke the Ralph Loop skill with these parameters:
/ralph-loop:ralph-loop "/useful-loops:plan-to-plan <SOURCE_PLAN> <TARGET>" --completion-promise "PLANS_ALIGNED" --max-iterations <N>
Replace <SOURCE_PLAN> and <TARGET> with the paths from the arguments, and <N> with the max iterations (default 10).
7-day visitors to each command page
24 commands in this plugin
/beta-auditThis command should be used when the user asks to 'run a beta audit', 'check beta readiness', 'is the app ready for beta', or 'find beta-readiness gaps'. Runs one iteration: explores the app holistically for beta-readiness gaps, fixes code issues, collects manual to-dos, validates, PRs, runs CI, and merges./beta-audit-loopThis command should be used when the user asks to 'loop beta audit', 'keep auditing for beta readiness', or 'fix all beta issues'. Loops beta audit iterations until no HIGH/MEDIUM code findings remain. Requires ralph-loop plugin./ci-auditThis command should be used when the user asks to 'optimize CI', 'audit CI pipeline', 'speed up GitHub Actions', 'reduce CI time', 'make CI faster', or 'harden CI permissions'. Runs one iteration: analyzes 1-2 CI dimensions across multiple measurement axes (timing, billable minutes, hygiene, flakiness), applies fixes, re-measures, and merges./ci-loopThis command should be used when the user asks to 'loop CI audit', 'fully optimize CI', 'audit all CI dimensions', or 'do a full CI optimization sweep'. Loops CI audit iterations until all 9 dimensions are covered and no issues remain. Requires ralph-loop plugin./doc-refineThis command should be used when the user asks to 'refine a document', 'improve this doc', 'polish documentation', or 'apply a prompt to a document'. Runs one iteration: applies a prompt-driven analysis to a document, identifies improvements, and applies them./doc-refine-loopThis command should be used when the user asks to 'loop doc refine', 'keep refining a document', or 'iteratively improve documentation'. Loops doc-refine iterations until no further improvements are found. Requires ralph-loop plugin.npx claudepluginhub neonwatty/useful-loops --plugin useful-loops