Hacker News new | past | comments | ask | show | jobs | submit login

I do something similar with a script. Don’t know if anything about my approach could improve yours, but I’m also curious if you have any suggestions?

- Mine prepends the result with the output of running `tree -I node_modules --noreport` before any other content. This informs the LLM of the structure of the project, which leads to other insights like it will know which frameworks and paradigms your project uses without you needing to explain that stuff. - Mine prepends the contents of each included file with “Contents of relative/path/to/file/from/root/of/project/filename.ts:” to reinforce the context and the file’s position in the tree.






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

Search: