Use AI Like a PRO! Transform Your Project Codebase into Context!

Use AI Like a PRO! Transform Your Project Codebase into Context!
Content
00:00:00 -> 00:00:16 : bunch of times we are asking AI to do something with our code but he doesn't have a clue what are we talking about so if I ask him here what technologies am I using and I copied a simple server
00:00:13 -> 00:00:29 : action from nextjs he knows it's typescript he knows that it's some kind of database access Library so this is rizle he doesn't know that this is nextjs he doesn't know anything else
00:00:25 -> 00:00:45 : because he doesn't have a context and that is the moment where this tool comes in handy it's called git ingest and we can here just copy paste our git repository and it's going to provide us
00:00:42 -> 00:01:01 : with a context that we can put to any llm so I'm going to my orcish meal planner application and I'm going to copy and paste the GitHub repository URL and I'm going to click injust so now
00:00:58 -> 00:01:15 : that one is being processed and here we get the complete breakdown of our project so first thing that we get is summary where we have the repo name how many files have been analyzed and we
00:01:12 -> 00:01:30 : even have the estimated tokens in order for some llm to process this entire code base then we have the exact directory structure which is really awesome I would even put this in some read me file
00:01:28 -> 00:01:48 : and finally we get here the files content which is basically the content of every file in our codebase so here we are getting everything from package to CSS to all the JS TSX all the files that
00:01:45 -> 00:02:04 : are inside the codebase we have them here in just one textual file and what to do now we just click download or copy all what do you prefer I'm going to press download and that one is
00:02:01 -> 00:02:20 : downloading the textual file so here it is we have the structure we have everything the contents and everything so here you can see that we have the readme file and so basically every file
00:02:15 -> 00:02:36 : from codebase we have in just one txt file so now we can get back to our chat GPT and here we can upload from computer this orev meal planner txt file and we can ask him based on
00:02:34 -> 00:02:55 : this which Technologies am I using in this project and enter so now he has a context here from this txt file and he knows exactly what's going on so he knows it's nextjs
00:02:52 -> 00:03:09 : 15.1.2 he knows the versions he knows the Technologies he knows absolutely everything I don't know why am I using us react query have to delete that and this one is really amazing and Chad GPT
00:03:06 -> 00:03:22 : here is only used for an example what I would recommend is to put it as context inside of your cursor AI or GitHub co-pilot or whatever you're using to write code this one really comes in
00:03:20 -> 00:03:37 : handy if you have some problem some type error or whatever kind of problem that you can have on your project this is going to provide context to that Ai and he's going to solve everything much much
00:03:34 -> 00:03:47 : better and in the end of this video I wanted to ask you what do you think about my new design for thumbnails I'd really like to hear your opinion so tell me in the comments below
You may also check:A curated list of awesome GPTs apps and plugins for you
You may also check:How to use AI to create your dream website in only a few clicks
You may also check:Should You Use AI for Content? Pros, Cons & Expert Tips
You may also check:Build ChatGPT-like Chatbots With Customized Knowledge for Your Websites
You may also check:AI Tool for Text to Diagrams and Inforgraphics