Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Have been using gpt4 and just copying all the relevant files in with something along the lines of

``` Given these X files, help me assess how best to implement feature Y. Ask any clarifying questions that may assist with writing a best practice solution. *File 1* *File 2* *File 3* ... ```

If the context length is a problem I'll use claude-100k.

Pretty much always results in good quality code.

I'll then typically open a new window context and get it to review according to best practices highlighting missing e.g. error handling or possible edge cases.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: