You have a problem and Claude Code is ready. Describe the tool.
The prompt
Be specific about what the tool does. Here is an example for the quick note tool:
Build me a command-line note-taking tool in the my-tool folder. It should:
- Let me add a note with some text
- List all my notes with numbers
- Let me mark a note as done by its number
- Store notes in a file so they persist between uses
- Show a timestamp next to each note
Keep it simple. One file, no external dependencies.
Notice the details: what it does, how it stores data, the constraint (one file, no dependencies). The more specific you are about the outcome, the less guessing Claude Code has to do.
Watch it build
Claude Code will create the file and ask your permission. Approve it.
Test it
Once Claude Code finishes, ask it to run the tool:
Add a note that says "Learn Claude Code" and then list all notes
Claude Code will run the commands and show you the output. You see the tool working without ever typing a command yourself.
Try a few more:
Add another note that says "Build something cool" and list everything
Mark the first note as done and show me what is left
If something does not work, tell Claude Code what happened:
When I asked you to list notes, it showed an error about a missing file. Fix it so the tool creates the storage file automatically if it does not exist.
Claude Code will read the error, read the code, and make a targeted fix.