videoqa-mvp-data / transcripts /eMZmDH3T2bY.json
mehta233's picture
Add files using upload-large-folder tool
0b3f6d4 verified
{
"video_id": "eMZmDH3T2bY",
"language": "en",
"language_probability": 0.9991791844367981,
"segments": [
{
"start": 0.11,
"end": 4.03,
"text": "I don't write code by hand anymore, I just ask Claude."
},
{
"start": 4.03,
"end": 6.51,
"text": "And in this video, I partnered with Anthropic"
},
{
"start": 6.51,
"end": 8.87,
"text": "to break down three things that I wish I knew"
},
{
"start": 8.87,
"end": 11.39,
"text": "about vibe engineering before I started."
},
{
"start": 11.39,
"end": 14.95,
"text": "Starting with number one, how to create apps from scratch."
},
{
"start": 14.95,
"end": 17.11,
"text": "Head to the link in the description below"
},
{
"start": 17.11,
"end": 19.63,
"text": "and let's install Claude code together."
},
{
"start": 19.63,
"end": 21.27,
"text": "First up for Mac users."
},
{
"start": 21.27,
"end": 24.31,
"text": "From the homepage, use this copy button"
},
{
"start": 24.31,
"end": 28.11,
"text": "to copy the bash script and run it in a terminal window."
},
{
"start": 28.11,
"end": 32.07,
"text": "But for Windows users, that script looks like this"
},
{
"start": 32.07,
"end": 34.13,
"text": "and it's actually PowerShell."
},
{
"start": 34.13,
"end": 35.91,
"text": "Now I ran into problems with this script"
},
{
"start": 35.91,
"end": 39.67,
"text": "so I'm gonna show you another approach using NPM."
},
{
"start": 39.67,
"end": 42.75,
"text": "If you don't have NPM installed or you're not sure,"
},
{
"start": 42.75,
"end": 46.07,
"text": "head over to nodejs.org."
},
{
"start": 46.07,
"end": 49.63,
"text": "Click this big green button that says get nodejs,"
},
{
"start": 49.63,
"end": 51.47,
"text": "scroll down and click the green button"
},
{
"start": 51.47,
"end": 53.07,
"text": "to download the installer."
},
{
"start": 53.07,
"end": 55.75,
"text": "After you successfully install node,"
},
{
"start": 55.75,
"end": 58.23,
"text": "you should be able to open a command prompt,"
},
{
"start": 58.23,
"end": 62.43,
"text": "type in node-v and see the node version returned"
},
{
"start": 62.43,
"end": 63.87,
"text": "that you have installed."
},
{
"start": 63.87,
"end": 67.79,
"text": "And then you use NPM install to install Claude code."
},
{
"start": 67.79,
"end": 69.55,
"text": "You can copy this exact line"
},
{
"start": 69.55,
"end": 72.35,
"text": "from the description under the resources section."
},
{
"start": 72.35,
"end": 75.43,
"text": "Then type Claude and press enter to set it up."
},
{
"start": 75.43,
"end": 77.03,
"text": "First, choose your text style."
},
{
"start": 77.03,
"end": 78.95,
"text": "I'm gonna stick with dark mode."
},
{
"start": 78.95,
"end": 81.31,
"text": "Then choose how you wanna set up your subscription."
},
{
"start": 81.31,
"end": 83.23,
"text": "I'm gonna stick with my Claude account."
},
{
"start": 83.23,
"end": 86.19,
"text": "Go ahead and sign in and I'll see you on the other side."
},
{
"start": 86.19,
"end": 87.59,
"text": "Once you've connected your account,"
},
{
"start": 87.59,
"end": 90.43,
"text": "success means you see something like this."
},
{
"start": 90.43,
"end": 93.31,
"text": "Now, Claude code is great inside of a terminal window"
},
{
"start": 93.31,
"end": 96.35,
"text": "but it's even better when it's integrated with your IDE."
},
{
"start": 96.35,
"end": 98.31,
"text": "For that reason, I'm gonna take you through"
},
{
"start": 98.31,
"end": 101.71,
"text": "using Claude code inside of Visual Studio code."
},
{
"start": 101.71,
"end": 103.63,
"text": "Now, two more quick things for setup"
},
{
"start": 103.63,
"end": 105.71,
"text": "and then let's jump into our first app."
},
{
"start": 105.71,
"end": 107.91,
"text": "First, let's set up a get repo."
},
{
"start": 107.91,
"end": 110.39,
"text": "You can do that by opening a new terminal window"
},
{
"start": 110.39,
"end": 113.03,
"text": "by pressing Ctrl, Shift, Backtick."
},
{
"start": 113.03,
"end": 115.75,
"text": "Then type get and knit and then press enter."
},
{
"start": 115.75,
"end": 118.47,
"text": "Next, we need a command prompt to open Claude code."
},
{
"start": 118.47,
"end": 120.11,
"text": "So click on this drop down arrow"
},
{
"start": 120.11,
"end": 122.11,
"text": "and then click on command prompt."
},
{
"start": 122.11,
"end": 124.63,
"text": "Then type in Claude and press enter."
},
{
"start": 124.63,
"end": 127.95,
"text": "Press one to trust this directory and off we go."
},
{
"start": 127.95,
"end": 131.15,
"text": "Let's create a chore app to manage chores at the office."
},
{
"start": 131.15,
"end": 132.95,
"text": "Here are the requirements."
},
{
"start": 132.95,
"end": 136.63,
"text": "Show a calendar view like Outlook to see all our current chores."
},
{
"start": 136.63,
"end": 138.51,
"text": "Allow adding and removing chores,"
},
{
"start": 138.51,
"end": 140.91,
"text": "make chores recurring on a schedule,"
},
{
"start": 140.91,
"end": 142.71,
"text": "assigning chores to team members"
},
{
"start": 142.71,
"end": 145.27,
"text": "and adding and removing team members."
},
{
"start": 145.27,
"end": 149.11,
"text": "So what do you write inside this little box to get started?"
},
{
"start": 149.11,
"end": 152.51,
"text": "If you were vibe coding, you might put in something like this."
},
{
"start": 152.51,
"end": 154.99,
"text": "Make a chore app to manage chores at the office."
},
{
"start": 154.99,
"end": 156.43,
"text": "It should show a calendar view"
},
{
"start": 156.43,
"end": 159.27,
"text": "like Outlook to see all our current chores."
},
{
"start": 159.27,
"end": 161.59,
"text": "But these product requirements are really vague"
},
{
"start": 161.59,
"end": 163.71,
"text": "and it misses out on technical requirements"
},
{
"start": 163.71,
"end": 165.95,
"text": "like the tech stack or the storage solution"
},
{
"start": 165.95,
"end": 167.35,
"text": "or even the architecture,"
},
{
"start": 167.35,
"end": 168.91,
"text": "as well as engineering principles"
},
{
"start": 168.91,
"end": 170.79,
"text": "like how you want the code written."
},
{
"start": 170.83,
"end": 172.59,
"text": "So here's what I recommend instead."
},
{
"start": 172.59,
"end": 175.11,
"text": "I'll press escape twice to clear the prompt area."
},
{
"start": 175.11,
"end": 176.19,
"text": "I'll write a new prompt"
},
{
"start": 176.19,
"end": 179.31,
"text": "which lists the high priority requirements as bullets"
},
{
"start": 179.31,
"end": 182.03,
"text": "and then at the end tells Claude to ask me questions"
},
{
"start": 182.03,
"end": 183.71,
"text": "to clarify requirements,"
},
{
"start": 183.71,
"end": 186.15,
"text": "engineering principles, hard constraints, et cetera."
},
{
"start": 186.15,
"end": 188.31,
"text": "By the way, you can type new lines in the prompt"
},
{
"start": 188.31,
"end": 191.19,
"text": "by holding alt or option and pressing enter."
},
{
"start": 191.19,
"end": 193.03,
"text": "Finally, you need to go into plan mode."
},
{
"start": 193.03,
"end": 195.07,
"text": "So hold the shift key and press tab"
},
{
"start": 195.07,
"end": 197.55,
"text": "until you see plan mode in the bottom left."
},
{
"start": 197.55,
"end": 200.19,
"text": "Now when you press enter, Claude gets to work."
},
{
"start": 200.19,
"end": 202.47,
"text": "It starts reasoning about the code to write"
},
{
"start": 202.47,
"end": 204.67,
"text": "and then figuring out what are the right questions"
},
{
"start": 204.67,
"end": 207.91,
"text": "to ask you to get to the next step of its plan."
},
{
"start": 207.91,
"end": 209.43,
"text": "When it's in plan mode,"
},
{
"start": 209.43,
"end": 211.83,
"text": "it will never write code automatically."
},
{
"start": 211.83,
"end": 214.55,
"text": "It will always confer with you first."
},
{
"start": 214.55,
"end": 216.91,
"text": "By the way, I've included this prompt"
},
{
"start": 216.91,
"end": 218.63,
"text": "and all the prompts from the video"
},
{
"start": 218.63,
"end": 221.03,
"text": "under the resources section in the description."
},
{
"start": 221.03,
"end": 222.59,
"text": "Here's the first set of questions"
},
{
"start": 222.59,
"end": 224.07,
"text": "your questions may differ."
},
{
"start": 224.07,
"end": 226.51,
"text": "Let's make this a React app by pressing one."
},
{
"start": 226.51,
"end": 229.35,
"text": "We'll keep things simple by choosing local storage."
},
{
"start": 229.35,
"end": 231.47,
"text": "This will run on a big TV screen in the office"
},
{
"start": 231.47,
"end": 232.95,
"text": "so no auth is needed."
},
{
"start": 232.95,
"end": 235.51,
"text": "Claude's also asking us about extra features."
},
{
"start": 235.51,
"end": 237.95,
"text": "So let's turn on two and three."
},
{
"start": 237.95,
"end": 240.31,
"text": "If you ever need to change your answers in this model,"
},
{
"start": 240.31,
"end": 242.47,
"text": "you can use the left and right arrow keys"
},
{
"start": 242.47,
"end": 244.27,
"text": "to switch between questions."
},
{
"start": 244.27,
"end": 246.43,
"text": "Then press one to submit your answers."
},
{
"start": 246.43,
"end": 247.95,
"text": "Claude will now keep going"
},
{
"start": 247.95,
"end": 250.27,
"text": "until it reaches the next set of questions"
},
{
"start": 250.27,
"end": 251.99,
"text": "or it completes your plan."
},
{
"start": 251.99,
"end": 253.83,
"text": "Now it's asking us some more questions"
},
{
"start": 253.83,
"end": 255.59,
"text": "about product requirements."
},
{
"start": 255.59,
"end": 257.63,
"text": "I found that when you include this,"
},
{
"start": 257.63,
"end": 260.03,
"text": "ask me questions to clarify the requirements"
},
{
"start": 260.03,
"end": 261.11,
"text": "part of your prompt."
},
{
"start": 261.11,
"end": 263.83,
"text": "You'll get a richer discussion in plan mode."
},
{
"start": 263.83,
"end": 266.31,
"text": "So now it's got all the information that it needs."
},
{
"start": 266.31,
"end": 269.79,
"text": "It's going to create the implementation plan for our review."
},
{
"start": 269.79,
"end": 272.15,
"text": "I find this process is like working"
},
{
"start": 272.15,
"end": 275.31,
"text": "with a teammate or fellow senior engineer"
},
{
"start": 275.31,
"end": 279.03,
"text": "to help plan exactly what you're gonna do before you execute."
},
{
"start": 279.03,
"end": 281.27,
"text": "And a few seconds later, we get the plan."
},
{
"start": 281.27,
"end": 283.55,
"text": "This is your opportunity to review"
},
{
"start": 283.55,
"end": 285.79,
"text": "before Claude starts writing code."
},
{
"start": 285.79,
"end": 288.35,
"text": "Be on the lookout for design decisions"
},
{
"start": 288.35,
"end": 291.15,
"text": "Claude has made that you might disagree with."
},
{
"start": 291.15,
"end": 293.47,
"text": "Here, for example, we never said anything about"
},
{
"start": 293.47,
"end": 295.11,
"text": "Vite or Tailwind."
},
{
"start": 295.11,
"end": 296.95,
"text": "Scrolling down, you'll see a good summary"
},
{
"start": 296.95,
"end": 299.79,
"text": "of the data models, the project structure,"
},
{
"start": 299.79,
"end": 302.07,
"text": "implementation steps, et cetera."
},
{
"start": 302.07,
"end": 303.87,
"text": "One thing that stands out to me is that"
},
{
"start": 303.87,
"end": 306.55,
"text": "this is in JavaScript, not TypeScript."
},
{
"start": 306.55,
"end": 309.47,
"text": "So here's how we tell Claude to make changes."
},
{
"start": 309.47,
"end": 311.47,
"text": "When asked, would you like to proceed,"
},
{
"start": 311.47,
"end": 314.83,
"text": "select option three, and I'll type use TypeScript"
},
{
"start": 314.83,
"end": 316.67,
"text": "instead of JavaScript."
},
{
"start": 316.67,
"end": 319.83,
"text": "I'll press enter and Claude will reconfigure its plans."
},
{
"start": 319.83,
"end": 322.31,
"text": "By the way, notice how I'm talking to Claude."
},
{
"start": 322.31,
"end": 325.35,
"text": "It's like a senior engineer that I respect."
},
{
"start": 325.35,
"end": 328.23,
"text": "Clear, firm, and specific."
},
{
"start": 328.23,
"end": 329.99,
"text": "You don't need to be overly polite"
},
{
"start": 329.99,
"end": 332.31,
"text": "and you don't need to be overly aggressive."
},
{
"start": 332.31,
"end": 334.03,
"text": "Just the facts."
},
{
"start": 334.03,
"end": 335.63,
"text": "Okay, the new plans generated"
},
{
"start": 335.63,
"end": 338.79,
"text": "and we see file extensions with TS and TSX."
},
{
"start": 338.79,
"end": 340.71,
"text": "That means we're on the right path."
},
{
"start": 340.71,
"end": 342.91,
"text": "And let's assume we're good with the rest of the plan."
},
{
"start": 342.91,
"end": 344.55,
"text": "So it's time to move forward."
},
{
"start": 344.55,
"end": 345.75,
"text": "You have two options."
},
{
"start": 345.75,
"end": 348.11,
"text": "You can auto accept all of Claude's changes"
},
{
"start": 348.11,
"end": 350.67,
"text": "or manually prove them one by one."
},
{
"start": 350.67,
"end": 352.11,
"text": "If you're just getting started,"
},
{
"start": 352.11,
"end": 355.39,
"text": "you might want to choose option two just to be sure,"
},
{
"start": 355.39,
"end": 357.07,
"text": "but I'll tell you you're going to get tired"
},
{
"start": 357.07,
"end": 358.15,
"text": "of it pretty quickly."
},
{
"start": 358.15,
"end": 361.07,
"text": "So I've suggested to auto accept edits here."
},
{
"start": 361.07,
"end": 362.91,
"text": "Let's see what happens in just a minute."
},
{
"start": 362.91,
"end": 364.59,
"text": "Claude's just written the entire app"
},
{
"start": 364.59,
"end": 366.03,
"text": "which we can see here."
},
{
"start": 366.03,
"end": 368.95,
"text": "Now it's asking approval to run NPM install."
},
{
"start": 368.95,
"end": 370.63,
"text": "Claude's default user experience"
},
{
"start": 370.63,
"end": 372.43,
"text": "is that it always asks for approval"
},
{
"start": 372.43,
"end": 373.67,
"text": "for these sorts of tools."
},
{
"start": 373.67,
"end": 376.71,
"text": "But if you believe a tool is safe to use,"
},
{
"start": 376.71,
"end": 378.91,
"text": "I recommend choosing option two here."
},
{
"start": 379.75,
"end": 381.05,
"text": "After a few more approvals,"
},
{
"start": 381.05,
"end": 383.23,
"text": "Claude asked to run the dev server."
},
{
"start": 383.23,
"end": 385.71,
"text": "I'm actually not keen on having Claude do this."
},
{
"start": 385.71,
"end": 388.23,
"text": "So I'm going to start up a new terminal window,"
},
{
"start": 388.23,
"end": 392.11,
"text": "go to the app directory and then start it myself."
},
{
"start": 392.11,
"end": 393.27,
"text": "With the server up and running,"
},
{
"start": 393.27,
"end": 394.75,
"text": "let's check out the app."
},
{
"start": 394.75,
"end": 396.79,
"text": "Okay, we've got a decent looking page here."
},
{
"start": 396.79,
"end": 398.35,
"text": "Let's add a few team members."
},
{
"start": 398.35,
"end": 400.11,
"text": "So I'll start by adding myself."
},
{
"start": 400.11,
"end": 401.87,
"text": "I'll give myself a green color."
},
{
"start": 402.11,
"end": 406.07,
"text": "And then let's add Kevin give him a blue color."
},
{
"start": 406.07,
"end": 407.15,
"text": "Now that looks okay."
},
{
"start": 407.15,
"end": 410.07,
"text": "So let's try testing the add chore functionality."
},
{
"start": 410.07,
"end": 413.23,
"text": "Let's get Kevin to bake us cookies every week."
},
{
"start": 413.23,
"end": 415.35,
"text": "So we'll assign that to kitchen"
},
{
"start": 415.35,
"end": 417.63,
"text": "and then assign that to Kevin."
},
{
"start": 417.63,
"end": 419.51,
"text": "We'll make this a recurring chore,"
},
{
"start": 419.51,
"end": 422.19,
"text": "repeat it once a week and click add."
},
{
"start": 422.19,
"end": 423.03,
"text": "That looks good."
},
{
"start": 423.03,
"end": 424.87,
"text": "So let's check out the week mode"
},
{
"start": 424.87,
"end": 428.03,
"text": "and we should be able to see bake cookies down below."
},
{
"start": 428.03,
"end": 430.75,
"text": "Looks like we've got a little highlighting bug up here."
},
{
"start": 430.75,
"end": 432.83,
"text": "Finally, let's try adding a chore for me"
},
{
"start": 432.83,
"end": 434.51,
"text": "just by clicking on the calendar."
},
{
"start": 434.51,
"end": 438.15,
"text": "So we'll say maintenance, we'll assign this to David"
},
{
"start": 438.15,
"end": 440.51,
"text": "and oh, interesting."
},
{
"start": 440.51,
"end": 442.67,
"text": "The time is also wrong here."
},
{
"start": 442.67,
"end": 444.87,
"text": "Let's click add and see where it puts it though."
},
{
"start": 444.87,
"end": 446.79,
"text": "Yeah, it looks like it went down to 8 p.m."
},
{
"start": 446.79,
"end": 447.91,
"text": "when it shouldn't have."
},
{
"start": 447.91,
"end": 450.67,
"text": "Now, we're all tempted to go back into Claude"
},
{
"start": 450.67,
"end": 453.07,
"text": "and start prompting it to fix these bugs."
},
{
"start": 453.07,
"end": 454.63,
"text": "But you need to follow a principle"
},
{
"start": 454.63,
"end": 457.23,
"text": "of committing early and committing often."
},
{
"start": 457.23,
"end": 459.03,
"text": "That's because when you add more prompts,"
},
{
"start": 459.03,
"end": 462.47,
"text": "there's always a chance of introducing more regressions."
},
{
"start": 462.47,
"end": 465.87,
"text": "So always make it easy to reverse the last known good state."
},
{
"start": 465.87,
"end": 467.47,
"text": "By the way, I'm assuming that you're working"
},
{
"start": 467.47,
"end": 469.27,
"text": "inside of a branch when you commit."
},
{
"start": 469.27,
"end": 471.07,
"text": "This is a great time to review the code"
},
{
"start": 471.07,
"end": 472.43,
"text": "and iterate with Claude."
},
{
"start": 472.43,
"end": 474.47,
"text": "You can try making architecture changes"
},
{
"start": 474.47,
"end": 476.63,
"text": "or even making test cases."
},
{
"start": 476.63,
"end": 477.47,
"text": "Great job."
},
{
"start": 477.47,
"end": 479.75,
"text": "You just built your first app with Claude code,"
},
{
"start": 479.75,
"end": 482.03,
"text": "but that's not enough to be successful with it."
},
{
"start": 482.03,
"end": 484.23,
"text": "That leads us to scenario number two"
},
{
"start": 484.23,
"end": 486.23,
"text": "using Claude code with an existing app."
},
{
"start": 486.23,
"end": 488.55,
"text": "We want to pretend that this is existing code"
},
{
"start": 488.55,
"end": 491.03,
"text": "that you're bringing Claude code to."
},
{
"start": 491.03,
"end": 494.83,
"text": "To do that, I'll press escape here and then type slash clear."
},
{
"start": 494.83,
"end": 497.79,
"text": "As you can see, that clears all of our conversation history"
},
{
"start": 497.79,
"end": 499.47,
"text": "and frees up context."
},
{
"start": 499.47,
"end": 501.47,
"text": "So it's like Claude is looking at this code base"
},
{
"start": 501.47,
"end": 502.59,
"text": "for the first time."
},
{
"start": 502.59,
"end": 504.95,
"text": "One mental block I had when I got started"
},
{
"start": 504.95,
"end": 507.83,
"text": "was not knowing how AI would possibly"
},
{
"start": 507.83,
"end": 510.59,
"text": "understand all of my coding standards"
},
{
"start": 510.59,
"end": 512.71,
"text": "so it could keep building on them."
},
{
"start": 512.71,
"end": 516.39,
"text": "The answer is a file called ClaudeMD."
},
{
"start": 516.39,
"end": 519.03,
"text": "According to this blog post on humanlayer.dev,"
},
{
"start": 519.03,
"end": 520.89,
"text": "which I'll also link in the description,"
},
{
"start": 520.89,
"end": 524.03,
"text": "ClaudeMD onboard Claude onto your code base."
},
{
"start": 524.03,
"end": 525.87,
"text": "The contents of this file get injected"
},
{
"start": 525.87,
"end": 527.47,
"text": "into every Claude session."
},
{
"start": 527.47,
"end": 529.55,
"text": "So it's super important that the instructions"
},
{
"start": 529.55,
"end": 532.03,
"text": "in this file are almost universally applicable"
},
{
"start": 532.03,
"end": 533.51,
"text": "to the prompts that you write."
},
{
"start": 533.51,
"end": 535.59,
"text": "Otherwise, Claude might ignore them."
},
{
"start": 535.59,
"end": 537.83,
"text": "So we can break down what you put in this file"
},
{
"start": 537.83,
"end": 539.11,
"text": "into three layers."
},
{
"start": 539.11,
"end": 541.35,
"text": "First, you tell Claude about the tech stack,"
},
{
"start": 541.35,
"end": 543.63,
"text": "the project structure, what the packages are,"
},
{
"start": 543.63,
"end": 544.99,
"text": "components, et cetera."
},
{
"start": 544.99,
"end": 547.27,
"text": "Then explain the function and purpose"
},
{
"start": 547.27,
"end": 549.27,
"text": "of each component in the project."
},
{
"start": 549.27,
"end": 553.07,
"text": "Finally, describe how you want Claude to work with the project."
},
{
"start": 553.07,
"end": 556.19,
"text": "For example, you can instruct Claude to run test cases"
},
{
"start": 556.19,
"end": 559.59,
"text": "and verify success after every change it makes."
},
{
"start": 559.59,
"end": 562.47,
"text": "You have two options to create that ClaudeMD file."
},
{
"start": 562.47,
"end": 565.39,
"text": "You can start with the slash init command,"
},
{
"start": 565.39,
"end": 567.15,
"text": "but in my experience, that doesn't create"
},
{
"start": 567.15,
"end": 569.67,
"text": "the three types of information we just reviewed."
},
{
"start": 569.67,
"end": 572.47,
"text": "So I prefer to use a prompt."
},
{
"start": 572.47,
"end": 574.63,
"text": "Grab this prompt from the resources section"
},
{
"start": 574.63,
"end": 575.91,
"text": "and paste it in."
},
{
"start": 575.91,
"end": 578.19,
"text": "As you can see, it covers some of the essentials"
},
{
"start": 578.19,
"end": 579.95,
"text": "from that blog post I just shared,"
},
{
"start": 579.95,
"end": 581.95,
"text": "the what, the why, the how."
},
{
"start": 581.95,
"end": 585.55,
"text": "And it pulls in a couple of other principles as well."
},
{
"start": 585.55,
"end": 589.23,
"text": "One of those principles is to use progressive disclosure."
},
{
"start": 589.23,
"end": 591.31,
"text": "So instead of including all the instructions"
},
{
"start": 591.31,
"end": 594.15,
"text": "for everything at once, create an index"
},
{
"start": 594.15,
"end": 596.23,
"text": "that points to other markdown file."
},
{
"start": 596.23,
"end": 599.31,
"text": "So like I have an architectural patterns file,"
},
{
"start": 599.31,
"end": 601.39,
"text": "which documents architectural patterns,"
},
{
"start": 601.39,
"end": 603.23,
"text": "design decisions, et cetera."
},
{
"start": 603.23,
"end": 605.87,
"text": "After a few minutes, you get a ClaudeMD file."
},
{
"start": 605.87,
"end": 607.83,
"text": "You can view a formatted version of this"
},
{
"start": 607.83,
"end": 612.03,
"text": "by pressing command shift V or control shift V on Windows."
},
{
"start": 612.03,
"end": 613.75,
"text": "So now every time you start Claude,"
},
{
"start": 613.75,
"end": 615.55,
"text": "it's acquainted with the tech stack,"
},
{
"start": 615.55,
"end": 618.15,
"text": "the project structure, what are your key files,"
},
{
"start": 618.15,
"end": 621.51,
"text": "commands to run everything, domain model,"
},
{
"start": 621.51,
"end": 623.71,
"text": "and there's a few more things here as well."
},
{
"start": 623.71,
"end": 625.19,
"text": "Just to show this in action,"
},
{
"start": 625.19,
"end": 626.47,
"text": "we're gonna make a small change"
},
{
"start": 626.47,
"end": 628.59,
"text": "to the adding new feature section."
},
{
"start": 628.59,
"end": 632.19,
"text": "I'll change this to adding new features or fixing bugs."
},
{
"start": 632.19,
"end": 633.99,
"text": "And then I'll add a disclaimer"
},
{
"start": 633.99,
"end": 636.11,
"text": "that it's important when you work on a new feature"
},
{
"start": 636.11,
"end": 638.63,
"text": "or bug to create a get branch first."
},
{
"start": 638.63,
"end": 639.79,
"text": "Let's commit this change."
},
{
"start": 639.79,
"end": 641.87,
"text": "And while I do that, you remember that bug"
},
{
"start": 641.87,
"end": 643.27,
"text": "that we looked at earlier."
},
{
"start": 643.27,
"end": 644.99,
"text": "The one we're clicking on the calendar"
},
{
"start": 644.99,
"end": 647.27,
"text": "didn't add the right time to the chore."
},
{
"start": 647.27,
"end": 649.43,
"text": "Let's go fix this using Claude."
},
{
"start": 649.43,
"end": 652.03,
"text": "Now just to prove that ClaudeMD is working,"
},
{
"start": 652.03,
"end": 654.87,
"text": "I'm going to get out of Claude first"
},
{
"start": 654.87,
"end": 657.27,
"text": "and then restart it and ask the following prompt."
},
{
"start": 657.27,
"end": 659.35,
"text": "Notice the prompt is nothing fancy."
},
{
"start": 659.35,
"end": 660.79,
"text": "We say it's a bug fix,"
},
{
"start": 660.79,
"end": 662.59,
"text": "we describe the failure condition,"
},
{
"start": 662.59,
"end": 663.87,
"text": "and then we let it go."
},
{
"start": 663.87,
"end": 665.79,
"text": "Let's see what Claude does."
},
{
"start": 665.79,
"end": 669.03,
"text": "After a few minutes, it finds the bug inside of a TSX file."
},
{
"start": 669.03,
"end": 670.91,
"text": "But before it implements the fix,"
},
{
"start": 670.91,
"end": 673.39,
"text": "it asks to create a new branch."
},
{
"start": 673.39,
"end": 674.83,
"text": "Let's let it proceed."
},
{
"start": 674.83,
"end": 676.95,
"text": "After a few more permission confirmations,"
},
{
"start": 676.95,
"end": 679.55,
"text": "it creates the new branch and makes the fix."
},
{
"start": 679.55,
"end": 682.55,
"text": "Obviously you'll verify that fix on the app itself."
},
{
"start": 682.55,
"end": 684.59,
"text": "We'll head back into the week mode,"
},
{
"start": 684.59,
"end": 686.67,
"text": "then we'll make it sure at 8 AM."
},
{
"start": 686.67,
"end": 689.63,
"text": "We'll call it, bring donuts for the office,"
},
{
"start": 689.63,
"end": 691.07,
"text": "put it in the kitchen category,"
},
{
"start": 691.07,
"end": 693.35,
"text": "and assign it to me, then click add."
},
{
"start": 693.35,
"end": 695.51,
"text": "So this is good, the bug is fixed here."
},
{
"start": 695.51,
"end": 697.47,
"text": "Now it's time to check the code itself."
},
{
"start": 697.47,
"end": 699.27,
"text": "Again, it's useful to think of Claude"
},
{
"start": 699.27,
"end": 701.19,
"text": "as another engineer on your team."
},
{
"start": 701.19,
"end": 703.91,
"text": "You're going to review its code like everyone else's."
},
{
"start": 703.91,
"end": 706.79,
"text": "If you don't like something instead of making a comment,"
},
{
"start": 706.79,
"end": 708.95,
"text": "use a prompt to get Claude to fix it."
},
{
"start": 708.95,
"end": 710.35,
"text": "That was a small bug,"
},
{
"start": 710.35,
"end": 713.07,
"text": "but how does it perform with scenario number three,"
},
{
"start": 713.07,
"end": 715.07,
"text": "a big architecture change?"
},
{
"start": 715.07,
"end": 716.75,
"text": "I've just made a few more fixes"
},
{
"start": 716.75,
"end": 718.79,
"text": "so our grid is looking good,"
},
{
"start": 718.79,
"end": 721.11,
"text": "but now it's time to make a bigger change."
},
{
"start": 721.11,
"end": 723.91,
"text": "Changes to chores should automatically show up"
},
{
"start": 723.91,
"end": 726.87,
"text": "on other tabs without refreshing."
},
{
"start": 726.87,
"end": 730.39,
"text": "So how do we get that test chore to show up on other tabs?"
},
{
"start": 730.39,
"end": 732.03,
"text": "Let's head to Claude and find out."
},
{
"start": 732.03,
"end": 733.99,
"text": "For this change, we'll use a special mode"
},
{
"start": 733.99,
"end": 736.31,
"text": "of Claude code called yolo."
},
{
"start": 736.31,
"end": 738.15,
"text": "And no, I'm not kidding."
},
{
"start": 738.15,
"end": 739.51,
"text": "It's when you run Claude"
},
{
"start": 739.51,
"end": 742.67,
"text": "with the dangerously skip permission switch."
},
{
"start": 742.67,
"end": 744.95,
"text": "In this mode, Claude doesn't ask for your approval"
},
{
"start": 744.95,
"end": 745.83,
"text": "to run commands."
},
{
"start": 745.83,
"end": 746.87,
"text": "It just does them."
},
{
"start": 746.87,
"end": 748.55,
"text": "Of course, there's a risk with this,"
},
{
"start": 748.55,
"end": 750.63,
"text": "but I'm showing you because one day the speed"
},
{
"start": 750.63,
"end": 751.59,
"text": "might be worth it."
},
{
"start": 751.59,
"end": 753.75,
"text": "You can now toggle this mode on and off"
},
{
"start": 753.75,
"end": 757.11,
"text": "by using shift and tab onto the architecture change."
},
{
"start": 757.11,
"end": 758.75,
"text": "Now, Claude code best practices"
},
{
"start": 758.75,
"end": 763.07,
"text": "advises and explore, plan, code, and commit approach."
},
{
"start": 763.07,
"end": 765.03,
"text": "You've already got the building blocks for this."
},
{
"start": 765.03,
"end": 769.11,
"text": "So first, use shift and tab to switch into plan mode."
},
{
"start": 769.11,
"end": 771.87,
"text": "Then our prompt explains the architecture change"
},
{
"start": 771.87,
"end": 774.95,
"text": "and also tells Claude to explore these files"
},
{
"start": 774.95,
"end": 777.35,
"text": "and give us three options to move forward."
},
{
"start": 777.35,
"end": 780.79,
"text": "This request for three options is a bit of prompt engineering"
},
{
"start": 780.79,
"end": 783.11,
"text": "because remember, any prompt engineering technique"
},
{
"start": 783.11,
"end": 786.19,
"text": "you've learned with LLMs, like chat GPT or Claude,"
},
{
"start": 786.19,
"end": 787.79,
"text": "also applies here."
},
{
"start": 787.79,
"end": 790.71,
"text": "After a few minutes, Claude's given us our options."
},
{
"start": 790.71,
"end": 792.91,
"text": "Now, there's no web server on this app right now,"
},
{
"start": 792.91,
"end": 795.43,
"text": "so I tried to trick Claude into only giving us"
},
{
"start": 795.43,
"end": 797.11,
"text": "browser sync solutions."
},
{
"start": 797.11,
"end": 800.07,
"text": "But it saw through that and also suggested option three,"
},
{
"start": 800.07,
"end": 802.43,
"text": "which would create a server and do real-time syncing"
},
{
"start": 802.43,
"end": 803.67,
"text": "across clients."
},
{
"start": 803.67,
"end": 805.11,
"text": "I'm making this video to show you"
},
{
"start": 805.11,
"end": 807.67,
"text": "the real power of AI-assisted coding."
},
{
"start": 807.67,
"end": 810.31,
"text": "So let's go all the way with option three."
},
{
"start": 810.31,
"end": 812.75,
"text": "I'll give it a minute and we'll see the plan together."
},
{
"start": 812.75,
"end": 814.43,
"text": "Here, we've got Claude's plan."
},
{
"start": 814.43,
"end": 816.15,
"text": "Just like our first plan, it gives you"
},
{
"start": 816.15,
"end": 819.11,
"text": "an overview of the changes, the project structure,"
},
{
"start": 819.11,
"end": 823.35,
"text": "files it's changing, a phased approach to implementation,"
},
{
"start": 823.35,
"end": 825.27,
"text": "as well as key design decisions."
},
{
"start": 825.27,
"end": 828.71,
"text": "You could continue to modify this plan by using option three,"
},
{
"start": 828.71,
"end": 830.83,
"text": "but we'll continue with option one."
},
{
"start": 830.83,
"end": 832.83,
"text": "And because we have YOLO mode enabled,"
},
{
"start": 832.83,
"end": 836.07,
"text": "we can let this run as long as it needs to get the job done."
},
{
"start": 836.07,
"end": 839.31,
"text": "In about five minutes, it created a web socket server"
},
{
"start": 839.31,
"end": 841.71,
"text": "and explained to us how it works."
},
{
"start": 841.71,
"end": 844.55,
"text": "So the question remains, does it actually work?"
},
{
"start": 844.55,
"end": 847.59,
"text": "Here, I've got two instances of the app side by side."
},
{
"start": 847.59,
"end": 850.35,
"text": "Let's start by adding a new team member."
},
{
"start": 850.35,
"end": 853.75,
"text": "Let's add Elizabeth and give her red."
},
{
"start": 853.75,
"end": 856.35,
"text": "And we see that change in the other browser."
},
{
"start": 856.35,
"end": 860.15,
"text": "Now in this browser, let's give her a chore called Feed the Fish."
},
{
"start": 860.15,
"end": 862.83,
"text": "We'll assign it to her and then click add."
},
{
"start": 862.83,
"end": 866.03,
"text": "That chore successfully shows up in the first browser."
},
{
"start": 866.03,
"end": 868.47,
"text": "Now, all that's left is for you to review the code."
},
{
"start": 868.47,
"end": 870.55,
"text": "But don't take my word for it that it works."
},
{
"start": 870.55,
"end": 871.95,
"text": "Try it yourself."
},
{
"start": 871.95,
"end": 874.27,
"text": "If you enjoyed this video and want to get started"
},
{
"start": 874.27,
"end": 876.39,
"text": "with Claude code, check out the link"
},
{
"start": 876.39,
"end": 877.91,
"text": "in the description below."
},
{
"start": 877.91,
"end": 879.67,
"text": "Let me know what else you want to learn"
},
{
"start": 879.67,
"end": 881.15,
"text": "about Claude code in the comments,"
},
{
"start": 881.15,
"end": 883.11,
"text": "and I'll see you in the next video."
}
]
}