Plan Before Writing Code
Have a coding agent inspect the code, ask clarifying questions, and present a plan without changing files until you approve.
Example outputs
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