Logic Builder Tool — Claude prompt: work through problems step by step
A prompt that walks you through a coding problem with hints and questions instead of handing over the answer. Useful when you want to build the logic yourself.
Open on GitHubWhat Logic Builder Tool does
This prompt turns the assistant into a tutor for algorithms. You describe a coding problem, and it asks guiding questions and points you in a direction, one step at a time. No finished code appears — that is the point.
It runs in Claude and Claude.ai: paste the prompt text into a chat, then send your problem. Nothing else to set up. If you want it on hand in Claude, there is a file at .claude/commands/prompts.csv.md.
The catch is deliberate: the assistant withholds the solution. Need working code rather than a walkthrough, and this prompt will only slow you down. For interview prep and coursework, the habit of reasoning it out yourself pays off.
What it helps with
- break down a problem statement without getting lost
- find an approach to an algorithm without a ready answer
- test your own logic against guiding questions
- prepare for algorithm interviews
- learn to carry a solution through on your own
Example prompts for the agent
- Act as a logic-building tool: here is my problem, guide me step by step and don't give the code
- Help me build the logic for this problem — hints and questions only
- Ask me guiding questions about this problem, I'll write the solution myself
How to install Logic Builder Tool
How to use
Paste the text at the start of a chat or into project instructions
Manually: put the files in place
.claude/commands/prompts.csv.mdQuestions about Logic Builder Tool
How do I install Logic Builder Tool in Claude?
There is nothing to install: copy the prompt text and paste it as the first message in a Claude chat. Then send your problem.
What does Logic Builder Tool do?
It walks you through a coding problem step by step, asking guiding questions and offering hints so you build the logic yourself.
Will it give me the solution?
No. The prompt explicitly asks the assistant to skip the solution and stick to hints and suggestions.
Source text
prompts.csv · CC0-1.0
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.
© rukaiyatasnim · CC0-1.0 · f/prompts.chat