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

Yes, I think you could use HumanifyJS for that. The way it works is that:

1. I ask LLM to describe what the meaning of the variable in the surrounding code

2. Given just the description, I ask the LLM to come up with the best possible variable name

You can check the source code for the actual prompts:

https://github.com/jehna/humanify/blob/eeff3f8b4f76d40adb116...



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

Search: