by ksd482 · 3mo ago · 0 comments
This is why in order to understand new codebase or to ramp up to new projects, I use AI to generate a textbook style reading material for me along with "verify yourself" types of exercises along the way. Then I print them on a paper and read it using a pencil/pen and take notes.
Because of my math training, I am in the habit of slowing down to read textbook style texts which helps.
This is fascinating. Any chance you have your workflow or prompts documented and would be willing to share them?
> Introduce me to these concepts layer by layer with a textbook style introductions.
> Use color coded boxes etc. just like in textbook to highlight important details.
> Along the way, give me exercises to do myself that would test my understanding so far.
> Put everything in a local HTML file that I can open in my browser.
> The entire textbook should be printable so format accordingly.
That's about it.
The HTML part is important. Earlier I used to document in markdown format, but I found claude/chatgpt does a far better job with formatting and colors in HTML instead. Plus, you can open the HTML file in a browser and refresh when it makes changes.
Another thing: the HTML is built gradually. I keep asking AI some follow up questions and I instruct it to keep the HTML up todate.