Show HN: Timesaving Hotkey for Working with LLMs for Software Development
Basically, you install AutoHotKey 2.0 from here:
Then create a file somewhere called CtrlCapsLockPaste.ahk with the contents:
#Requires AutoHotkey v2.0
^CapsLock::
{
Send "+{Enter}"
Send "I need you to give me ABSOLUTELY COMPLETE revised code without ANY placeholders that preserves ALL existing functionality!"
Send "+{Enter}"
}
Then you can also copy this .ahk file to your Startup folder: C:\Users\<your_name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Then, whenever you ask something to Claude or ChatGPT about revising a function or method or something like that, you can quickly press Ctrl + CapsLock and it will add that message.I find that when I don't use this sort of wording constantly, they give me annoyingly incomplete code with tons of placeholders, or simplify my existing code by focusing just on the part they are trying to revise. This can be super annoying because you might not realize at first that they simplified your code (I've started always checking the line count before and after). This command greatly reduces that tendency with Claude3.5 Sonnet and ChatGPT 4o, and if it takes half a second to add, you're more likely to just do it out of habit and avoid wasted time and wasted Claude inference requests, which are annoyingly limited per period of time.