Watch on YouTubePlayPlays from YouTube. Google's privacy policy (opens in a new tab) applies.
Adam starts the team's app with one command, /run, then asks Claude to walk him through the unfamiliar codebase as a new designer: what the app does, its tech stack, where the data lives and where the design system sits. He ends with side chats for quick questions.
What you'll learn
/runstarts a project's app and its services for you.- Open an exploratory conversation by saying who you are and what you want to know.
- Claude can read the git history (commits, PR descriptions) and connected tools like Linear to explain what the team has been doing.
- Personal instructions make Claude explain engineering terms like CI in plain language.
- Supabase Studio lets you browse the local database in the browser.
- Where the design system lives: tokens in
globals.css, base components insrc/components/ui. /btw(or "Start a side chat" on selected text) asks a quick question without cluttering the main session.
Chapters
- 00:00Starting the app with /run
- 03:24Asking Claude for a walkthrough
- 06:54Learning from the git history
- 08:45The tech stack in plain words
- 10:49Where the data lives
- 12:37Where the design system lives
- 14:25Quick questions in side chats
- 00:00So, in the previous videos, we have managed to clone the GitHub repository.
- 00:05We have installed dependencies, we installed the tools to run a local database and we even managed to got to like have the application running in our local browser and
- 00:16we even got logged in.
- 00:17And we did all of this by just following instructions from the readme.markdown file, which you can by the way expect to be part of the vast majority of modern
- 00:26codebases or GitHub repositories in fact.
- 00:30Now, of course, if this was a real world, you could have just asked Claude to walk you through this entire process start to finish and it would do just
- 00:39fine and this is something that I do as well.
- 00:42But now that we sort of got it covered, what else is there for Claude to help us out with whenever we try to, you know, take our very first
- 00:51steps in a codebase that is still new to us.
- 00:56Let's explore some of the options in this video.
- 00:58So, first thing is running the application.
- 01:02What I did off the camera is I've closed Docker, I've closed all of my terminal windows, which means that you know, if I for example go and restart my
- 01:12Mac and if I then try to go get into localhost 3000, it's not going to show anything.
- 01:20Now, you don't really fortunately have to remember all of these steps and what you can do now that you have Claude is simply go to your Claude code desktop
- 01:28application, create a new session and let's make sure you are of course running this session locally and let's open up this new folder.
- 01:37I'm going to go into documents, GitHub, my username and let me make sure I'm picking the the right folder.
- 01:47And [snorts] I could have just asked Claude using, you know, my own words to help me run this application.
- 01:54There is however a pretty neat built-in command that will do just that for you and it is run.
- 02:01So you just type in slash run.
- 02:04You hit enter. And what Claude is going to do now is going to go through the documentation.
- 02:09It's going to figure out what's what.
- 02:11And then based on that, in a matter of seconds, we should see uh Docker desktop application coming up.
- 02:18Uh it has properly recognized that it is already installed.
- 02:21If it wasn't, it would probably suggest for you to do it first.
- 02:25If there was anything else missing, it would probably do like remind you about that and offer you a way to install it for you.
- 02:32There it is, the Claude uh I'm sorry, the Docker desktop application.
- 02:35Let me minimize this for now.
- 02:38It's uh starting a local database.
- 02:41And then uh it's going to start the dev server.
- 02:44And in a few seconds from now really uh the application should be ready.
- 02:48And there it is.
- 02:49Look how fast and easy it was, right?
- 02:52And it is a pre-built command, which is pretty neat.
- 02:54Let me just double check by going back to my browser.
- 02:58I'm going to type in localhost 3000.
- 03:00I'm already logged in.
- 03:02It's it's wonderful. It's just what I needed.
- 03:04So whenever you wake up and you're about to start your day and you realize your application is not running, the simple run command is the only thing you need
- 03:15to know. But this is again under the assumption that you already sort of know the application.
- 03:20But this is, you know, us taking our very first steps with this application.
- 03:25So let's ask Claude to actually walk us through everything that there is to know for us as designer about this application.
- 03:33So I'm going to start a new session.
- 03:35And this is actually something that I I again do uh whenever I find myself in a totally new uh code base.
- 03:43I would just open up and start an exploratory conversation with Claude and just casually, you know, taking a walk through different folders, learning to know what's what until I
- 03:55feel like my curiosity is now taken care of.
- 03:59So um I'm in this computer.
- 04:02I'm in the right folder.
- 04:03I'm going to keep using Opus for this actually.
- 04:07I don't really need to plan anything.
- 04:08This is going to be a simple conversation.
- 04:10So I'll stick to the auto mode.
- 04:12I'm just going to say, Hello Claude.
- 04:15I am a new designer on this codebase.
- 04:20I don't really know anything about it and I would appreciate if you could walk me through and tell me what is what.
- 04:27I'm wondering, you know, what is the text stack of this application?
- 04:31Where is the data stored?
- 04:34What it allows me to do?
- 04:35And also the design stack is quite important to me.
- 04:40Really anything you can tell me about this application, I'm all ears.
- 04:46Okay. Just like that, simple opening like conversation starter and Claude is going to do all the digging for you.
- 04:54Depending on how big this codebase is, it's it might take a little bit longer for Claude to respond.
- 05:01You know, occasionally you might actually see Claude spawning these explorer or explorer sub agents which are going to show up over here.
- 05:10We've already seen some of this.
- 05:13This is especially helpful again if this is a very large, very mature codebase.
- 05:16This one is still on the on the smaller side.
- 05:19And let's see what Claude is coming back to us with.
- 05:23Okay. What do we have here?
- 05:25What it does? Tonik parking lets people at the Tonik office book a parking space for a day.
- 05:31That checks out. There are 10 spaces labeled 1 to 10.
- 05:36There are three main screens after a switcher at the top left.
- 05:40Wonderful. We have the book a space, my bookings week.
- 05:44There is also profile and that is a new thing from the concept that we've been working on in the previous module where your save where you save your name
- 05:52and license plate and log in.
- 05:55And just to make sure we are all on the same page, Claude is referring to this tab here which we did not have in the designs.
- 06:04And as I click into this page, I'm already noticing some opportunities for me as a designer to chime in and uh have a little bit of a design magic
- 06:14added here and there.
- 06:15Um, but let's continue with this.
- 06:18Um, the booking rules, one booking per space per day.
- 06:21One person can book several spaces.
- 06:24Um, and so on and so on and so forth.
- 06:27So um over here, this application again is not really complex.
- 06:31Um, if I was onboarding right now to a bit more um uh a bit more like substantial code base, chances are Claude would not be going so deep into
- 06:42each and every single feature.
- 06:44It would probably instead just list out the key features and then depending on you know whether I'm in the mood or not, I would want to maybe have Claude
- 06:55going a little bit deeper on specific features.
- 06:59Or if I don't know which are the ones that I should be focusing on, I could just try asking Claude, okay, hey tell me or can you suggest me
- 07:05which features I should be focusing on based on the traction, based on um also the implement like the development effort from the team.
- 07:14Here's a really neat thing.
- 07:16Claude over here having access not just to the code base, but also having access to the entire Git uh repository.
- 07:24It knows exactly what has changed and when it's been changing and who has been changing and why it's been changing because you know with Git we have these commit
- 07:34messages, we have PR descriptions and what not.
- 07:37That is tons of useful context for Claude and for us as well.
- 07:42Sometimes, you know when I'm got it when I'm getting back from uh let's say a longer leave, I would just start off my day by asking Claude to uh
- 07:52do a quick recap of you know just what the team has been working on.
- 07:56And Claude is going to pull up the Git history.
- 07:59It's going to tell me that hey these engineers have been focusing on this feature really really uh really hard like last week.
- 08:07Um, and you know, there had been some hiccups, and this is how they resolved it.
- 08:12And, you know, yeah, that kind of stuff.
- 08:14If you have linear connected, for example, to track your tickets, and if you have that linear integration set up in your Claude, Claude can pull up additional context from
- 08:26the linear tickets as well, creating a really really complete giving you a complete picture of what has been going on and why.
- 08:34And it's only up to you and your needs, you know, how far you are willing to go into this.
- 08:43Yeah, imagine being able to do this with Figma.
- 08:46Wouldn't that be amazing, right?
- 08:48What else is there?
- 08:49Tech stack, okay, Next.js 16, Supabase, Docker, you know, we wouldn't know about these terms.
- 08:55Now we know a little bit.
- 08:58We have Tailwind CSS, which we already covered a little bit earlier.
- 09:01We have shadcn UI.
- 09:03That name did come up a couple of times in previous videos, but we haven't gotten deep into this, and we are going to unpack this in a second.
- 09:11We have an icon set.
- 09:13It's the one that comes or that is like the default choice for this UI component library.
- 09:20Sonar for toast notifications, that is an oddly specific callout for such an such a small thing, but I guess this it's just that like this codebase doesn't have a
- 09:32lot of additional packages, so maybe that deserved a callout based like to Claude.
- 09:40There are also quality checks.
- 09:42CI is an automatic check that runs on GitHub for every pull request.
- 09:47Now let me take a pause here, right?
- 09:49Claude is going an extra mile explaining terms that it otherwise wouldn't have to explain to like a seasoned engineer, like this CI example, an automatic check that runs on
- 10:01GitHub for every pull request.
- 10:03We haven't actually talked about this yet.
- 10:06It's it's doing this because first First um, I have already that I am a designer, but also at the beginning of this video course, I'm not sure which model
- 10:16it was. Um, we also added this global CLAUDE.md file with our instructions on how to talk talk to us.
- 10:26And this is where we have, you know, laid out the foundations on things like we are designers, so please talk to us like, you know, like you would do
- 10:36to a designer. We don't really know a lot of the engineering terms.
- 10:40And this is where it really pays off.
- 10:42We have a pre pre push hook runs similar a pre push hook runs similar checks on your own computer before you upload code.
- 10:52That is fantastic. Where the data lives?
- 10:55All data is in a Supabase Postgres database.
- 10:58Um, then it goes on to the explain that we have a table with parking spots.
- 11:04We have a table with bookings and we have a table with profiles.
- 11:07Wonderful. Um, a point that matters for design.
- 11:12That is a very cloud or this that is a very opus kind of thing to say.
- 11:16A point that matters.
- 11:18Um, if you've been working with cloud for a while, you might recognize the load bearing load bearing problem or load bearing arguments or statements or whatever.
- 11:30Uh, yeah, that that like the cloudish language.
- 11:32I love that. Um, the privacy rules live in the database itself, not just in screens.
- 11:39Um, sometimes I just feel like cloud is really trying hard to include at least one um, like really sharp or surprising observation in each message it's giving you.
- 11:52And sometimes it would just advertise really simple things as, you know, some sort of revelations.
- 11:58Um, okay, you can browse the data visually in the Supabase studio once the database is running.
- 12:05And that is fantastic.
- 12:07That is something we wouldn't like know about unless we ask that opening question about cloud.
- 12:12Um, wondering how that looks like.
- 12:14Let's just go ahead and click that link or let me open this up uh and paste in my browser.
- 12:22And these are the Superbase tools that I mentioned previously.
- 12:26So we have PostgreSQL as the kind of database and then we have Superbase giving us all sorts of really cool things that, you know, especially engineers really really enjoy.
- 12:38Um, okay, let me go back.
- 12:40I don't want to get too distracted here.
- 12:42The source of truth, the Tonik parking Figma file, that is true.
- 12:46Okay, we are getting into more of a designer things.
- 12:49Tokens live in one file, the global CSS file.
- 12:52I click on this and it it's opening right up.
- 12:55Um, tokens live in one file, global CSS.
- 12:59The top of that file has a translation table from Figma.
- 13:03Um, and then I guess it's calling out some of the most prominent variables here.
- 13:10Um, components. So UI components.
- 13:14So this particular folder, I can actually click into this.
- 13:17Uh, and I can see I am in the SRC SRC components UI.
- 13:24Um, holds the base components of button, input, text area, label, alert, dialogue, and toast.
- 13:31Um, they have been restyled to match Figma.
- 13:34So these are no longer like a very bare bones components like we did in that first implementation.
- 13:41These are components that are coming from that shadcn UI library.
- 13:46Again, we are going to unpack this very shortly.
- 13:48They are just [snorts] restyled to look the same.
- 13:50So even though this application this application looks just like our Figma design, under the hood, it's taking advantage of a lot of like order good things that we get
- 14:02from using a pre-made component UI component library.
- 14:06Screen specific components sit next to their feature and are often named after their Figma components.
- 14:12Okay. Um, okay, copy rules.
- 14:16We have how the code is organized.
- 14:19Um, really, I could go on and on.
- 14:22I can see so many things to unpack over here.
- 14:26We got tons and tons of very useful stuff.
- 14:29Um, if I want to uh do a little bit die like dive a little bit deeper or anything in particular, I can either just, you know, keep asking clarifying
- 14:40questions here in the main thread or if there is something smaller that has caught my eye and I'm just willing to or I'm I'm wishing to just like um
- 14:50take a little bit of a um like a like a side quest to or have a little bit of a side quest to to explore that.
- 14:58What I can do in uh in Claude Code desktop application, it's not just Claude Code desktop application really, I can use a very neat feature uh called by the
- 15:07way. So there are a couple of ways to do it.
- 15:10Um, I can either just type in by the way as a slash command.
- 15:13What this is going to do is it's going to you know hit enter.
- 15:16This is going to open up a side chat.
- 15:19A side chat is a very nice thing because what this is going to do is going to preserve the history of uh your current session, but then you can
- 15:29like sort of have a branch of this session which we can continue doing over here.
- 15:33It's more for asking, you know, simpler questions.
- 15:36I'm not sure it can run any comments or edit any files.
- 15:40I think it can't.
- 15:42Yeah, so it's more for like really by the way types of questions uh or uh if you want to start a side chat based on anything in particular, you
- 15:53can just select a portion of the text and just do a start a side chat button.
- 15:57It's going to have that uh thing uh over here at the bottom which you want to ask about and then I can just ask it, can you clarify this
- 16:08for me and explain in plain terms a little bit more about uh what CI is.
- 16:17And this is how we can, you know, just get a little bit more familiar not just with, you know, the code base that we are going to be working
- 16:25on, but engineering concepts in general, making our conversations with engineers in Slack or Microsoft Teams, whatever you use, just a little bit, you know, a little bit easier to
- 16:37handle, I guess. Um so yeah, that's that.
- 16:41Um lots of things to dive into, but we are going to unpack that in the next video.
- 16:47So I'm going to see you there.