Earlier quoted context omitted.
If you steer it and build a stdlib, you get better outcomes. See https://ghuntley.com/stdlib
> I'm hesitant to give this advice away for free With all the layoffs in our sector, I wouldn't blame you if you didn't share it, so thank you for sharing.
My LLM codegen workflow
71–80 of 168 posts
Re: My LLM codegen workflow
#72Earlier quoted context omitted.
> I'm hesitant to give this advice away for free With all the layoffs in our sector, I wouldn't blame you if you didn't share it, so thank you for sharing.
How does it help and not make it worse when it comes to layoffs?
Meaning, if ghuntly can provide more value to an employer than a different employee, who doesn't know this trick, it's the other employee that's getting laid off, not ghuntly. In sharing this trick, it means that ghuntly now also has to outperform the other employee who also has this trick.
Re: My LLM codegen workflow
#73Re: My LLM codegen workflow
#74I ended up finishing my side projects when I kept these in mind, rather than focusing on elegant code for elegant code's sake.
It seems the key to using LLMs successfully is to make them create a specification and execution plan, through making them ask /you/ questions.
If this skill--specification and execution planning--is passed onto LLMs, along with coding, then are we essentially souped-up tester-analysts?
Re: My LLM codegen workflow
#75The first part of this, where you told it to ask YOU questions, rather than laboriously building prompts and context yourself was the magic ticket for me. And I doubt I would have stumbled on that sorta inverse logic on my own. Really great write up!
The example prompts are useful. They not only reduced the activation energy required for me to start installing this habit in my personal workflows, but also inspired the notion that I can build a library of good prompts and easily implement them by turning them into TextExpander snippets.
P.S.: Extra credit for the Insane Clown Posse reference!
Re: My LLM codegen workflow
#76Has anyone who evolved from a baseline of just using Cursor chat and freestyling to a proper workflow like this got any anecdata to share on noticeable improvements? Does the time invested into the planning benefit you? Have you noticed less hallucinations? Have you saved time overall? I’d be curious to hear because my current workflow is basically 1. Have idea 2. create-next-app + ShadCN + TailwindUI boilerplate 3.…
Aider + AI generated maps and user guides for internal modules has worked well for me. Just today I did my own version of a script that uses Gemini 2 Flash (1M context window) to generate maps of each module in my codebase, i.e. a short one or two sentence description of what's in every file. Aider's repo maps don't work well for me, so I disable them, and I think this will work better. I also have a scratchpad file…
How do do that? Especially the AI generated map?
Re: My LLM codegen workflow
#77Has anyone who evolved from a baseline of just using Cursor chat and freestyling to a proper workflow like this got any anecdata to share on noticeable improvements? Does the time invested into the planning benefit you? Have you noticed less hallucinations? Have you saved time overall? I’d be curious to hear because my current workflow is basically 1. Have idea 2. create-next-app + ShadCN + TailwindUI boilerplate 3.…
If you steer it and build a stdlib, you get better outcomes. See https://ghuntley.com/stdlib
Re: My LLM codegen workflow
#78Re: My LLM codegen workflow
#79Earlier quoted context omitted.
Hahahaa well that might work but I wish you could just say `aider --go-hog-wild`
fwiw it doesn't/that was a joke. In some cases the LLM will suggest running a command that doesn't terminate (eg npm run dev to run a webserver), so it'd get stuck running that command just waiting for user input.
Re: My LLM codegen workflow
#80Spelling nit: “Over my skis” ~ in over my head. “Over my skies” ~ very far overhead. In orbit maybe?