5x Your Cursor AI Coding Quality With These Pro Tips

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 พ.ย. 2024

ความคิดเห็น • 41

  • @YifanBTH
    @YifanBTH  หลายเดือนก่อน +5

    Cursor has so many amazing features that I just keep discovering new ones the more I use it. If you do want me to share more about the tools that I've used during this video, comment below. I'll make sure to add that to my to-do list for future videos.
    Happy Shipping!

  • @victormuchina4865
    @victormuchina4865 27 วันที่ผ่านมา +5

    Broo this is what will replace coding tutorials in 3 years time 🤫,if you have found this or have gotten yourself here, just know you are ahead of the curve. Thanks a lot Yifan

  • @henriquegarcez8403
    @henriquegarcez8403 28 วันที่ผ่านมา +3

    Nicely done, bro! Your Cursor Tips videos are the only ones that have helped me develop quickly in large-scale projects so far. Keep it up!

    • @YifanBTH
      @YifanBTH  28 วันที่ผ่านมา

      Really glad you feel that way. More videos coming right up ;)

  • @dawid_dahl
    @dawid_dahl หลายเดือนก่อน +5

    This is starting to become my favorite channel for Cursor/AI dev videos! 🤩👏🏻
    I’m also a working developer so this kind of actual stuff is great. A Cursor-dev adding *actual tests* to assure the code performs according to specification, feels like a light breeze on a hot summer’s day. 😍
    Keep up the AI-some work!

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +1

      Such kind words! I must keep up the good work.

  • @sensenerd7740
    @sensenerd7740 หลายเดือนก่อน +6

    Keep creating best practice content for Cursor.

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน

      Already in the works!

  • @sooooorunnnnndfac9wsl
    @sooooorunnnnndfac9wsl หลายเดือนก่อน +4

    Nice one! Keep up the good work Yifan

  • @krq999
    @krq999 11 วันที่ผ่านมา +2

    I accidentally closed composer and it cleared the changes. The versions're messed up and I'll have to start over. This is happening not for the first time smh Guess I have to commit changes when everything works

    • @YifanBTH
      @YifanBTH  8 วันที่ผ่านมา

      I use version control as a safe guard. I would be interesting to see Cursor directly integrate in Git as their check point feature rather than implementing one themselves.

  • @Got_It_From_Ebay
    @Got_It_From_Ebay หลายเดือนก่อน +1

    Another great video, man! I like seeing how people use Cursor for actual feature building and real world type uses vs the "how to build some stupid simple app with Cursor" that everyone else seems to be cranking out.
    I'm going to use the whole "breaking a feature down into actionable steps with AI and feeding those steps back into the AI" thing on the project I'm working on. 👍

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +2

      Glad you feel that way. That's what I thought we were missing on TH-cam so wanted to add some different perspective.

  • @loombra01
    @loombra01 หลายเดือนก่อน +5

    Great content! Can you make a video on using Cursor for Test (creating test cases, running the tests)? I can’t find any video on that?

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +2

      That's one of the ideas I've got in the pipeline. I'll add your vote to it.

    • @loombra01
      @loombra01 หลายเดือนก่อน +1

      @@YifanBTH :)

    • @yurijmikhassiak7342
      @yurijmikhassiak7342 หลายเดือนก่อน +2

      Another thing is working with actual DB like supabase. In most of my cases and what I see online, you have 5x more bugs when AI starts incorporating backend and DB. It's interesting if we can add rules and docs to avoid most of those mistakes.

    • @yurijmikhassiak7342
      @yurijmikhassiak7342 หลายเดือนก่อน +1

      Also, what is easiest for AI in terms of DB integration. I tried Refine + Hasura. It is hard to move fast with it.

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +2

      @@yurijmikhassiak7342 i've been using it with Knex.js without big issues (though my schema is small atm). think the key is to make sure that AI gets given the model / schema definition in the context as well as the documentation. Think this is probably another full video in itself.

  • @ContentVibeio
    @ContentVibeio หลายเดือนก่อน +2

    Can you share you prompt for make smaller steps please. Great channel Subscribed

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +1

      Here's the example I used in the video:
      In order to make the AI work better, I want you to break down my feature implementations into smaller and manageable steps (separate prompts) that are easy to test, easy to validate that I can commit working code using Git. For the following feature, help me work on this breakdown and give me the individual prompts that I can give to the AI for each bit of the implementation, one by one.

    • @Yotrek
      @Yotrek หลายเดือนก่อน

      @@YifanBTHI think the pain point OP is referencing is TH-cam is great for discoverability [ of your channel] but not great for following your steps and learning to code using AI. Maybe you could use AI to convert your videos into .md/stackoverflow type answers so viewers can learn best practices.

  • @iLOGICNOTE
    @iLOGICNOTE หลายเดือนก่อน +2

    哈哈. 厉害 .我要分享给更多英语基础不好的同学.

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +1

      感谢支持!我是不是以后得做个中文配音版本了😂

    • @iLOGICNOTE
      @iLOGICNOTE หลายเดือนก่อน +2

      @@YifanBTH 那样就不能一次听力,两样学习了。我个人就喜欢目前这样的状态,超轻松,超阳光,超和气。

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +1

      @@iLOGICNOTE 完美!感谢支持

  • @hausplayer
    @hausplayer หลายเดือนก่อน +2

    my biggest problem with cursor right now is that it doesnt know a single thing about the project when asking him the stuff. i have to tell him every single thing that has been done for it to work well

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +1

      There are two things that you can leverage here to automatically shove in context:
      - @codebase - let Cursor figure out all of the code context it needs to include given your current chat or composer query
      - .cursorrules file at the project root - context that gets shove into every single one of the AI queries.

    • @j0hnc0nn0r-sec
      @j0hnc0nn0r-sec หลายเดือนก่อน +1

      The @codebase directive eats up your calls quickly. I’ve used cursor for 2mo now. The tab thing gets in the way a lot. I think aider+cline+new gh copilot are a much better combo and more bang for your buck. Great video though. I will try your techniques before canceling cursor

    • @hausplayer
      @hausplayer หลายเดือนก่อน

      @@YifanBTH thank you, going to try it

    • @hausplayer
      @hausplayer หลายเดือนก่อน

      @@j0hnc0nn0r-sec you paying for cursor? cant you just create a new email and use the 200 premium responses every time?

    • @cgintrallying
      @cgintrallying 27 วันที่ผ่านมา +1

      @@YifanBTH .cursorrules IS a pretty underrated possibility to express your general 'wishes' to your AI-Partner.
      Additionally there is a "Rules for AI" in the General Cursor Settings that will be used within cursor.
      .cursorrules is still taken into account additionally if present

  • @Daed2001
    @Daed2001 หลายเดือนก่อน +2

    Can you share your cursor rules

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +1

      I use this template for and added project context to it. cursor.directory/nextjs-react-typescript-cursor-rules

  • @tradingwithwill7214
    @tradingwithwill7214 หลายเดือนก่อน

    I find all these options confusing adding reference to docs, codebase, current code file, URLs to documentation, notepads, etc.

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +1

      they definitely don't make it easy, atm ai are still just tools and still requires expertise to leverage them well.

  • @wonderfulcxm
    @wonderfulcxm หลายเดือนก่อน

    这不是艾伦吗? 开心麻花开除了吗,现在也改行写代码了吗😂

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน

      这年头喜剧不容易做,还是敲代码简单点😂

  • @SamiSabirIdrissi
    @SamiSabirIdrissi หลายเดือนก่อน

    Yo Send us that sample .cursorrules file

    • @YifanBTH
      @YifanBTH  หลายเดือนก่อน +2

      You can find lots of templates here: cursor.directory/
      You can also checkout my other Cursor video that talks about it in more detail: th-cam.com/video/puKVeqChsgM/w-d-xo.html