Comment Comment by jehna1 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 code2. Given just the description, I ask the LLM to come up with the best possible variable nameYou can check the source code for the actual prompts:https://github.com/jehna/humanify/blob/eeff3f8b4f76d40adb116... parent jehna1 2 years ago
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...