Claude Code for Product Designers
Lesson 34 of 49, 0 of 49 lessons completed
Sign in
Watch on YouTubePlay

Plays from YouTube. Google's privacy policy (opens in a new tab) applies.

Up next

3.6 The team's history and realistic data

Next lesson in 8 s

3.5 Explore with Claude

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

  1. /run starts a project's app and its services for you.
  2. Open an exploratory conversation by saying who you are and what you want to know.
  3. Claude can read the git history (commits, PR descriptions) and connected tools like Linear to explain what the team has been doing.
  4. Personal instructions make Claude explain engineering terms like CI in plain language.
  5. Supabase Studio lets you browse the local database in the browser.
  6. Where the design system lives: tokens in globals.css, base components in src/components/ui.
  7. /btw (or "Start a side chat" on selected text) asks a quick question without cluttering the main session.

Chapters

  1. 00:00Starting the app with /run
  2. 03:24Asking Claude for a walkthrough
  3. 06:54Learning from the git history
  4. 08:45The tech stack in plain words
  5. 10:49Where the data lives
  6. 12:37Where the design system lives
  7. 14:25Quick questions in side chats
  1. 00:00So, in the previous videos, we have managed to clone the GitHub repository.
  2. 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
  3. 00:16we even got logged in.
  4. 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
  5. 00:26codebases or GitHub repositories in fact.
  6. 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
  7. 00:39fine and this is something that I do as well.
  8. 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
  9. 00:51steps in a codebase that is still new to us.
  10. 00:56Let's explore some of the options in this video.
  11. 00:58So, first thing is running the application.
  12. 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
  13. 01:12Mac and if I then try to go get into localhost 3000, it's not going to show anything.
  14. 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
  15. 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.
  16. 01:37I'm going to go into documents, GitHub, my username and let me make sure I'm picking the the right folder.
  17. 01:47And [snorts] I could have just asked Claude using, you know, my own words to help me run this application.
  18. 01:54There is however a pretty neat built-in command that will do just that for you and it is run.
  19. 02:01So you just type in slash run.
  20. 02:04You hit enter. And what Claude is going to do now is going to go through the documentation.
  21. 02:09It's going to figure out what's what.
  22. 02:11And then based on that, in a matter of seconds, we should see uh Docker desktop application coming up.
  23. 02:18Uh it has properly recognized that it is already installed.
  24. 02:21If it wasn't, it would probably suggest for you to do it first.
  25. 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.
  26. 02:32There it is, the Claude uh I'm sorry, the Docker desktop application.
  27. 02:35Let me minimize this for now.
  28. 02:38It's uh starting a local database.
  29. 02:41And then uh it's going to start the dev server.
  30. 02:44And in a few seconds from now really uh the application should be ready.
  31. 02:48And there it is.
  32. 02:49Look how fast and easy it was, right?
  33. 02:52And it is a pre-built command, which is pretty neat.
  34. 02:54Let me just double check by going back to my browser.
  35. 02:58I'm going to type in localhost 3000.
  36. 03:00I'm already logged in.
  37. 03:02It's it's wonderful. It's just what I needed.
  38. 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
  39. 03:15to know. But this is again under the assumption that you already sort of know the application.
  40. 03:20But this is, you know, us taking our very first steps with this application.
  41. 03:25So let's ask Claude to actually walk us through everything that there is to know for us as designer about this application.
  42. 03:33So I'm going to start a new session.
  43. 03:35And this is actually something that I I again do uh whenever I find myself in a totally new uh code base.
  44. 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
  45. 03:55feel like my curiosity is now taken care of.
  46. 03:59So um I'm in this computer.
  47. 04:02I'm in the right folder.
  48. 04:03I'm going to keep using Opus for this actually.
  49. 04:07I don't really need to plan anything.
  50. 04:08This is going to be a simple conversation.
  51. 04:10So I'll stick to the auto mode.
  52. 04:12I'm just going to say, Hello Claude.
  53. 04:15I am a new designer on this codebase.
  54. 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.
  55. 04:27I'm wondering, you know, what is the text stack of this application?
  56. 04:31Where is the data stored?
  57. 04:34What it allows me to do?
  58. 04:35And also the design stack is quite important to me.
  59. 04:40Really anything you can tell me about this application, I'm all ears.
  60. 04:46Okay. Just like that, simple opening like conversation starter and Claude is going to do all the digging for you.
  61. 04:54Depending on how big this codebase is, it's it might take a little bit longer for Claude to respond.
  62. 05:01You know, occasionally you might actually see Claude spawning these explorer or explorer sub agents which are going to show up over here.
  63. 05:10We've already seen some of this.
  64. 05:13This is especially helpful again if this is a very large, very mature codebase.
  65. 05:16This one is still on the on the smaller side.
  66. 05:19And let's see what Claude is coming back to us with.
  67. 05:23Okay. What do we have here?
  68. 05:25What it does? Tonik parking lets people at the Tonik office book a parking space for a day.
  69. 05:31That checks out. There are 10 spaces labeled 1 to 10.
  70. 05:36There are three main screens after a switcher at the top left.
  71. 05:40Wonderful. We have the book a space, my bookings week.
  72. 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
  73. 05:52and license plate and log in.
  74. 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.
  75. 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
  76. 06:14added here and there.
  77. 06:15Um, but let's continue with this.
  78. 06:18Um, the booking rules, one booking per space per day.
  79. 06:21One person can book several spaces.
  80. 06:24Um, and so on and so on and so forth.
  81. 06:27So um over here, this application again is not really complex.
  82. 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
  83. 06:42each and every single feature.
  84. 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
  85. 06:55going a little bit deeper on specific features.
  86. 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
  87. 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.
  88. 07:14Here's a really neat thing.
  89. 07:16Claude over here having access not just to the code base, but also having access to the entire Git uh repository.
  90. 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
  91. 07:34messages, we have PR descriptions and what not.
  92. 07:37That is tons of useful context for Claude and for us as well.
  93. 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
  94. 07:52do a quick recap of you know just what the team has been working on.
  95. 07:56And Claude is going to pull up the Git history.
  96. 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.
  97. 08:07Um, and you know, there had been some hiccups, and this is how they resolved it.
  98. 08:12And, you know, yeah, that kind of stuff.
  99. 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
  100. 08:26the linear tickets as well, creating a really really complete giving you a complete picture of what has been going on and why.
  101. 08:34And it's only up to you and your needs, you know, how far you are willing to go into this.
  102. 08:43Yeah, imagine being able to do this with Figma.
  103. 08:46Wouldn't that be amazing, right?
  104. 08:48What else is there?
  105. 08:49Tech stack, okay, Next.js 16, Supabase, Docker, you know, we wouldn't know about these terms.
  106. 08:55Now we know a little bit.
  107. 08:58We have Tailwind CSS, which we already covered a little bit earlier.
  108. 09:01We have shadcn UI.
  109. 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.
  110. 09:11We have an icon set.
  111. 09:13It's the one that comes or that is like the default choice for this UI component library.
  112. 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
  113. 09:32lot of additional packages, so maybe that deserved a callout based like to Claude.
  114. 09:40There are also quality checks.
  115. 09:42CI is an automatic check that runs on GitHub for every pull request.
  116. 09:47Now let me take a pause here, right?
  117. 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
  118. 10:01GitHub for every pull request.
  119. 10:03We haven't actually talked about this yet.
  120. 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
  121. 10:16it was. Um, we also added this global CLAUDE.md file with our instructions on how to talk talk to us.
  122. 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
  123. 10:36to a designer. We don't really know a lot of the engineering terms.
  124. 10:40And this is where it really pays off.
  125. 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.
  126. 10:52That is fantastic. Where the data lives?
  127. 10:55All data is in a Supabase Postgres database.
  128. 10:58Um, then it goes on to the explain that we have a table with parking spots.
  129. 11:04We have a table with bookings and we have a table with profiles.
  130. 11:07Wonderful. Um, a point that matters for design.
  131. 11:12That is a very cloud or this that is a very opus kind of thing to say.
  132. 11:16A point that matters.
  133. 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.
  134. 11:30Uh, yeah, that that like the cloudish language.
  135. 11:32I love that. Um, the privacy rules live in the database itself, not just in screens.
  136. 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.
  137. 11:52And sometimes it would just advertise really simple things as, you know, some sort of revelations.
  138. 11:58Um, okay, you can browse the data visually in the Supabase studio once the database is running.
  139. 12:05And that is fantastic.
  140. 12:07That is something we wouldn't like know about unless we ask that opening question about cloud.
  141. 12:12Um, wondering how that looks like.
  142. 12:14Let's just go ahead and click that link or let me open this up uh and paste in my browser.
  143. 12:22And these are the Superbase tools that I mentioned previously.
  144. 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.
  145. 12:38Um, okay, let me go back.
  146. 12:40I don't want to get too distracted here.
  147. 12:42The source of truth, the Tonik parking Figma file, that is true.
  148. 12:46Okay, we are getting into more of a designer things.
  149. 12:49Tokens live in one file, the global CSS file.
  150. 12:52I click on this and it it's opening right up.
  151. 12:55Um, tokens live in one file, global CSS.
  152. 12:59The top of that file has a translation table from Figma.
  153. 13:03Um, and then I guess it's calling out some of the most prominent variables here.
  154. 13:10Um, components. So UI components.
  155. 13:14So this particular folder, I can actually click into this.
  156. 13:17Uh, and I can see I am in the SRC SRC components UI.
  157. 13:24Um, holds the base components of button, input, text area, label, alert, dialogue, and toast.
  158. 13:31Um, they have been restyled to match Figma.
  159. 13:34So these are no longer like a very bare bones components like we did in that first implementation.
  160. 13:41These are components that are coming from that shadcn UI library.
  161. 13:46Again, we are going to unpack this very shortly.
  162. 13:48They are just [snorts] restyled to look the same.
  163. 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
  164. 14:02from using a pre-made component UI component library.
  165. 14:06Screen specific components sit next to their feature and are often named after their Figma components.
  166. 14:12Okay. Um, okay, copy rules.
  167. 14:16We have how the code is organized.
  168. 14:19Um, really, I could go on and on.
  169. 14:22I can see so many things to unpack over here.
  170. 14:26We got tons and tons of very useful stuff.
  171. 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
  172. 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
  173. 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.
  174. 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
  175. 15:07way. So there are a couple of ways to do it.
  176. 15:10Um, I can either just type in by the way as a slash command.
  177. 15:13What this is going to do is it's going to you know hit enter.
  178. 15:16This is going to open up a side chat.
  179. 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
  180. 15:29like sort of have a branch of this session which we can continue doing over here.
  181. 15:33It's more for asking, you know, simpler questions.
  182. 15:36I'm not sure it can run any comments or edit any files.
  183. 15:40I think it can't.
  184. 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
  185. 15:53can just select a portion of the text and just do a start a side chat button.
  186. 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
  187. 16:08for me and explain in plain terms a little bit more about uh what CI is.
  188. 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
  189. 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
  190. 16:37handle, I guess. Um so yeah, that's that.
  191. 16:41Um lots of things to dive into, but we are going to unpack that in the next video.
  192. 16:47So I'm going to see you there.

The cheat sheet is for signed-in viewers. Inside: the lesson's prompts ready to reuse, the commands and shortcuts, useful links and what to watch out for.

Sign in to get the cheat sheet

Loading the cheat sheet…