Watch on YouTubePlayPlays from YouTube. Google's privacy policy (opens in a new tab) applies.
Adam explains CLAUDE.md files, then dictates an introduction as a product designer and has Claude save it to the CLAUDE.md file that applies to every project on his computer.
What you'll learn
- Without context, Claude may assume you're an engineer and answer with long walls of jargon.
- CLAUDE.md files are markdown instructions for Claude: one per project, and one for every project on your computer.
- Voice dictation is a faster way to write a long prompt.
- Name the CLAUDE.md file in your prompt; otherwise Claude may suggest memory or a setting instead.
- In Auto mode Claude creates the file without asking for edit permission.
- Ask Claude to open the file to check what it saved.
- Add to this file over time as you notice Claude habits you want changed.
Chapters
- 00:00Introductions and CLAUDE.md files
- 01:33Dictating your introduction
- 03:00Saving it to CLAUDE.md
- 04:15Opening and checking the file
- 00:00Claude, this is me, me, this is Claude.
- 00:02Uh, first things first, let's introduce ourselves to Claude.
- 00:05Why? Well, we just installed the Claude desktop application, which means like we we we could be tempted to just get into coding right away.
- 00:13The thing is if we start talking to Claude about, you know, software development, it might actually assume that we are, I don't know, some sort of engineer and it
- 00:21might be talking to us like it would to an engineer, which means reading really long walls of text with things we don't really understand and that can be daunting.
- 00:31So this is exactly why it's a good idea to first introduce ourselves to Claude and ask it to adjust its language keeping in mind we are designers.
- 00:40Now there are many ways we could do this uh and the the way that I would like to explore in this particular video is using a local CLAUDE.md
- 00:48file. Now what are local what are CLAUDE.md files in general anyway?
- 00:53These are special markdown type files which we can write ourselves in any sort of text editor with instructions for Claude specifically.
- 01:03Um they are usually used with projects, so each project can have its own Claude dot MD file with a project specific instructions or gotchas or just things to keep
- 01:13an eye on when working on this particular codebase.
- 01:16And then on top of that we can also create local CLAUDE.md files um for example in a way that applies to every project that I'm working on on
- 01:27my particular machine and this is exactly what I'm what I would like to do right now.
- 01:32I think I'm just going to reuse the session from the previous video, but we can like just start a new chat if we want as well.
- 01:39And I am actually going to uh use um you know voice dictation for this one.
- 01:44So let's see how it goes.
- 01:47Um hello Claude. I am product designer um and I don't really have much uh I don't really have a strong background in coding and um I would like for
- 01:59you to adjust your when talking to me.
- 02:01I am opinionated, however, on things such as user flows, screens, or UI design in general, design systems, colors, variables, and things along these lines.
- 02:12Um, when there is an important uh engineering decision to be made, I would appreciate if you can offer me your strong recommendation on what this decision should be uh
- 02:24while explaining it to me uh briefly in plain language so that I can understand.
- 02:30It would be great if you can save this instruction in my local CLAUDE.md file that's going to be applied on all projects on this computer.
- 02:39Can you help me with that?
- 02:44Okay. Uh that was a lot faster if I were to type it by hand, right?
- 02:49Um, okay. So a couple of, you know, like small things such as CLAUDE.md uh which is what the voice dictation picked up.
- 02:58Luckily, Claude can uh can understand and figure out what I meant by that.
- 03:03And uh notice how I have intentionally mentioned um saving this instruction to my local CLAUDE.md file.
- 03:11This is because otherwise Claude would offer like a different way of doing this.
- 03:15It could offer me to um well save it as a memory, which is a thing in Claude which we are going to talk about a little bit later on.
- 03:24It could also want to um uh suggest that I like adjust a very specific setting uh cloud a cloud that Claude has for this particular thing.
- 03:34But in this case, I really wanted for it to be stored in a cloud that MD file.
- 03:40So um I can just see it has checked whether there is an existing CLAUDE.md file and if it if there isn't, then it's going to create one for
- 03:49me with this instruction.
- 03:51And I can see this has just happened.
- 03:53So I was in the auto mode, keep in mind.
- 03:55So if you have any like um uh prompt for you uh if you see any um prompt for you to accept any edits, that might be because you are
- 04:05in either manual or accept edits mode.
- 04:08If this is bothering you, make sure to use auto mode as your default option.
- 04:13And it seems it has just saved that instruction.
- 04:17So let me open this up.
- 04:19I'm going to click clink on CLAUDE.md.
- 04:22Oh, it seems like it cannot be really opened from this particular session, but not to worry.
- 04:28I can actually go into my finder to see how it looks like, or I can just Claude ask Claude to open this file for me.
- 04:36Can you open up this file for me?
- 04:41And what I'm expecting Claude to do is just, you know, open it up so that I can see it on my screen just like this.
- 04:49There it is. So let's see what it has saved.
- 04:53So I'm product designer without a strong coding background.
- 04:55Use plain non-technical language, avoid jargon, or explain it briefly when it's unavoidable.
- 05:01Perfect. Great. When an important engineering decision comes up, give me a clear, strong recommendation for what to do.
- 05:07Just don't just list options and explain the reasoning briefly in plain language so that I can understand the tradeoff and agree or push back.
- 05:14This is exactly what I needed.
- 05:16And now [snorts] that I have this CLAUDE.md file, we can actually build on top of that as we go.
- 05:22And as we observe, I don't know, any specific Claude code trades that we do not necessarily like or we things that we would like Claude to be doing differently.
- 05:32And these are instructions that do not necessarily apply to any specific projects, but to our workflow in general.
- 05:39Saving those in this, you know, local global CLAUDE.md file is the best idea for that for the time being at least.
- 05:47So now that it has saved this instruction, we are actually ready to move on.
- 05:52So I'll see you in the next video.