
jung-wan-kim/cc-sync-template
API development이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Git을 통해 Claude Code 설정 (~/.claude/)을 동기화하십시오. 모든 장치에 백업 및 복원.
개요
Git을 통해 Claude Code 설정(~/.claude/)을 백업하고 동기화합니다. 모든 장치에 즉시 복원. - ~/.claude/는 지역적으로 존재합니다 -- OS 재설치 또는 디스크 실패 = 모든 것은 사라집니다 - 다수 장치 = 기술, 걸이, 각 기계에 따로따로 진화하는 규칙 - 수동 동기화는 과실 직업입니다 -- 1개의 파일을 놓고 일 틈 Claude Code에서 /cc-sync 및 /cc-apply를 활성화하려면 example 명령 파일을 복사하십시오. Cross-device 메모리 동기화는 메모리 뱅크 플러그인을 요구합니다: 이 복사 메모리 은행은 다음 세션을 자동으로 가져옵니다. - 전보 봇 토큰 / 채팅 ID - Supabase 키 (특히 service role) - API 키, 암호 - 개인 파일 경로
개요(AI 번역)
Git을 통해 Claude Code 설정(~/.claude/])을 백업하고 동기화합니다. 모든 장치에 즉시 복원.
문제
~/.claude/로컬 – OS 재설치 또는 디스크 실패 = 모든 것이 사라집니다- 다중 장치 = 기술, 후크, 각 기계에 별도로 진화 규칙
- 수동 동기화는 오류 – 하나의 파일과 것들을 놓치지
그것이 작동하는 방법
빠른 시작
##1. 이 repo를 복제
2. 첫 번째 동기화 (설정을 내보내기)
##3. 다른 장치에서 (import)
슬래시 명령 (선택 사항)
예제 명령 파일을 복사하여 /cc-sync]과 /cc-apply]을 Claude Code로 설정하십시오.
그런 다음 Claude 코드 :
동기화되는 것
| 전화번호 |
|-----------|-------|
| agents/ | 주문제 정의 |
| [T5] | 기술 파일(SKILL.md) |
| hooks/ | 후크 스크립트 (자동 유효성, 알림 등) |
| [T7] | 규칙 파일 (코딩 패턴, 리뷰 규칙) |
| [T8] | 플러그인 설치 |
| [T9] | 슬래시 명령 정의 |
| [T10] | 실용 스크립트 |
| [T11] | 메모리 파일 |
| [T12] | 팀 정의 |
| [T13] | 글로벌 설정 |
| [T14] | 글로벌 지침 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
cc-sync
Back up and sync all your Claude Code settings (~/.claude/) via Git. Restore instantly on any device.
The Problem
~/.claude/only exists locally – OS reinstall or disk failure = everything gone- Multiple devices = skills, hooks, rules evolving separately on each machine
- Manual sync is error-prone – miss one file and things break
How It Works
~/.claude/ cc-sync (Git repo) Other Device
skills/ ──sync.sh──→ skills/ ──apply.sh──→ ~/.claude/
hooks/ hooks/ skills/
rules/ rules/ hooks/
agents/ agents/ rules/
plugins/ plugins/ agents/
settings.json settings.json ...
... memory-bank-sync/ ←── import-sync.sh
Quick Start
1. Clone this repo
git clone https://github.com/YOUR_USERNAME/cc-sync.git ~/Project/cc-sync
cd ~/Project/cc-sync
2. First sync (export your settings)
./sync.sh
# Follow prompts to commit and push
3. On another device (import)
git clone https://github.com/YOUR_USERNAME/cc-sync.git ~/Project/cc-sync
cd ~/Project/cc-sync
./apply.sh
claude restart
Slash Commands (Optional)
Copy the example command files to enable /cc-sync and /cc-apply in Claude Code:
cp examples/commands/cc-sync.md ~/.claude/commands/
cp examples/commands/cc-apply.md ~/.claude/commands/
Then in Claude Code:
/cc-sync # Export: ~/.claude/ → Git
/cc-apply # Import: Git → ~/.claude/
What Gets Synced
| Directory | Description |
|---|---|
agents/ |
Custom agent definitions |
skills/ |
Skill files (SKILL.md) |
hooks/ |
Hook scripts (auto-validate, notifications, etc.) |
rules/ |
Rule files (coding patterns, review rules) |
plugins/ |
Installed plugins |
commands/ |
Slash command definitions |
scripts/ |
Utility scripts |
memory/ |
Memory files |
teams/ |
Team definitions |
settings.json |
Global settings |
CLAUDE.md |
Global instructions |
memory-bank-sync/ |
Cross-device memory-bank facts |
Automation
Daily auto-sync (within a Claude Code session)
/loop 1d /cc-sync
Memory-Bank cross-device sync
Cross-device memory sync requires the memory-bank plugin:
# Install memory-bank plugin (one-time)
/plugin marketplace add https://github.com/jung-wan-kim/memory-bank
/plugin install memory-bank
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add jung-wan-kim/cc-sync-template