클로드 코드 완벽 가이드
홈
기본과정
고급 확장
GitHub
홈
기본과정
고급 확장
GitHub
  • 기본과정

    • 시작하기

      • Intro
      • Install
      • Login & Logout
    • 기본 사용법

      • First Prompt
      • Prompt History
      • ESC Interrupt
      • Rewind Your Code
      • Prompt In Editor
      • Claude cli
      • XML
    • 개발 환경

      • Claude Directory Structure
      • Settings.json
      • Permission
    • 고급 기능

      • Memory
      • Context
      • MCP
      • Change Mode
      • MultiModal - Image
      • observability
      • Statusline
      • Thinking
    • 기타

      • Output File
      • Keep Up to Date
      • Usage Check

.claude 디렉토리

.claude 디렉토리는 Claude Code의 설정과 데이터를 저장하는 중앙 저장소입니다.

사용자 홈(~/.claude/)과 프로젝트별(.claude/)로 나뉘어 전역/프로젝트 설정을 관리합니다.

디렉토리 구조

.claude/
├── commands/           # 커스텀 슬래시 커맨드 (.md)
├── debug/              # 디버그 정보 (.txt)
├── file-history/       # 파일 변경 이력 백업 ({session_id}/{version})
├── hooks/              # 이벤트 스크립트 (.sh, .py, .ts 등)
├── ide/                # IDE 통합 설정
├── logs/               # 실행 로그 (.log)
├── output-styles/      # 커스텀 출력 스타일, 시스템 프롬프트 변경
├── plugins/            # 플러그인 저장소 (.json, marketplaces/**/*.md)
├── projects/           # 프로젝트별 세션 로그 (.jsonl)
├── todos/              # 할일 목록 추적, pending -> in_progress -> completed로 변경됨, Todo가 끝나면 빈 배열이 됨 (.json)
├── history.jsonl       # 세션 히스토리 파일, 전체내용
└── settings.json       # 설정
이 페이지 수정하기
최종 수정: 25. 11. 12. 오후 2:24
Contributors: hello
Next
Settings.json