News for hackers. Stuff that matters.
Re:Show HN: How to Build a Coding Agent (free workshop) by meander_water on Sunday August 24, 2025 @01:51AM (#45001737)
> 1. Analyze the codebase by finding and reading relevant files 2. Create a script to reproduce the issue 3. Edit the source code to resolve the issue 4. Verify your fix works by running your script again 5. Test edge cases to ensure your fix is robust

This prompt snippet from your instance template is quite useful. I use something like this for getting out of debug loops:

> Analyse the codebase and brainstorm a list of potential root causes for the issue, and rank them from most likely to least likely.

Then create scripts or add debug logging to confirm whether your hypothesis is correct. Rule out root causes from most likely to least by executing your scripts and observing the output in order of likelihood.

Re:Show HN: How to Build a Coding Agent (free workshop) by afro88 on Sunday August 24, 2025 @03:30PM (#45006960)
Does this mean it's only useful for issue fixes?
Re:Show HN: How to Build a Coding Agent (free workshop) by regularfry on Sunday August 24, 2025 @05:43PM (#45008077)
A feature is just an issue. The issue is that the feature isn't complete yet.
Re:Show HN: How to Build a Coding Agent (free workshop) by afro88 on Monday August 25, 2025 @07:04AM (#45012539)
> 2. Create a script to reproduce the issue

Surely that would send it a bit off the rails to implement a feature?

Re:Show HN: How to Build a Coding Agent (free workshop) by regularfry on Monday August 25, 2025 @10:47AM (#45014461)
Sounds like an acceptance test to me!
Re:Show HN: How to Build a Coding Agent (free workshop) by afro88 on Monday August 25, 2025 @04:00PM (#45018294)
True. I guess I should actually try it out :)