WEBVTT

00:00:00.000 --> 00:00:14.125
Blogcode is the most powerful AI coding tool ever made. But what if I told you you're using it all wrong? In this video, I'm gonna show you five hidden features that if you start using right now, you'll 10 x your coding speed overnight.

00:00:14.365 --> 00:00:15.645
Let's get into it.

00:00:18.125 --> 00:00:31.780
The first hidden feature I'm gonna show you is a slash command that made my workflow so much easier. For those that don't know, a slash command in Claude code is a quick command you can give with a slash that automatically runs some sort of process.

00:00:32.020 --> 00:00:37.940
The one we're about to build will automatically update all our documentation in the app. Having up to date documentation

00:00:37.940 --> 00:00:41.460
in Claude code makes your AI agent so much more powerful

00:00:41.540 --> 00:01:05.890
because it has full context every time it works. So it is critical that you constantly have your documentation up to date. The issue is it takes a lot of time to do. But with this slash command I'm about to show you, it makes it so much easier. So I want you to open up ClawdCode inside cursor and put this prompt in. This will build the slash command for you. Build me a slash command in Claude code that automatically updates all my read me's documentation

00:01:05.890 --> 00:01:09.810
and Claude dot m d files every time a successful change happens.

00:01:10.050 --> 00:01:30.750
We're gonna hit enter on that, and what's gonna happen now is Claude will actually build out the slash command for us, save it to our directory, and now all we'll need to do is do slash update docs every time we make a change, and it'll update all our documentation for us. Alright. So Claude built out the slash command for us. So now all I need to do is do slash

00:01:30.910 --> 00:01:38.830
update docs, hit enter on that, and it's going to use our new slash command that we just built to update all our documentation.

00:01:38.830 --> 00:02:08.440
So as you can see, it's in my stock portfolio app I built. It's going through, and it's creating documentation on every single component built. And the advantage here is next time I put in a prompt to change something in the app, the AI agent will have all the documentation to pour through so it knows exactly how to work on the app. This is gonna make it so the coding AI agent does is 10 times more accurate, and we get way better result. Alright. Looks like the slash command finished. Let's check out what it did here. Here's the new readme file it automatically generated.

00:02:08.945 --> 00:02:13.105
It updated the read me with every single feature, every single technology,

00:02:13.105 --> 00:02:36.555
how it runs so that next time we build anything out or maybe we even go to a new AI agent, it will have full context on how our app works. The results you're gonna start getting just by this one prompt I gave you is going to make your app so much better and and building with Claude code so much nicer. So that one feature is gonna speed up your coding, increase the quality of your app, but wait till you see this next one. It's It's even better.

00:02:39.195 --> 00:02:44.715
The next hidden feature I'm gonna talk about just released a couple days ago, and that is ClaudeCode

00:02:44.715 --> 00:02:45.915
subagents.

00:02:46.155 --> 00:03:00.210
What subagents allow you to do is instead of coding with one agent in ClaudeCode, which can take a tremendous amount of time, you now can create sub agents that can handle multiple tasks at once that will speed up your entire coding workflow.

00:03:00.530 --> 00:03:15.595
You can have sub agents for UI design, sub agents for creating content, sub agents for managing your database. There are so many options. But I figured out the best way ever to create sub agents inside a Claude code. So down below is a link to the documentations

00:03:15.595 --> 00:03:22.140
for Claude code sub agents. What you wanna do is this. You wanna copy the entire page of that documentation.

00:03:22.140 --> 00:03:43.355
Once you've copied the page, we're gonna go back into Claude code, and then you're gonna wanna put in this prompt, which it'll be down below. I link all the prompts down below and all the links you need. There is a new feature in Claude code called sub agents. The documentation is pasted in down below. Please go through it and determine what would be the best sub agents you can create for my app that would increase the quality of the app and speed up coding time.

00:03:43.515 --> 00:03:45.595
Then implement the new sub agents,

00:03:45.755 --> 00:03:46.715
documentation,

00:03:46.715 --> 00:03:57.010
and then paste in the documentation we just copied over and hit enter. Now ClaudeCode's gonna go in, determine what are the best sub agents for your app that will speed up your coding,

00:03:57.170 --> 00:04:14.235
and then create them for you. Instead of you having to do all the decision making around which sub agents you should create and googling a 100 different things, you just give it to Claude Code, and Claude Code will determine the best sub agents customized for your app. Then when you give Claude Code any prompts after this, it will automatically

00:04:14.235 --> 00:04:26.050
spin up the best sub agents for you to speed up your coding time. Alright. Looks like it completed the agents. Let's see what it built. So, again, as a reminder, this is a stock tracking portfolio app I built.

00:04:26.290 --> 00:04:39.835
So it looks like it built me five different sub agents you can spin up at any time, a UI designer that'll be totally in charge of designing the UI and making sure it looks beautiful, build responsive mobile first components, implement interactive data visualizations.

00:04:39.915 --> 00:04:43.035
I love that. It has a portfolio optimizer

00:04:43.115 --> 00:05:04.685
that will actually optimize everything in my portfolio to make sure I'm investing in the right stocks. I like that. A dividend analyst that will analyze all my dividends as I'm building out different parts of my application. A data importer that will handle importing all the data into my app. An API integrator, this is a big one because my app uses a ton of APIs.

00:05:04.925 --> 00:05:14.620
It has an entire agent specifically for APIs. That's amazing. That's the power of using sub agents and having Claude code determine which sub agents to build.

00:05:14.940 --> 00:05:27.105
It will make sure it builds the best sub agents for your app that you might not have even thought of. Again, this is another feature that will make it so you code so much faster and get way better results from your agents. So that feature is gonna have a tremendous

00:05:27.105 --> 00:05:31.665
impact on how you code, but this next one's also gonna have a massive one as well.

00:05:34.385 --> 00:05:56.125
Not many people know about Claude code hooks, but they are a massively helpful feature inside Claude code. The way Claude Code hooks work is hooks are called anytime you take an action in your app. So you can set up hooks anytime you make any code changes, anytime you commit code. Anything you could think of, you can set up hooks that automatically take actions inside

00:05:56.205 --> 00:05:58.845
code. We are going to set up a hook now

00:05:59.005 --> 00:07:06.575
that will commit your code to GitHub anytime you make a successful change in your code without errors. And this hook is so helpful because this is the way you can have check points inside of Claude code. One of the best parts about Cursor is you can automatically rewind anytime the Cursor agent messes up. That doesn't exist in Claude code. But setting up this hook basically recreates that functionality so that anytime you wanna rewind, you can. By having the Claude code hook automatically commit to GitHub every time you make a code change, you can at any time rewind your Git so that your code goes back to a working state. This is so helpful to do. So here's the prompt you wanna use. I'll put this down below as well. Feel free to pause anytime. Just copy paste this and get this done with me. I wanna set up a Claude code hook that automatically commits the code to GitHub anytime we make a successful code change without errors. Please set up this Claude code hook. I'm gonna hit enter on that. Claude code's gonna set up the hook for us. That's the most beautiful part about using Claude code is you don't need to set anything up yourself. You just have the AI agent do it for you. So it's going to set up the hook for us now. It's actually going into the Anthropic

00:07:07.110 --> 00:07:25.675
documentation so we can understand hooks better. I'm gonna hit enter on that. And now it's gonna go and set that hook up for us. It will automatically commit our code every time we make a change. So it's so much easier to rewind if we ever make an error. Alright. Looks like it's done. It triggers after every success or write, edit, or multi edit. So anytime

00:07:25.755 --> 00:07:29.835
the AI agent makes changes to the code, it will automatically

00:07:29.835 --> 00:07:43.550
commit our code to GitHub. So if we mess anything up or we make a mistake, we can easily rewind by rewinding to a past GitHub commit. This is gonna make coding with Claude code so much easier, and we did it again just with one single prompt.

00:07:46.110 --> 00:08:01.215
The next hidden feature I wanna talk about is the different think modes. For those who don't know, there are several different think modes in Claude code that will make it work extra hard and give you better code if you use them correctly. For instance, you can tell Claude code to think,

00:08:01.615 --> 00:08:48.555
think hard, and ultra think. If you tell Claude Co. Just to think, it will give you pretty good results. But if you tell Claude Co. To ultra think, it will give you amazing results. So if you use this strategically and you use ultra think for your extra complex tasks, you give yourself a better chance of one shotting your code and getting way better results on your first try. Let me give you an example. So I'm gonna have Claude Code build me an ultra stylized first person shooter using three JS in a single file. This will just show us kinda baseline the way Claude code works on just normal think mode. I'm gonna hit enter on that. It's gonna build me a three d first person shooter. We'll see what this looks like on just normal think mode. And then right after, I'll show you what ultra think looks like to see how much better it performs. Alright. So it finished building on the regular think mode. Let's check this out.

00:08:48.955 --> 00:08:59.835
Pretty good app. Right? The enemies are these orange balls going around in this purple. I I like it. It's solid. I mean, it's kinda plain. Right? It's got the purple pillars and pink balls.

00:09:00.450 --> 00:09:35.960
It's fine. There's not much to it. The bolts are kinda cool, but let's see what this looks like now on ultra think mode. So I'm using the exact same prompt, except this time I'm gonna tell it to ultra think. So I'm gonna hit enter on this, and we're gonna see what kind of result it comes up with, this time using ultrathink mode, which makes it work even harder on our complex problems. And, again, all you need to do to use ultrathink mode is just tell Claude code ultrathink inside your prompt, and it's gonna give you way better results. Now this could take a little bit longer, so you don't wanna use UltraThink with every single prompt you give. But on those really strategic and complex

00:09:36.040 --> 00:09:57.940
tasks you wanna give Claude code, you wanna tell it UltraThink. So as you can already see here, it build out its to do list for what it's gonna do for this app, and there's, like, way more to do items. So it really is taking every step ultra carefully to make sure it gives us really amazing results. Alright. Looks like it's done here. Let's check this out to see what we got. As you can see, the world looks a a good a

00:09:58.020 --> 00:10:09.065
good bit cooler. You can see there's a lot of different other items inside of the map. Oh, you can see there's, like, walls too. You can see every time I fire, there's, like, sparks that come out of the gun.

00:10:09.385 --> 00:10:25.050
And the enemies, instead of just being a ball, have these, like, rotating three d shapes in them. And when I destroy them, they, like, explode, which is really cool. You can see there's an ammo counter in the bottom right. You can see there's a score in the top left. There's a lot more colors. There's a lot more stylized effects.

00:10:25.450 --> 00:10:45.425
This is the advantage of UltraThink. It just spends a lot more time giving you a lot better results. Anytime you do something complex in Claude code, you wanna make sure you tell Claude code to UltraThink about it so you get better code and better results. So those last four features are amazing and make your coding a lot better, but this last one I'm gonna show you is mandatory.

00:10:48.305 --> 00:11:08.665
Everyone should do this. This is so easy to implement, and this is having the correct Claude rules. So Claude rules are rules that are sent to the agent every time you run any prompt. It's included in the context every single time. So if you create a Claude dot m d file, you can put in whatever rules you want that are sent to the agent every time.

00:11:09.065 --> 00:11:45.895
These are the nine rules I use in my claw dot m d file with every single app I built, and this gives me so much better results inside a clawed code. I'm gonna paste these down below, so feel free pause here, grab them, and put them into your own Claude dot m d file. But just going over them real quick, basically, what they cover is making sure Claude thinks in tasks and to do lists. So every time it does anything, it breaks it down into do lists, which makes it so that you get way better results, and it also makes sure that it isn't lazy. So all fixes need to be validated in the code, and all fixes impact as little code as humanly possible

00:11:46.135 --> 00:12:04.745
so that you don't run into any of those dreaded error rabbit holes where you just make errors worse and worse and worse. These nine rules I have here made my results from Claude code so much better. And just by copying and pasting them into your own Claude dot m d file, you'll instantly get better results from Claude. So those five secret features

00:12:04.825 --> 00:12:19.770
have made my results in Claude code so much better and have made my workflow so much faster. Go back, rewind, make sure you copy and paste all the prompts from down below, implement them into your own Claude code today. I promise your results will be unbelievable.

00:12:19.770 --> 00:12:34.135
If you learned anything at all, leave a like. Make sure to subscribe and turn on notifications. All I do is make incredible videos on building things with AI. Also, I livestream every single Thursday at 4PM eastern, so check out that as well, and I'll see you in the next
