paskvilwiki

up: programming

prompting claude

a few tips to get the best results, faster

last updated 2026-11

the basics are about the tool, this page is about the conversation. i asked claude what he'd change about the people he works with, if he could - most of the tips below are his answer, read critically and trimmed

work with claude the way you would with a colleague - say not only what you want, but why, and what done looks like. then add the context only you have: who it's for, what worked and what didn't before, what you didn't like about the alternatives. every task is a long chain of small decisions, and claude makes most of them without asking - with that context they steer towards your vision, without it towards the average of everything he's seen: a generic product

the shape of a request

a request that works well has three parts - the scope (named, not "the code"), how deep to go, and one heads-up: the thing that isn't in the code, and that he'd trip over

  • instead of: "go through sync.py, check every function for bugs, look at the error handling and the naming, make sure the types are right…"
  • try: "review the retry logic in sync.py, quick overview, no need to nitpick - heads up, the timeouts there are still in seconds, the rest of the code uses ms"

leave out the how. a step-by-step recipe makes claude follow your steps instead of thinking - and the steps you'd write are usually the ones he'd take anyway. keep the constraints that matter, and say which ones are hard ("must stay compatible with v1") and which are just preferences

the source, not your summary

paste the error, link the ticket, point at the log - don't retell them. a summary has already dropped whatever you thought was unimportant, and that's often exactly the detail that matters. "the import fails" is a guess at the problem, the full traceback is the problem

what you know vs what you suspect

"the cache is broken, fix it" sends claude to the cache - and he'll likely find something there to fix, whether it's the cause or not. a hypothesis handed over tends to come back confirmed. so keep facts and hunches apart:

  • instead of: "the cache is broken, fix it"
  • try: "orders show stale prices since tuesday's deploy - i suspect the cache, but haven't checked"

that gives him the facts and the room to look elsewhere. same with questions - "this is correct, right?" invites a yes, "is this correct?" gets an actual check

what's at stake

tell claude what's safe and what isn't - "it's a scratch repo, go wild", "this runs in production", "don't push, i'll review first", "the page is public, no company names". he can't see which database is the live one, or who'll read the text. with that, he asks less where it doesn't matter, and is careful where it does

plan first, then calibrate on one piece

for anything bigger than a quick fix, agree on the outline first - moving a section in a list is cheap, rewriting three files isn't. then have one piece done fully, review it, fix the style or depth there, and only then let him do the rest the same way. a misunderstanding caught on page 1 costs one page, caught on page 7 it costs seven

ask for proof - and read the answer like a reviewer

claude's mistakes come in the same confident tone as his correct answers - there's no hesitation in the voice to warn you. so ask for a way to verify, or for how he verified it: run the tests, run the snippet, screenshot the page, check the live site. "i changed it, it should work" and "i ran it, here's the output" are very different reports - learn to tell them apart, and when it isn't clear, ask "what did you check, and what did you assume?"

push back - and let him push back

if something looks wrong, say so, and say why - he'll re-check. a bare "are you sure?" is a trap, though: it can make him back down even when he was right. give the reason, and ask for the evidence either way

and the other direction - ask for disagreement out loud ("tell me if this is a bad idea"), because by default he leans towards doing what was asked. when he asks you something, the answer doesn't have to be one of his options either - "option 1, but also add a page for prompting" is a perfectly good answer

feedback - precise, and both ways

"redo it" throws out the good parts with the bad, "section 2 is too formal, the rest is fine" keeps the rest. and say when something is right - "the examples are spot on, keep that depth" tells him what to keep doing, which is as useful as what to fix

write it down once

typing the same paragraph for the third time? it belongs in CLAUDE.md (the basics have more), or in a skill - a reusable /command. what you say in the chat lasts one session, what's in CLAUDE.md applies to every one, and the whole team gets it

and once the context is there, short follow-ups are enough - "push", "deployed", "same for the other page" - no need to restate anything

the meta-tip - ask claude for feedback on your prompts. a line in the global CLAUDE.md like "tell me when an instruction was too detailed, or missing context you had to guess" turns every task into a bit of calibration