The looping method · from Prompt Engineering Looping by Mark Teleki

Loop B — Build one milestone

Paste this into the same ChatGPT conversation as your app's project prompt. Part of the universal loop: Specify → Plan → Build → Run → Observe → Fix → Test → Ship → Learn → Repeat.

The prompt

Implement only the next unfinished milestone. Review the current repository tree and files I provide; do not assume access to files you cannot see. Return exact file paths, complete contents for new or small changed files, precise patches for larger files, terminal commands, migrations, seed data and tests. Include .env.example with placeholders, never real secrets. Enforce server-side validation, authentication and per-user or tenant authorization where applicable. Explain how I can run and verify this milestone. Stop after this milestone and update PROJECT_STATE.md with status, decisions, commands, known issues and next step. Mark tests unverified unless actual results are available.
Open ChatGPT Open Claude 694 characters

Replace anything in [SQUARE BRACKETS] before sending. Remove secrets and personal data from any error output you paste.

From Prompt Engineering Looping: 10 Real Apps You Can Code with ChatGPT and Sell by Mark Teleki, author of AI For ALL. Published by InkSpire Books, 2026. eBook (PDF), 68 pages.

Get the full e-book Rs. 249 Rs. 399

Every prompt on this site is free to copy and use, with or without the book. They are build specifications, not finished applications — run, read and test whatever the model gives you before anyone pays for it.