LongCut logo

Claude Sessions Ep 1: How Claude is making it 100x easier to code

By Berto Mill

Summary

Topics Covered

  • AI Vibe Coding Replaces Handwriting Code
  • Parallel Agents Accelerate Development
  • Inline Comments Demystify Code
  • Claude Executes Terminal Commands
  • Screenshots Unlock Interface Help

Full Transcript

Hey everyone. Today I'm going to be showing you how to use Claude Code. This

is the first session of Claude sessions where I'm going to be walking you through different use cases for using Claude and how to supercharge your productivity. So let's just get started.

productivity. So let's just get started.

Now what you're going to need to use is an IDE. So you're an IDE is basically a

an IDE. So you're an IDE is basically a code editor. So you're going to want to

code editor. So you're going to want to use cursor download cursor or download VS Code. You could also use your just

VS Code. You could also use your just your terminal, but I would recommend in installing one of the above first. So,

what I'm going to do do now is I'm going to open up cursor and we're going to open up a new project. Open. And so, the first thing

project. Open. And so, the first thing here is open project and we're going to call it getting started with Claude

Claude code.

And we're going to open up open this up.

And so the next thing you're going to want to do is you're going to want to go to the terminal. And there's a terminal here. Also, if you don't see it here,

here. Also, if you don't see it here, you can press command plus the back tick key. And it will open. It will take you

key. And it will open. It will take you right to the terminal. Some people it might show up like near the bottom like this. But what I did Yes. So like this.

this. But what I did Yes. So like this.

But what I did was I just dragged mine up here because I just find it's a lot easier to use clawed up here. So just by doing a Google search, you can figure out how to install cloud code. So I'm

just going to go to Google and I'm going to just search how to use cloud code or how to install claude code. And it'll

just it'll give you if you just go to claude and it'll give you the setup instructions. It's super simple. So it

instructions. It's super simple. So it

will tell you these are all the instructions for Mac. So you can just copy and paste this into your terminal and it will get you started right away.

Another thing you can do too is if you already have some sort of AI thing open like this one here, you can just say like how do I install cloud code

in my terminal and then so any I don't have the thing here the premium for cursor but anyone who is using an AI model will be able to do it. So next

thing we're going to do once it's installed is we're just going to type claude.

And so what that does is that gets us started in the claude chat. And so if you used an AI chat before, I'm sure like a lot of us have, this is basically the AI chat that you're going to be

doing all your coding in. On the left side here, you see these are all your files. We have zero files in this folder

files. We have zero files in this folder right now. And on the bottom, you could

right now. And on the bottom, you could see things like your output, debug, console, code reference. I don't use it very much, so I'm just going to close that. And so for this one, what I like

that. And so for this one, what I like to do is for the very first prompt, just giving a whole bunch of context. So, we

just ask something like I'm going to turn on my microphone and I'm going to say, "Hey Claude, I am looking right now to build a really simple app to

demonstrate to my audience how to use cloud code, how it could be valuable in in your industry, and maybe just some really cool use cases to demonstrate the power of cloud code.

So while that's loading I will I just wanted to note that just a general trend in that everyone is becoming a AI vibe coder and even the best engineers in the

world are tweeting things like oh I don't even check I don't even review the code anymore I'm just using claude and making sure that it works. Obviously you

have to review the code but the general trend is that even the best coders are no longer handwriting code. So right

here it's one really nice thing about cloud code is it's you can actually select between these options. So you can just using the up and down arrow key you can just select like different things.

What's your framework and also if you go to number four you could say I don't know recommend something for me and then submit answers. And basically

what it's going to do here is it's gonna it's going to start working and you're going to see files start popping up here.

Another thing that I'll mention too is if you add a new terminal and drag, you can actually expand this terminal here to show the names of them. This one will continue to work. So I'm going to let

that continue to work. Oh, so it's asking some more questions. It's pretty

much given us some things here to consider.

and I'll just be like, "Yeah, that sounds good."

sounds good." [clears throat] And basically, it's going to go ahead and go to work and start building that here. What you can do is you can also type Claude and you can start a new chat. And since these

both say no. Oh, I'm just going to click enter. So, while that's doing its

click enter. So, while that's doing its work, you can start a new chat. But what I found is a super important pattern is to name these chats cuz you're going to forget what Claude was working on for

different things. So for this one, we

different things. So for this one, we could call this one general. What I did was I just pressed enter. I clicked on the the terminal and pressed the return key for Mac. And then you can rename it.

And so for this one, you maybe want to make it called research because what we're going to do is we're going to do some research on cloud code. So, I'm going to turn my mic

cloud code. So, I'm going to turn my mic on again, and I'm going to say, "Hey, Claude, I'm looking to do to I'm doing this demonstration for my audience, and I want to add some fun

facts about Cloud Code to my app. Can

you do some deep research and find some fun facts about Cloud Code?"

So, it's going to go to work here. And

this is the research agent going to work. You can also give it another icon.

work. You can also give it another icon.

So if you want to just give this research one like the at symbol, you can find it there. So this one's going to work here. I got my research agent. And

work here. I got my research agent. And

what you can do is you could just keep adding Claude code agents and that's what just makes it so phenomenal. Claude

does take 3, four minutes sometimes to do a to get a response. So I just have so many chats organized with different things and they're all working on different elements of claude code. And

so as you know not noticed you don't have to be a coder at all to to be doing this. If you do are interested in

this. If you do are interested in getting in the weeds and understanding what this code is all about. You can go command A which means select all or you could just like copy and paste

everything or sorry copy everything. And

then if you type command K this will allow you could say things like add comments for understanding.

And basically what the what it will do is make edits in line. So it can make so I found this really valuable. You can

just read like all of these green lines are comments on how the code works. So

like only considers top level functions JavaScript. So being someone who didn't

JavaScript. So being someone who didn't come from a technical background, I really like this ability to see the comments going on. So now we're just going to continue to accept edits. You

can see it's building everything here on the left. We're going to our research

the left. We're going to our research agent. Just found a whole bunch of

agent. Just found a whole bunch of things. And then you could say, "Hey,

things. And then you could say, "Hey, that's amazing. Can you please add this

that's amazing. Can you please add this to a plain text file in my folder, please?"

please?" And so what it's doing is it's going to take this research that it found and it's going to put it into just a plain text file and then we could reference that in other chats as well. So I'm just

going to accept all these. So going back to our general, it's continuing to work.

You can see how many tokens it used. So

you can just say amazing.

How do I start it?

And one interesting pattern that I was talking to a business owner the other day and he said, "How do I get this live on online and I could show him I could

sit down with him and step step it through with him?" But what I just recommended is just saying ask Claude like how do I do this in Claude? So for

example, great question. Here's how to run it. Make sure you're in the right

run it. Make sure you're in the right directory and then run this file. And

then one amazing thing too is if you don't want to I if you don't want to do it, you can just say please run it for me. Cloud basically has access to your

me. Cloud basically has access to your terminal. So it can run things like with

terminal. So it can run things like with your consent obviously, but it's going to show it's going to make it easier for you to run it. And so it's going ahead

and running it for us right here. Back

on the research page, you can see that it's done. It's done its work. Oh, right

it's done. It's done its work. Oh, right

here. Do you want to create Claude Funf facts? And you can see here there's

facts? And you can see here there's three options. Yes, yes, allow edits.

three options. Yes, yes, allow edits.

And then another option. So, I'm just going to do two. Yes, allow edits during this session. And that's going to mean

this session. And that's going to mean that it doesn't have to always like verify with you if it's done. So, I'm

just going to delete these side chats while we go.

So, it's going here. Excellent. The tool

successfully documented your codebase.

Please run it for me. Done. Here's what

was generated.

The documentation is ready. Here's what

it found. Let me show you a preview of the example. Oh, so for this app, it

the example. Oh, so for this app, it just made a a file of summarizing our codebase, which is still pretty

valuable, but I think what I wanted to do is create a visual app of this. And

so what it can do as well is it can create like web apps and iOS apps, which is probably the most valuable thing because if you want to share it with people, you're going to have to put it online.

One of the best ways that I found to host apps online is Versel. I use Versel for almost anything. GitHub for sure. If

you're going to publish on the app store, you got to go through Xcode, which is it's a whole other thing, but I didn't know how to do it. And within a day, I asked Claude to walk me through it, and it did. So, this is the pattern

I use a lot. If I have questions about how to post to Xcode, I'll just create a new chat. I'll call it Xcode

new chat. I'll call it Xcode and I'll go Claude and I'll go walk me through the steps to publishing on Xcode. One very important thing is if if you're having trouble in

a certain interface, you can just do a screenshot. So, I'll just do a

screenshot. So, I'll just do a screenshot and then you can paste the screenshot in here and boom, you got your image. You can also paste the image

your image. You can also paste the image in here and then drag your image into the chat. One interesting pattern is the

the chat. One interesting pattern is the fact that you can always drag files into the chat and get started.

So just building this web visual for visual documentation generator and it's going ahead and building it. Cloud code

is super powerful. It can build many different apps for you. One thing that's really helped me get better at it is just constantly coming back to it, figuring out what I could use for this

to help me. And the more often you use it, the better you get with it. And so

we'll just let this load. Another thing

that is very powerful about Claude is the fact that you can use the Claude app. So a lot of times I'll just go to

app. So a lot of times I'll just go to claude.ai and I will just be using the Claude app for more. This is more for planning

for more. This is more for planning things like plan product requirements document for an app. I'm thinking

of and so I'll use this one for planning. I find that for whatever

planning. I find that for whatever reason the general claude app is better at just being more general conversation and strategy whereas the claude code seems to be a lot better with things

like coding and building. So, I would highly recommend using both apps. In the

next session, we'll go through skills and using the MCP and the SDK. But for

now, this is just a general intro into Cloud Code and how it works. I hope you liked it. I hope this is very helpful.

liked it. I hope this is very helpful.

Please try to run it, do some things. If

you're interested and want to share what you built in the comments, that would be really cool. I'd love to see what you've

really cool. I'd love to see what you've built and maybe we could collab on some things. So, thank you so much for

things. So, thank you so much for watching this and I'll see you in the next one.

Loading...

Loading video analysis...