pi-loop-designer
Pi extension for designing loops that prompt coding agents.
Package details
Install pi-loop-designer from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-loop-designer- Package
pi-loop-designer- Version
0.1.0- Published
- Jun 8, 2026
- Downloads
- not available
- Author
- byigitt
- License
- MIT
- Types
- extension
- Size
- 24.6 KB
- Dependencies
- 0 dependencies · 4 peers
Pi manifest JSON
{
"extensions": [
"./extensions/loop-designer.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-loop-designer
Prompt less. Loop more.
Pi extension for turning raw coding goal into repeatable agent loop. One command makes prompt system with objective, state, iteration prompt, verification, reflection, stop rules, next prompt.
Install
pi install npm:pi-loop-designer
Git fallback:
pi install git:github.com/byigitt/pi-loop-designer
Then restart pi or run /reload.
Use
/loop build auth audit flow
Agent designs loop, then saves blueprint with loop_designer tool.
Fast prefix also works:
loop: make dashboard feel premium without breaking data loading
#loop fix flaky checkout tests
Draft only:
/loop-draft ship dark mode safely
Saved loops:
/loop-list
/loop-next
/loop-next 2
What extension adds
/loop <objective>— submit loop-design prompt now./loop-draft <objective>— put loop-design prompt in editor./loop-list— copy saved loop blueprints into editor./loop-next [id]— copy next agent prompt from active loop.loop:and#loopinput prefixes — transform plain text into loop prompt.loop_designertool — save, list, checkpoint loop blueprints./design-loopprompt template — same loop mode from prompt autocomplete.loop-designerskill — agent behavior guide for loop-first work.
Loop shape
Good loop has:
- Objective — done state, not activity.
- State model — memory between iterations.
- Iteration prompt — reusable prompt for next agent pass.
- Verification — commands, checks, evidence.
- Reflection cadence — when loop inspects results and adapts.
- Stop rules — done, blocked, unsafe, human-needed.
- Next prompt — exact prompt to send now.
Local dev
pnpm install
pnpm exec tsgo --noEmit
pnpm exec oxlint
Why
Monthly reminder: stop prompting coding agents one task at a time. Design loop. Loop prompts agents. Agents make progress. Evidence decides done.