Detailed installation and configuration
한국어 | English
npm install -g codesyncercd /path/to/your/projectcodesyncer initYou'll be asked:
- Language preference (Korean/English)
- Project name
- GitHub username
- Hooks setup (recommended)
For Single Repository:
"Read .claude/SETUP_GUIDE.md and follow the instructions"
For Multi-Repository:
"Read .codesyncer/SETUP_GUIDE.md and follow the instructions"
"Read CLAUDE.md"
CodeSyncer automatically detects your project type:
| Type | Detection | Output |
|---|---|---|
| Single Repo | package.json, .git in current folder |
.claude/SETUP_GUIDE.md |
| Monorepo | turbo.json, pnpm-workspace.yaml, nx.json, lerna.json |
.codesyncer/SETUP_GUIDE.md |
| Multi-Repo | Subfolders with separate repos | .codesyncer/SETUP_GUIDE.md |
my-project/
├── CLAUDE.md # Claude reads this first
└── .claude/
├── CLAUDE.md # Coding guidelines
├── COMMENT_GUIDE.md # Tag usage guide
├── ARCHITECTURE.md # Project structure
├── DECISIONS.md # Decision log
└── settings.json # Hooks (optional)
workspace/
├── CLAUDE.md # Claude reads this first
├── .codesyncer/
│ └── MASTER_CODESYNCER.md # Multi-repo navigation
├── backend/
│ └── .claude/
│ └── (same files)
└── frontend/
└── .claude/
└── (same files)
codesyncer --version # Current version
npm view codesyncer version # Latest versionnpm install -g codesyncer@latestcodesyncer validate # Check setup
codesyncer update # Sync with latest templatesWhen you update CodeSyncer, your templates may be outdated:
📦 New Version Detected: v3.2.0
📁 my-project/
• CLAUDE.md (v3.1.0 → v3.2.0)
• COMMENT_GUIDE.md (no version → v3.2.0)
? Upgrade 2 template(s)?
> Yes - Upgrade (backup existing files)
No - Skip
Preview - Show files only
Features:
- Auto-detects outdated templates
- Creates
.backupfiles before upgrade - Preserves project variables
codesyncer validate # Basic check
codesyncer validate --verbose # Show file pathsWhat it checks:
- Master setup exists
- Root
CLAUDE.mdfor auto-loading - All repos have required files
- No unfilled placeholders
| Command | Description |
|---|---|
codesyncer init |
Initialize project |
codesyncer update |
Update/sync templates |
codesyncer validate |
Check setup |
codesyncer watch |
Real-time monitoring |
codesyncer add-repo |
Add new repo to workspace |
- ✅ Turborepo (
turbo.json) - ✅ pnpm (
pnpm-workspace.yaml) - ✅ Nx (
nx.json) - ✅ Lerna (
lerna.json) - ✅ npm/Yarn workspaces
- ✅ Rush (
rush.json)