pull down to refresh
55 sats \ 0 replies \ @padreug 27 Jan \ on: How I Use Claude In Cursor devs
Playing with cursor was a whole lot of fun. Did some really magical stuff, especially with the quasar component library which is well-documented so it seems like Claude is able to reference it dependably.
With newer languages, e.g., Julia, I found it to be pretty rough around the edges, using a lot of deprecated methods and just overall not quite knowing what it was doing (although doing it confidently haha).
When I started trying to wrangle really large projects and getting lazy because it seemed to just work, then I would find myself in situations where the code totally diverged away from anything recoverable 😆 or "spaghetti'd" out of control 🍝 Then you just find yourself in this loop where it's just running around in circles. It's tempting to just accept its code, but don't be lazy... read it over and make sure it makes sense in the context of your project.
As with all projects, it's really good to sit down and write out the basic structure and steps of what you are trying to accomplish. That way you can create well-defined prompts to ask it to do and stay on task. I'm sure there are a whole bunch of preliminary steps that one can take to really make there flow smoother. E.g., in the case of a Vue project, I found myself having to remind it often to stick to vue3 composition API using <script setup>, or whichever convention you prefer.
Also noticed sometimes I just wanted it to restructure my code without actually changing anything, but it would take the liberty to do so anyway. So, gotta be careful with that.
Does anyone know of a way to just feed an entire documentation site into an AI and just have it always cross-reference the most up to date docs?
Also anyone here on the vim train ? The day I can converse with AI and not have to lift my hands from the keyboard... i may never unplug from that matrix 😆 it's really a fun experience to build stuff virtually.
Another thing AI has been great for is teaching me proper project scaffolding. A lot of my programming skills are from application-based learning, and damn was I causing myself a lot of headache not setting up tests and following other best practices. Force pushing to main like a total savage 😆