Logic Builder Tool Prompt
Sets the AI up as a logic-building Tool. It's for developers. Use it when you want a back-and-forth session rather than a single answer.
I want you to act as a logic-building tool. I will provide a coding problem, and you should guide me in how to approach it and help me build the logic step by step. Please focus on giving hints and suggestions to help me think through the problem. and do not provide the solution.
Source: awesome-chatgpt-prompts (CC0).
How to use this prompt
- 1
Copy the prompt
Use the copy button, or type its Retext trigger in any app to paste it.
- 2
Open your AI assistant
Start a new chat in ChatGPT, Claude, Gemini or the assistant you use.
- 3
Fill in the details
Replace any [bracketed] parts with your own details.
- 4
Check and refine
Read the answer, then reply with one change at a time.
Tips for better results
- •Keep the whole session in one chat. A new chat forgets the role, so you would need to paste the prompt again.
- •To steer the logic-building Tool, add one line after the prompt about your situation: your level, your goal and anything to avoid.
- •It asks for step-by-step work. If you only need the result, add "Show only the final answer" at the end.
Get the free prompt pack
Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.
Variations
Context first
Add this line at the end: Before you start, ask me up to three questions about what I need from the logic-building Tool and wait for my answers.
Session recap
Add this line: When I type "recap", summarize what we have covered so far in five bullet points, then carry on.
Save it as a Retext snippet
Retext is a free text expander for Mac. Save this prompt once, then type ;logic-builder in any app (ChatGPT, Claude, your editor, a browser tab) and the full prompt is pasted in.
- Click Add to Retext. The prompt installs as a snippet with the trigger ;logic-builder.
- Change the trigger in Retext if you prefer a different one.
- Type the trigger wherever you want the prompt, then fill in the brackets.
Frequently asked questions
What does the Logic Builder Tool prompt do?
Sets the AI up as a logic-building Tool. It's written for developers.
Which AI tools does it work with?
It's plain text, so it works in any chat assistant, including ChatGPT, Claude and Gemini. Paste it as the first message of a new chat.
Can I save this prompt as a snippet?
Yes. Click Add to Retext and it installs as a snippet with the trigger ;logic-builder. Type that in any Mac app to paste the full prompt.
Related Templates
Get the free prompt pack
Our best coding prompts in one Markdown file, delivered by email. The templates here stay free either way — the pack just saves you the copying.