1

What's the best AI coding workflow?

Profile picture
Software Engineer at Taro Community8 days ago

there are a lot of very experienced/cracked SWE's here, and i wanted to ask what AI coding workflow you have found to be best / most efficient? i currently only use claude for coding support but i know there are a lot of tools like cursor, cline, etc - especially when you are working in large codebase where context is very important

would love to see everyone's AI workflow :)

102
8

Discussion

(8 comments)
  • 4
    Profile picture
    ML Engineer
    8 days ago

    I've tried like almost every single one and heres my "AI stack"

    • cursor for coding. I would not use any other IDE simply because of cursor's copilot. its too good. I havent tried cline/windsurf/aider. but cursor works good enough and their agent is getting nicer and nicer. Plus they now have MCP support so it can talk to your database. It's agent works pretty well where it can iteratively figure out what files to read and what changes to make and recursively keep making changes till tests pass

    • cursor also has AI in the terminal so i use that a lot

    • Perplexity for all questions I have. pplx has access to the internet + gives access to claude/oai/R1/o3. I use this for coding mostly when I need to update code based on latest documentation or might expect that the answer is in a stackoverflow thread

      The caveat with perplexity is that its not good for general purpose coding questions. They kinda nerf it because they reduce the temp so using native claude is almost always better. But I havent ran into too many issues because cursor is good enough for most things for me

    • I am a huge huge huge fan of perplexity. It's literally learning on steroids for me

    I actually setup a perplexity space for Taro, so basically it only looks at jointaro.com links which is pretty cool

    Everything else has a free usage limits that's good enough for one off queries I might have.

    Claude is best for coding/writing

    o3 mini for hard problems

    gemini from ai studio for long context problems (think 30 pages of PDF papers)

    grok from xAI is meh

    • 0
      Profile picture
      Tech Lead @ Robinhood, Meta, Course Hero
      6 days ago

      I actually setup a perplexity space for Taro, so basically it only looks at jointaro.com links which is pretty cool

      Dang, please share this if possible. This is legit.

    • 0
      Profile picture
      Software Engineer [OP]
      Taro Community
      6 days ago

      could you also share how you use perplexity? I got free perplexity pro for a year (university deal) but when i use it i get wrong results (eg it searches the Internet and gives back wrong result). If internet search is the only reason we use perplexity, can't we just use chatgpt pro? It comes with search. Also despseek allows search as well. Maybe i am not using perplexity right because i have seen many people praising it.

    • 2
      Profile picture
      ML Engineer
      5 days ago

      Free pro is so cool. I find that using claude gives most accuracy in terms of results. GPT4 is close second. I very rarely actually get hallucinations. Here is my system prompt:

      Do not provide wrong answers ever. donot hallucinate. ensure your answers are well reasoned, accurate, and well explained
      
      Make sure to pay close attention to provided documents (if given) when providing responses
      
      When asked software questions make sure to always use best practices and use the modern/latest approach and avoid legacy options
      

      This works quite well, and even Apple actually uses this technique to literally tell the LLM not to hallucinate (https://appleinsider.com/articles/24/08/06/discovered-apple-intelligence-prompts-show-apples-attempt-at-preventing-ai-disaster)

      When accuracy is important turn on Pro mode, it works even better at reducing hallucinations

      If internet search is the only reason we use perplexity, can't we just use chatgpt pro?

      Tbh you totally can, but the reason I use pplx is because I prefer claude over GPT for almost everything and using perplexity gives me access to all LLMs in 1 subscription so its just convenient and if a new LLM comes out from claude I can start using immediately and dont need to buy a new subscription. Especially with R1/o3 mini the deep search is actually quite good and it can look at docs and answer questions

      But I do think the search quality from perplexity is far superior. I've replaced 95% of my google searches with perplexity. For example I had a tea bag and I wanted to know how much caffeine it had, so I snapped a pic and asked perplexity in pro mode and it found the caffeine content and it makes it easy to double check

      @Alex in terms of spaces Here's my workflow:

      https://www.perplexity.ai/hub/faq/what-are-spaces

      I just create a space in perplexity, upload slides, set the domain to "jointaro.com" so it ONLY looks at taro links + slides from courses

    • 2
      Profile picture
      ML Engineer
      5 days ago
    • 1
      Profile picture
      Software Engineer [OP]
      Taro Community
      5 days ago

      damn this is super helpful. thanks Sai!

    • 0
      Profile picture
      ML Engineer
      3 days ago

      by the way OP, you can get windsurf for 7$/mo if you sign up with your student account

      It's very similar to cursor (some say its better). Highly recommend!!!

  • 1
    Profile picture
    Tech Lead/Manager at Meta, Pinterest, Kosei
    8 days ago

    I'm also personally interested in this, I'm having a hard time keeping up with all the tools.

    I use Gemini extensively for debugging, and using Cursor more now to write code. I haven't used Claude very much, and I don't even know what cline is...

    I use Warp as my terminal on Mac, which is much better than the default terminal.

    I talk about when/how to use AI here: A Framework For Integrating AI Into Your Workflow