Skip to content

chore: Claude Code 설정·문서 정리 (훅·CLAUDE.md·.gitignore) - #42

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/41
Jun 5, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/41

Conversation

@OnlyReadOneBook

Copy link
Copy Markdown
Owner

📌𝘐𝘴𝘴𝘶𝘦𝘴

📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯

  • .claude/hooks 에 UserPromptSubmit 훅 2개 추가
    • auto-annotate-reminder.sh: 코드 이해·동작 질문 시 답변 후 해당 코드 파일에 주석·KDoc 보강
    • source-authority-reminder.sh: 버전·라이브러리·빌드툴체인·디자인 키워드 감지 시 역할별 공식 문서 권위 소스(A~F + Compose↔Kotlin) 규칙 주입
  • CLAUDE.md: '작업 원칙'(A~F 권위 소스)을 source-authority 훅으로 이전, Project Context 의 Mock/실 API 설명을 demo/prod product flavor 로 동기화
  • .gitignore: 단독 프로젝트라 루트 CLAUDE.md·.claude 설정/훅을 git 추적하도록 전환(폐기된 백업 메커니즘 흔적 제거, 런타임 lock 만 제외)
  • .claude/settings.local.json: 위 두 훅의 UserPromptSubmit 등록

📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵

앱 UI 변경 없음 (Claude Code 개인 운영 환경/문서 변경).

💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴

  • 앱 코드와 독립적인 변경이라 빌드 영향이 없습니다.
  • 앱 코드(QA 12건 + mock/real → demo/prod flavor 리팩토링)는 feat/40 에서 별도 PR 로 올라갑니다.

- 프로젝트 컨벤션 및 도메인 지식을 정의한 CLAUDE.md 추가
- UserPromptSubmit 이벤트 발생 시 실행될 자동화 훅 스크립트 2종 추가
    - auto-annotate-reminder.sh: 코드 이해 관련 질문 시 KDoc/주석 보강 규칙 주입
    - source-authority-reminder.sh: 기술 스택별 공식 문서 권위 소스 참조 규칙 주입
- .claude/settings.local.json에 생성한 훅 스크립트 등록
- .gitignore 수정: CLAUDE.md 및 설정 파일을 Git 추적 대상으로 변경하고 런타임 부산물만 제외하도록 설정
@github-actions
github-actions Bot merged commit ef3fc67 into main Jun 5, 2026
4 checks passed
@github-actions
github-actions Bot deleted the feat/41 branch June 5, 2026 12:26
OnlyReadOneBook pushed a commit that referenced this pull request Oct 14, 2026
chore: Claude Code 설정·문서 정리 (훅·CLAUDE.md·.gitignore)
OnlyReadOneBook pushed a commit that referenced this pull request Oct 14, 2026
chore: Claude Code 설정·문서 정리 (훅·CLAUDE.md·.gitignore)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Claude Code 설정·문서 정리 (훅·CLAUDE.md·.gitignore)

1 participant