Siddhartha Ghosh Posted on Jul 13 AI asked for one broken JavaScript line. I handed it to the whole kitchen.😅 More tokens, more chaos. Now I share only the bug, error, and goal. What’s your best trick for giving AI the right context? Sign in to view linked content Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand CodeKitHub CodeKitHub CodeKitHub Follow Building free developer tools and practical web utilities. Sharing lessons about coding, SEO, and building products from scratch. Work Founder of CodeKitHub Joined Jul 13, 2026 • Jul 13 Dropdown menu Copy link Hide Great point. I’ve also found that giving AI too much context can sometimes make the result worse. For debugging, I usually try to provide only the essential parts: the error message the expected behavior the smallest reproducible example A focused context often helps AI reason better than a huge codebase dump. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Great point. I’ve also found that giving AI too much context can sometimes make the result worse.
For debugging, I usually try to provide only the essential parts:
A focused context often helps AI reason better than a huge codebase dump.