팟캐스트로 돌아가기Claude
Claude Code 101
Your first Claude Code prompt
You talk to Claude Code like you would talk to any AI assistant.
Claude Code와 대화할 때는 다른 AI 어시스턴트와 대화하는 것처럼 하면 됩니다.
When entering your prompt, here are some things that you can consider that can both protect and make things easier for you.
프롬프트를 입력할 때 여러분을 보호하고 더 편리하게 만들어 줄 수 있는 몇 가지 사항을 고려해 볼 수 있습니다.
You can choose whether Claude auto accepts every file change it suggests or require it to ask you for explicit permission each time.
Claude가 제안하는 모든 파일 변경 사항을 자동으로 수락할지, 아니면 매번 명시적인 허가를 요청하도록 할지 선택할 수 있습니다.
With shift plus tab, you can cycle between both modes.
shift+tab을 사용하면 두 가지 모드 사이를 전환할 수 있습니다.
In auto accept mode, it will automatically approve an edit or creation of a file, but ask your permission to run commands.
auto-accept 모드에서는 파일 편집이나 생성을 자동으로 승인하지만, 명령어 실행 시에는 허가를 요청합니다.
There isn't a right or wrong way.
맞거나 틀린 방법이 따로 있는 것은 아닙니다.
It's just whatever you feel the most comfortable with.
가장 편안하게 느끼는 방법을 사용하면 됩니다.
Within this shift tab menu is the plan mode.
이 shift+tab 메뉴 안에 plan mode가 있습니다.
Plan mode takes your prompt and uses read-only tools to analyze your code base and do research on your suggested implementation.
plan mode는 프롬프트를 받아 읽기 전용 도구를 사용하여 코드베이스를 분석하고 제안된 구현 방법을 조사합니다.
It will also ask you questions on items that it wants clarification on.
또한 명확히 하고 싶은 항목에 대해 질문을 하기도 합니다.
It then returns to you a long detailed plan that it can execute on in more detail.
그런 다음 더 상세하게 실행할 수 있는 긴 상세 계획을 반환합니다.
Plan mode works great for planning complex changes or doing a safe code review.
plan mode는 복잡한 변경 사항을 계획하거나 안전한 코드 리뷰를 할 때 매우 유용합니다.
A lot of the time you're asking Claude to do multi-step implementations towards a feature and this is exactly what plan mode excels at.
많은 경우 Claude에게 기능을 향한 다단계 구현을 요청하는데, 이것이 바로 plan mode가 뛰어난 부분입니다.
So, why don't we give it a try?
그러면, 한번 해볼까요?
I have an application here that desperately needs a dark mode toggle.
여기 다크 모드 토글 기능이 정말 필요한 애플리케이션이 있습니다.
So, I'm going to use Claude Code to implement this for me.
그래서 Claude Code를 사용하여 이것을 구현해 보겠습니다.
So, I'm in the root directory of my project and I'm going to hit the shift tab a couple times to go into plan mode.
지금 프로젝트의 루트 디렉토리에 있는데, shift+tab을 몇 번 눌러 plan mode로 들어가겠습니다.
Then, let's write out the prompt.
그런 다음 프롬프트를 작성해 봅시다.
My app needs a dark mode implemented across the entire app.
앱 전체에 다크 모드를 구현해야 합니다.
Can you create a toggle switch on the header that allows user to toggle between light mode and dark mode?
사용자가 라이트 모드와 다크 모드를 전환할 수 있는 토글 스위치를 헤더에 만들어 줄 수 있나요?
I need you to find a good contrast color that works based on my existing light
기존 라이트
And let's let Claude plan this out.
Claude가 계획을 세우도록 해봅시다.
And after reviewing, I think it looks pretty good.
검토 후, 꽤 좋아 보인다고 생각합니다.
At the end of all this, we can see explicitly what Claude did and how it came to its conclusion.
이 모든 것의 끝에, 우리는 Claude가 무엇을 했고 어떻게 결론에 도달했는지 명확하게 볼 수 있습니다.
And the dark mode is looking pretty good.
다크 모드가 꽤 잘 보입니다.
When using Claude Code, try to be as descriptive as possible with your prompt.
Claude Code를 사용할 때는 프롬프트를 최대한 구체적으로 작성하도록 하세요.
If you want to stay in the loop at every step, you can do that.
모든 단계에서 루프에 머물고 싶다면 그렇게 할 수 있습니다.
Use plan mode to let Claude get a little bit more in the nitty-gritty with what you want to achieve before executing on that plan.
plan mode를 사용하여 계획을 실행하기 전에 Claude가 달성하고자 하는 것을 더 세밀하게 파악하도록 하세요.