📝 docs: .gitignore 자동 추가 및 설치 스크립트 수정
This commit is contained in:
@@ -56,13 +56,18 @@ git submodule update --init --recursive
|
||||
bash .claude/common/scripts/install.sh https://git.sginfra.net/sgp-web-d/gameservice-fe-agent.git
|
||||
```
|
||||
|
||||
> `install.sh`는 `.gitignore`에 `.claude/common/`를 자동으로 추가합니다.
|
||||
> `.gitignore`가 없으면 새로 생성합니다.
|
||||
|
||||
설치 후 프로젝트 구조는 다음과 같이 됩니다.
|
||||
|
||||
```
|
||||
your-project/
|
||||
├── .claude/
|
||||
│ ├── common/ ← submodule (gameservice-fe-agent)
|
||||
│ └── project/ ← 프로젝트 고유 지침
|
||||
│ ├── project/ ← 프로젝트 고유 지침
|
||||
│ └── skills/ ← 공통 skill 심볼릭 링크
|
||||
├── .gitignore ← .claude/common/ 자동 추가됨
|
||||
├── CLAUDE.md ← 공통 + 프로젝트 지침을 @import
|
||||
└── ...
|
||||
```
|
||||
@@ -109,6 +114,7 @@ bash .claude/common/scripts/update.sh
|
||||
```bash
|
||||
bash .claude/common/scripts/install.sh https://git.sginfra.net/sgp-web-d/gameservice-fe-agent.git
|
||||
# → .claude/common 에 submodule 설치
|
||||
# → .gitignore 에 .claude/common/ 추가
|
||||
# → templates/project/*.md 를 .claude/project/ 로 복사
|
||||
# → templates/CLAUDE.md.tpl 을 루트 CLAUDE.md 로 복사
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user