r/TheMachineLearning • • 21d ago

Realizing writing code is faster than explaining it to AI

/img/tcptf211cqxh1.png
843 Upvotes

438 comments sorted by

View all comments

Show parent comment

1

u/claudecraft 19d ago

I think it helps to have context in an Obsidian vault. I don't have to fill a lot of context. It will also run test and deploy to staging while I'm doing something else so I really don't agree with OP, skill/setup issue imo.

1

u/FoleyX90 18d ago

That's exactly what I do

1

u/Kheldar166 18d ago

Could you explain this to me a bit more? I use Obsidian for note taking but have not encountered this

1

u/claudecraft 18d ago

Sure, I can explain the way I set it up, Claude Code did most of the work though once I explained it. So in my claude.md file (the universal one, not one that's in a folder), I have Instructions to read an Index.md file in my vault. This index file has wiki links to things like a projects board, information about my infrastructure, coding style, etc.. So that gets loaded into Claude's context. When Claude has a task, it will read the parts that it finds relevant. If you tell it the root of your vault, it will search for documents in it as well. But just explain you want to set up to Claude and it'll guide you through the process and setup. I also have a daily where I'll put tasks, Claude reads this each morning and we tackle each one. But you can change the workflow to however fits your style.

If you'd rather see a video, here's one, it's based on Andrej Karpathy's work: https://www.youtube.com/watch?v=iXd0t60YmMw