📝 docs: .gitignore 자동 추가 및 설치 스크립트 수정

This commit is contained in:
“hyeonggkim”
2026-04-13 14:01:12 +09:00
parent d9fa54eb2e
commit c58d698df6
2 changed files with 26 additions and 5 deletions

View File

@@ -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 로 복사
```