docs: CLAUDE.md + 슬래시 커맨드 + 워크플로우 가이드 추가
Claude Code 협업 효율화를 위한 문서 체계 구축: - CLAUDE.md: 서비스 맵·코드 규칙·배포 정보 (매 세션 자동 로드) - 슬래시 커맨드 5개: deploy, check-deploy, cache-bust, add-page, add-api - WORKFLOW-GUIDE.md: Plan 모드·서브에이전트·검증 루프 활용 가이드 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
25
.claude/commands/check-deploy.md
Normal file
25
.claude/commands/check-deploy.md
Normal file
@@ -0,0 +1,25 @@
|
||||
NAS 서비스 상태 점검:
|
||||
|
||||
1. SSH로 docker compose ps 실행:
|
||||
```
|
||||
ssh hyungi@100.71.132.52 "cd /volume1/docker/tk-factory-services && export PATH=\$PATH:/volume2/@appstore/ContainerManager/usr/bin && docker compose ps"
|
||||
```
|
||||
|
||||
2. 각 주요 서비스 health check (curl로 확인):
|
||||
- Gateway (30000): curl http://100.71.132.52:30000/
|
||||
- SSO Auth (30050): curl http://100.71.132.52:30050/health
|
||||
- System1 API (30005): curl http://100.71.132.52:30005/api/health
|
||||
- System2 API (30105): curl http://100.71.132.52:30105/api/health
|
||||
- System3 API (30200): curl http://100.71.132.52:30200/health
|
||||
- tkuser API (30300): curl http://100.71.132.52:30300/api/health
|
||||
- tkpurchase API (30400): curl http://100.71.132.52:30400/api/health
|
||||
- tksafety API (30500): curl http://100.71.132.52:30500/api/health
|
||||
- tksupport API (30600): curl http://100.71.132.52:30600/api/health
|
||||
- tkeg API (30700): curl http://100.71.132.52:30700/health
|
||||
|
||||
3. 로컬 vs NAS git 커밋 비교:
|
||||
- 로컬: `git rev-parse HEAD`
|
||||
- NAS: `ssh hyungi@100.71.132.52 "cd /volume1/docker/tk-factory-services && git rev-parse HEAD"`
|
||||
- 차이가 있으면 어떤 커밋이 빠져있는지 보고
|
||||
|
||||
4. 결과를 표로 정리하여 보고 (서비스명 | 상태 | health check | 비고)
|
||||
Reference in New Issue
Block a user