Wot I read

Wot I read

266 bookmarks
Custom sorting
My LLM codegen workflow atm
My LLM codegen workflow atm

Harper Reed's LLM Codegen Workflow

Overview

TL;DR: Brainstorm spec → plan a plan → execute using LLM codegen in discrete loops

Two Development Scenarios

Greenfield Development

Brand new projects starting from scratch

Legacy/Modern Code

Iterating on existing codebases


Greenfield Process

Step 1: Idea Honing

  • Use conversational LLM (ChatGPT 4o/o3) for iterative brainstorming
  • Ask for one question at a time to develop thorough specifications
  • End with comprehensive developer-ready specification
  • Save as spec.md

Key Prompt: > "Ask me one question at a time so we can develop a thorough, step-by-step spec for this idea..."

Step 2: Planning

  • Pass spec to reasoning model (o1, o3, r1)
  • Create detailed step-by-step blueprint
  • Break down into small, iterative chunks
  • Generate series of prompts for code-generation LLM
  • Save as prompt_plan.md and todo.md

Two Planning Approaches:

  • TDD Prompt: Test-driven development focused
  • Non-TDD Prompt: Standard implementation approach

Time Investment: ~15 minutes total

Step 3: Execution

Claude Method:

  • Pair programming with claude.ai
  • Manual copy/paste workflow
  • Use repomix for debugging when stuck
  • Author handles initial boilerplate and tooling setup

Aider Method:

  • Automated "cookie clicker" experience
  • Hands-off testing and debugging
  • Direct prompt execution

Workflow Steps:

  1. Set up repo boilerplate
  2. Execute prompts iteratively
  3. Test and verify functionality
  4. Debug if needed
  5. Repeat until completion

Non-Greenfield Process

Context Generation

  • Use repomix tool to package codebase
  • Generate output.txt with code context
  • Utilize mise task runner for automation

Available LLM Tasks:

  • Clean bundles
  • Copy buffer bundle
  • Generate code reviews
  • Generate GitHub issues
  • Generate missing tests
  • Generate README

Execution Methods:

Same Claude and Aider approaches as Greenfield, but task-focused rather than project-wide planning


Utility Prompts

Code Review

"You are a senior developer. Your job is to do a thorough code review..."

GitHub Issue Generation

"Review this code, and write out the top issues you see..."

Missing Tests

"Review this code, and write out a list of missing test cases..."


Key Challenges & Solutions

"Getting Over Your Skis"

  • Problem: Easy to lose track and get ahead of yourself
  • Solution: Aggressive tracking and planning documentation
  • Recommendation: Take breaks when overwhelmed

Solo Development Limitation

  • Current workflows are single-player experiences
  • Team collaboration with LLMs remains problematic
  • Merges and context sharing are complicated

Downtime Management

While waiting for LLM token processing:

  • Start brainstorming next project
  • Listen to music
  • Play games
  • Social interaction

Results & Benefits

Productivity Gains:

  • Built numerous projects: scripts, apps, CLI tools
  • Works across multiple programming languages
  • Empty hack to-do list due to rapid execution
  • Exploration of new programming languages and tools

Time Efficiency:

Planning phase takes only ~15 minutes, enabling rapid project initiation and completion

·harper.blog·
My LLM codegen workflow atm
David Guetta Answers DJ Questions | Tech Support | WIRED
David Guetta Answers DJ Questions | Tech Support | WIRED
World renowned DJ David Guetta joins WIRED to answer the internet’s burning questions about DJing. How do you learn to match beats like a DJ? What is it so p...
·youtube.com·
David Guetta Answers DJ Questions | Tech Support | WIRED
The Legend of Ouninpohja: Rallying's Greatest Stage
The Legend of Ouninpohja: Rallying's Greatest Stage
The legend is back... so a special stage deserves a special film. Join Colin Clark and Heikki Kovalainen as they take you on a jounrey through one of rallyin...
·youtube.com·
The Legend of Ouninpohja: Rallying's Greatest Stage
Release v4.6.0 · sourcebot-dev/sourcebot
Release v4.6.0 · sourcebot-dev/sourcebot
What's Changed Added Ask Sourcebot - ask questions about your codebase in natural language. Get Markdown responses with inline citations. Bring your own LLM API key. hero_demo_v3...
·github.com·
Release v4.6.0 · sourcebot-dev/sourcebot
Advice for time traveling to medieval Europe
Advice for time traveling to medieval Europe
Watch this video before visiting the European Middle Ages.SUGGESTED READING• Steven A. Epstein, An Economic and Social History of Later Medieval Europe, 1000...
·youtube.com·
Advice for time traveling to medieval Europe
source code analysis of Amazon Kiro
source code analysis of Amazon Kiro
It's another day, and another coding tool has been brought to market that uses ripgrep under the hood. This time it's Kiro by Amazon. What follows below is an analysis of this coding agent: Study the source code in this folder. Your task is to create an extensive writeup about
·ghuntley.com·
source code analysis of Amazon Kiro
Why WWE Doesn't Feel Special Anymore
Why WWE Doesn't Feel Special Anymore
The rise and fall of the WWE. We all remember the special feeling growing up watching the WWE in the 90s and 2000-2010s, fanboying over legends like Stone Codl Steve Austin, The Rock, Undertaker, John Cena, Batista, Edge, Randy Orton & Shawn Michaels. But today.. the magic is gone. Despite having a talented roster including names like Roman Reigns, Cody Rhodes & Seth Rollins, why does the WWE feel so different today? Watch this video to find out the 6 key factors. Timestamps 0:00 Intro 1:36 Chapter 1 3:42 Chapter 2 6:15 Chapter 3 8:24 Chapter 4 10:39 Chapter 5 12:27 Chapter 6
·youtube.com·
Why WWE Doesn't Feel Special Anymore
I used o3 to profile myself from my saved Pocket links
I used o3 to profile myself from my saved Pocket links
Welp, Pocket shuts down tomorrow despite our pleas for it to stay. While migrating1 all of my saved articles, I noticed that I’ve got almost 900 saved articles spanning nearly 7 years. That’s a goldmine of stuff-I-like data! Some quick analysis using xsv2: 𝄢 unzip pocket.zip && xsv headers part_000000.csv 1 title 2 url 3 time_added 4 tags 5 status 𝄢 xsv sample 1 part_000000.csv | xsv flatten title The Uncertain Future of American Libraries url https://mek.
·noperator.dev·
I used o3 to profile myself from my saved Pocket links
We've Issued Our First IP Address Certificate
We've Issued Our First IP Address Certificate
Since Let’s Encrypt started issuing certificates in 2015, people have repeatedly requested the ability to get certificates for IP addresses, an option that only a few certificate authorities have offered. Until now, they’ve had to look elsewhere, because we haven’t provided that feature. Today, we’ve issued our first certificate for an IP address, as we announced we would in January. As with other new certificate features on our engineering roadmap, we’ll now start gradually rolling out this option to more and more of our subscribers.
·letsencrypt.org·
We've Issued Our First IP Address Certificate
One of my all-time favorite type of videos is pre-fame bands playing their extremely famous songs to a tiny room of people, because they're not yet known. by @JeremiahDJohns(Jeremiah Johnson 🌐) | Twitter Thread Reader
One of my all-time favorite type of videos is pre-fame bands playing their extremely famous songs to a tiny room of people, because they're not yet known. by @JeremiahDJohns(Jeremiah Johnson 🌐) | Twitter Thread Reader
One of my all-time favorite type of videos is pre-fame bands playing their extremely famous songs to a tiny room of people, because they're not yet known. A thread of some examples: Bastille playing Pompeii in what looks like someone's living room: https://t.co/aYd0Nq4Fyf
·twitter-thread.com·
One of my all-time favorite type of videos is pre-fame bands playing their extremely famous songs to a tiny room of people, because they're not yet known. by @JeremiahDJohns(Jeremiah Johnson 🌐) | Twitter Thread Reader
How I Made Google’s “Web” View My Default Search
How I Made Google’s “Web” View My Default Search
Forget AI. Google just created a version of its search engine free of the extra junk it has added over the past decade-plus. You just need one URL parameter.
·tedium.co·
How I Made Google’s “Web” View My Default Search
Tiny Undervalued Hardware Companions
Tiny Undervalued Hardware Companions
After playing/working with computers for more then 25 years I started to appreciate small but handy valuable stuff – like adapters or handlers or … yeah – all kind of stuff. With …
·vermaden.wordpress.com·
Tiny Undervalued Hardware Companions
The flip phone web: browsing with the original Opera Mini
The flip phone web: browsing with the original Opera Mini
Opera Mini was first released in 2005 as a web browser for mobile phones, with the ability to load full websites by sending most of the work to an external server. It was a massive hit, but it started to fade out of relevance once smartphones entered mainstream use. Opera Mini still exists today as a web browser for iPhone and Android—it's now just a tweaked version of the regular Opera mobile browser, and you shouldn't use Opera browsers. However, the original Java ME-based version is still fu
·spacebar.news·
The flip phone web: browsing with the original Opera Mini
OwnYourSwarm
OwnYourSwarm
OwnYourSwarm is a service which sends your Swarm checkins to your own website via Micropub.
·indieweb.org·
OwnYourSwarm
The Unlikely Rise of the Indian Space Program
The Unlikely Rise of the Indian Space Program
Sign up to Brilliant https://brilliant.org/RealEngineering/ Watch this video ad free on Nebula: https://nebula.tv/videos/realengineering-the-unlikely-rise-of-the-indian-space-program Get your Real Engineering shirts at: https://standard.tv/collections/real-engineering Credits: Producer/Writer/Narrator: Brian McManus Head of Production: Mike Ridolfi Editor: Dylan Hennessy Writer/Research: Josi Gold Animator: Eli Prenten Animator: Stijn Orlans Sound and Production Coordinator: Graham Haerther Sound: Donovan Bullen Thumbnail: Simon Buckmaster Head of Moral: Shia LeWoof Select imagery/video supplied by Getty Images Thank you to AP Archive for access to their archival footage. Music by Epidemic Sound: http://epidemicsound.com/creator Thank you to my patreon supporters: Abdullah Alotaibi, Adam Flohr, Henning Basma, Hank Green, William Leu, Tristan Edwards, Ian Dundore, John & Becki Johnston. Nevin Spoljaric, Jason Clark, Thomas Barth, Johnny MacDonald, Stephen Foland, Alfred Holzheu, Abdulrahman Abdulaziz Binghaith, Brent Higgins, Dexter Appleberry, Alex Pavek, Marko Hirsch, Mikkel Johansen, Hibiyi Mori. Viktor Józsa, Ron Hochsprung
·youtube.com·
The Unlikely Rise of the Indian Space Program
VR Design Unpacked: The Secret to Beat Saber’s Fun Isn’t What You Think
VR Design Unpacked: The Secret to Beat Saber’s Fun Isn’t What You Think
Our series Inside XR Design highlights and unpacks examples of great XR design. Today we’re looking at Beat Saber (2019) and why its most essential design element can be used to make great VR games that have nothing to do with music or rhythm. Editor’s Note: It’s hard to believe Beat Saber was first released in Early Access seven …
·roadtovr.com·
VR Design Unpacked: The Secret to Beat Saber’s Fun Isn’t What You Think