Prompt chaining when models reason for themselves: when do you still need it?
When to split work into a chain of API calls, the draft–review–refine self-correction pattern, chain design principles and the cost and latency risks.
Prompts, shortcuts and saving tokens. · 10 articles
When to split work into a chain of API calls, the draft–review–refine self-correction pattern, chain design principles and the cost and latency risks.
From Claude 4.6, last-turn prefill returns a 400. Migration by purpose: JSON, classification, preambles, continuations, context reminders.
MT-Bench found LLM judges agree with humans over 80% of the time. Three grading modes, four biases and a sample judge prompt.
Over-engineering, coding to the tests, leftover temp files, guessing at unread code: four coding-agent habits and Anthropic's sample fixes.
Treat Claude like a brilliant new hire: be explicit, explain why, give 3–5 examples, separate parts with XML tags, set a role, say what to do.
Three official techniques for long inputs: documents above the query, XML-wrapped documents with sources, and quote extraction before the task.
Agents read web pages, emails, GitHub issues… and any of that text can carry hidden instructions. Simple defensive rules for Claude Code users.
A community skill that strips greetings, articles and filler from Claude’s replies while leaving code unchanged. It saves output tokens, but isn’t for every situation.
A search box that calls the API on every keystroke floods the server with half-typed queries. Debounce waits until you’re done.
“0ms” doesn’t promise to run now — only to queue early. Microtasks always go before macrotasks.
Try another keyword or clear the topic filter.
Follow binhAI via RSS (Feedly, Inoreader, Slack…) to get new articles as soon as they’re published.