Plan Before Writing Code

Have a coding agent inspect the code, ask clarifying questions, and present a plan without changing files until you approve.

Maximus Republished on Nov 02 0 Bookmarks 0 Copies
Bookmark 0

Example outputs

Download video result 1

Prompt template

Format
Text Parameterized
Inputs
task (text) · Optional · Default: add an application form to the website
Outputs
Implementation_plan (text)
For this task: ${task:add an application form to the website}

First inspect the relevant code and identify any questions that need clarification. Then present a clear plan for completing the task. Do not modify any code or files, or begin implementation, until I approve the plan.

Replace the ${…} placeholders with your values before using this prompt. See parameters and defaults below

Parameters

Replace each placeholder with your own value, or use its default when one is provided

${task:add an application form to the website} task Default: add an application form to the website

What you'll create

The response surfaces clarification questions and outlines task steps. Implementation remains paused until the user approves the proposed plan.

Frequently asked questions

Can files be modified during planning?

No. Code and files remain unchanged until approval.

What comes before the plan?

Inspection of the relevant code and identification of unclear details.

Comments

Tried this prompt? Share what you made, compare results, or ask a question

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each