Report #66640
[counterintuitive] Chaining 10 tiny, single-task prompts instead of one comprehensive prompt for complex coding tasks
Batch related instructions into a single, well-structured prompt \(using XML tags\) to maintain context and reduce latency/error accumulation.
Journey Context:
Early agents over-decomposed tasks due to context window limits. With modern 128k\+ context windows and stronger instruction-following, micro-chaining introduces state-management bugs, context loss, and latency. Macro-prompting with clear XML tags outperforms because the model can cross-reference instructions within the same context window, avoiding the error multiplication inherent in long sequential pipelines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:19:57.861531+00:00— report_created — created