codesyncer 1.1.0 β†’ 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ko.md CHANGED
@@ -13,7 +13,15 @@
13
13
 
14
14
  ## 🎯 CodeSyncerλž€?
15
15
 
16
- CodeSyncerλŠ” μ—¬λŸ¬ λ ˆν¬μ§€ν† λ¦¬μ—μ„œ AI μ½”λ”© μ–΄μ‹œμŠ€ν„΄νŠΈμ™€ 효율적으둜 ν˜‘μ—…ν•  수 μžˆλ„λ‘ λ„μ™€μ£ΌλŠ” CLI λ„κ΅¬μž…λ‹ˆλ‹€. ν”„λ‘œμ νŠΈ ꡬ쑰, μ½”λ”© κ·œμΉ™, λΉ„μ¦ˆλ‹ˆμŠ€ κ²°μ • 사항을 μ²΄κ³„μ μœΌλ‘œ λ¬Έμ„œν™”ν•˜μ—¬ AIκ°€ 이해할 수 있게 λ§Œλ“­λ‹ˆλ‹€.
16
+ CodeSyncerλŠ” AI μ½”λ”© μ–΄μ‹œμŠ€ν„΄νŠΈ(Claude Code λ“±)κ°€ λ©€ν‹° λ ˆν¬μ§€ν† λ¦¬ μ›Œν¬μŠ€νŽ˜μ΄μŠ€μ— μ§€λŠ₯ν˜• ν˜‘μ—… μ‹œμŠ€ν…œμ„ ꡬ좕할 수 μžˆλ„λ‘ **ν”„λ ˆμž„μ›Œν¬μ™€ κ·œμΉ™**을 μ œκ³΅ν•©λ‹ˆλ‹€.
17
+
18
+ **μž‘λ™ 방식:**
19
+ 1. **μ‚¬μš©μžκ°€** CodeSyncer CLI μ„€μΉ˜
20
+ 2. **μ‚¬μš©μžκ°€** AI μ–΄μ‹œμŠ€ν„΄νŠΈ μ‹€ν–‰ (Claude Code, Cursor λ“±)
21
+ 3. **μ‚¬μš©μžκ°€** `codesyncer init` μ‹€ν–‰
22
+ 4. **AIκ°€** ν”„λ‘œμ νŠΈλ₯Ό λΆ„μ„ν•˜κ³  CodeSyncer ꡬ쑰에 따라 λ¬Έμ„œ 생성
23
+
24
+ CodeSyncerλŠ” λ¬Έμ„œκ°€ **어디에, μ–΄λ–»κ²Œ** λ§Œλ“€μ–΄μ Έμ•Ό ν•˜λŠ”μ§€ μ •μ˜ν•©λ‹ˆλ‹€. AI μ–΄μ‹œμŠ€ν„΄νŠΈλŠ” μ‹€μ œ μ½”λ“œλ₯Ό λΆ„μ„ν•˜μ—¬ **무엇을** μž‘μ„±ν• μ§€ κ²°μ •ν•©λ‹ˆλ‹€.
17
25
 
18
26
  ### μ£Όμš” κΈ°λŠ₯
19
27
 
@@ -26,6 +34,20 @@ CodeSyncerλŠ” μ—¬λŸ¬ λ ˆν¬μ§€ν† λ¦¬μ—μ„œ AI μ½”λ”© μ–΄μ‹œμŠ€ν„΄νŠΈμ™€ 효율
26
34
 
27
35
  ---
28
36
 
37
+ ## ⚠️ 사전 μš”κ΅¬μ‚¬ν•­
38
+
39
+ **CodeSyncerλŠ” AI μ½”λ”© μ–΄μ‹œμŠ€ν„΄νŠΈκ°€ ν™œμ„±ν™”λ˜μ–΄ μžˆμ–΄μ•Ό ν•©λ‹ˆλ‹€.**
40
+
41
+ ν˜„μž¬ 지원:
42
+ - βœ… **Claude Code** (ꢌμž₯)
43
+ - 🚧 Cursor (κ³§ 지원 μ˜ˆμ •)
44
+ - 🚧 GitHub Copilot (κ³§ 지원 μ˜ˆμ •)
45
+ - 🚧 Continue.dev (κ³§ 지원 μ˜ˆμ •)
46
+
47
+ **μ€‘μš”**: CodeSyncerλ₯Ό μ‚¬μš©ν•˜κΈ° 전에 AI μ½”λ”© μ–΄μ‹œμŠ€ν„΄νŠΈλ₯Ό **μ‹€ν–‰ν•˜κ³  ν™œμ„±ν™”**ν•΄μ£Όμ„Έμš”. AIκ°€ ν”„λ‘œμ νŠΈλ₯Ό λΆ„μ„ν•˜κ³  μ •ν™•ν•œ λ¬Έμ„œλ₯Ό μƒμ„±ν•˜λŠ” 데 도움을 μ€λ‹ˆλ‹€.
48
+
49
+ ---
50
+
29
51
  ## πŸ“¦ μ„€μΉ˜
30
52
 
31
53
  ```bash
@@ -57,7 +79,23 @@ npm install -g codesyncer@latest
57
79
 
58
80
  ## πŸš€ λΉ λ₯Έ μ‹œμž‘
59
81
 
60
- ### 1. μ›Œν¬μŠ€νŽ˜μ΄μŠ€ 루트둜 이동
82
+ ### 1단계: CodeSyncer μ„€μΉ˜
83
+
84
+ ```bash
85
+ npm install -g codesyncer
86
+ ```
87
+
88
+ ### 2단계: AI μ–΄μ‹œμŠ€ν„΄νŠΈ μ‹€ν–‰
89
+
90
+ AI μ½”λ”© μ–΄μ‹œμŠ€ν„΄νŠΈλ₯Ό μ‹€ν–‰ν•˜μ„Έμš”:
91
+ - **Claude Code** (ꢌμž₯)
92
+ - Cursor
93
+ - GitHub Copilot
94
+ - λ˜λŠ” λ‹€λ₯Έ AI μ½”λ”© 도ꡬ
95
+
96
+ λ°˜λ“œμ‹œ **ν™œμ„±ν™”λ˜μ–΄ μ‹€ν–‰ 쀑**이어야 ν•©λ‹ˆλ‹€.
97
+
98
+ ### 3단계: μ›Œν¬μŠ€νŽ˜μ΄μŠ€λ‘œ 이동
61
99
 
62
100
  ```bash
63
101
  cd /path/to/your/workspace
@@ -71,38 +109,73 @@ workspace/
71
109
  └── mobile/
72
110
  ```
73
111
 
74
- ### 2. μ΄ˆκΈ°ν™” μ‹€ν–‰
112
+ ### 4단계: CodeSyncer μ΄ˆκΈ°ν™”
75
113
 
76
114
  ```bash
77
115
  codesyncer init
78
116
  ```
79
117
 
80
- ### 3. μ„€μΉ˜ λͺ¨λ“œ 선택
118
+ λ‹€μŒμ„ μž…λ ₯ν•©λ‹ˆλ‹€:
119
+ - μ–Έμ–΄ 선택 (ν•œκΈ€/English)
120
+ - ν”„λ‘œμ νŠΈ 이름
121
+ - GitHub μ‚¬μš©μžλͺ…
122
+
123
+ **μ‹€ν–‰ κ³Όμ •:**
124
+ 1. CodeSyncerκ°€ λ ˆν¬μ§€ν† λ¦¬ μŠ€μΊ”
125
+ 2. 기술 μŠ€νƒκ³Ό ν”„λ‘œμ νŠΈ νƒ€μž… μžλ™ 감지
126
+ 3. λ°œκ²¬ν•œ 레포 정보와 ν•¨κ»˜ `.codesyncer/SETUP_GUIDE.md` 생성
127
+
128
+ **CodeSyncerλŠ” μ—¬κΈ°κΉŒμ§€λ§Œ ν•©λ‹ˆλ‹€!** ν”„λ ˆμž„μ›Œν¬μ™€ κ·œμΉ™λ§Œ μ œκ³΅ν•˜κ³ , 이제 AIκ°€ 직접 μ„€μ •ν•©λ‹ˆλ‹€.
129
+
130
+ ---
81
131
 
82
- **⚑ 퀡 μ„€μΉ˜** (ꢌμž₯)
83
- - λͺ¨λ“  레포 μžλ™ 감지
84
- - ν•œ λ²ˆμ— ν˜‘μ—… μ‹œμŠ€ν…œ 생성
85
- - λͺ¨λ“  μ˜λ…Ό ν‚€μ›Œλ“œ μžλ™ ν™œμ„±ν™”
132
+ ## ⚠️ μ€‘μš”: 5단계 - AIκ°€ λͺ¨λ“  μ„€μ • μ™„λ£Œ
86
133
 
87
- **πŸ”§ μ „λ¬Έκ°€ μ„€μΉ˜**
88
- - λͺ¨λ“  μ˜΅μ…˜ μ„ΈλΆ€ μ„€μ •
89
- - νŠΉμ • ν‚€μ›Œλ“œ μΉ΄ν…Œκ³ λ¦¬ 선택
90
- - μ»€μŠ€ν…€ ν‚€μ›Œλ“œ μΆ”κ°€
134
+ > **🎯 이 단계λ₯Ό κ±΄λ„ˆλ›°μ§€ λ§ˆμ„Έμš”!** μ—¬κΈ°μ„œ λ§ˆλ²•μ΄ μΌμ–΄λ‚©λ‹ˆλ‹€.
135
+
136
+ **Claude Code μ‹€ν–‰** (λ˜λŠ” μ„ ν˜Έν•˜λŠ” AI μ–΄μ‹œμŠ€ν„΄νŠΈ)ν•˜κ³  λ‹€μŒκ³Ό 같이 λ§ν•˜μ„Έμš”:
137
+
138
+ ```
139
+ ".codesyncer/SETUP_GUIDE.md νŒŒμΌμ„ 읽고 μ§€μ‹œμ‚¬ν•­λŒ€λ‘œ μ„€μ •ν•΄μ€˜"
140
+ ```
91
141
 
92
- ### 4. μ–Έμ–΄ 선택
142
+ ### 이후 μžλ™μœΌλ‘œ μ§„ν–‰λ˜λŠ” μž‘μ—…:
93
143
 
94
- ν•œκΈ€ λ˜λŠ” English 선택
144
+ **1️⃣ AIκ°€ μ½”λ“œ 뢄석**
145
+ - 각 λ ˆν¬μ§€ν† λ¦¬μ˜ μ‹€μ œ 파일 읽기
146
+ - 기술 μŠ€νƒ, νŒ¨ν„΄, ꡬ쑰 νŒŒμ•…
147
+ - ν”„λ‘œμ νŠΈ μ•„ν‚€ν…μ²˜ 이해
95
148
 
96
- ### 5. μ™„λ£Œ!
149
+ **2️⃣ AIκ°€ μ€‘μš”ν•œ 질문** (μ ˆλŒ€ μΆ”λ‘ ν•˜μ§€ μ•ŠμŒ!)
150
+ - ❓ "API μ—”λ“œν¬μΈνŠΈκ°€ λ­μ˜ˆμš”?"
151
+ - ❓ "가격 μ •μ±…κ³Ό λΉ„μ¦ˆλ‹ˆμŠ€ λ‘œμ§μ€ μ–΄λ–»κ²Œ λ˜λ‚˜μš”?"
152
+ - ❓ "μ–΄λ–€ 인증 방식을 μ‚¬μš©ν•˜λ‚˜μš”?"
153
+ - ❓ "λ°μ΄ν„°λ² μ΄μŠ€ μŠ€ν‚€λ§ˆλŠ” μ–΄λ–»κ²Œ κ΅¬μ„±λ˜μ–΄ μžˆλ‚˜μš”?"
154
+ - ❓ "μ–΄λ–€ μ™ΈλΆ€ μ„œλΉ„μŠ€μ™€ μ—°λ™ν•˜λ‚˜μš”?"
155
+
156
+ **3️⃣ AIκ°€ μ™„μ „ν•œ λ¬Έμ„œ 생성**
157
+ - `.codesyncer/MASTER_CODESYNCER.md` β†’ λ©€ν‹° 레포 λ„€λΉ„κ²Œμ΄μ…˜
158
+ - `<repo>/.claude/CLAUDE.md` β†’ μ½”λ”© κ·œμΉ™
159
+ - `<repo>/.claude/ARCHITECTURE.md` β†’ ν”„λ‘œμ νŠΈ ꡬ쑰
160
+ - `<repo>/.claude/DECISIONS.md` β†’ μ˜μ‚¬κ²°μ • 기둝
161
+ - `<repo>/.claude/COMMENT_GUIDE.md` β†’ 주석 νƒœκ·Έ κ°€μ΄λ“œ
162
+
163
+ > **πŸ’‘ μ™œ 이게 νš¨κ³Όμ μΈκ°€**: AIκ°€ μ—¬λŸ¬λΆ„μ˜ μ‹€μ œ μ½”λ“œλ₯Ό λΆ„μ„ν•˜κ³  μ§ˆλ¬Έν•©λ‹ˆλ‹€. μƒμ„±λœ λ¬Έμ„œλŠ” 일반적인 ν…œν”Œλ¦Ώμ΄ μ•„λ‹Œ, μ—¬λŸ¬λΆ„μ˜ ν”„λ‘œμ νŠΈμ— λ§žμΆ€ν™”λœ λ‚΄μš©μž…λ‹ˆλ‹€.
164
+
165
+ ---
166
+
167
+ ### 6단계: μ½”λ”© μ‹œμž‘!
168
+
169
+ 섀정이 μ™„λ£Œλ˜λ©΄ AIμ—κ²Œ λ‹€μŒκ³Ό 같이 λ§ν•˜μ„Έμš”:
170
+ ```
171
+ "CLAUDE.md μ½μ–΄μ€˜"
172
+ ```
97
173
 
98
- CodeSyncerκ°€ μžλ™μœΌλ‘œ:
99
- - 레포 μŠ€μΊ” 및 감지 (Java, Python, Node.js, React λ“±)
100
- - μ›Œν¬μŠ€νŽ˜μ΄μŠ€ λ£¨νŠΈμ— λ§ˆμŠ€ν„° λ¬Έμ„œ 생성 (`.codesyncer/MASTER_CODESYNCER.md`)
101
- - 각 λ ˆν¬μ— ν˜‘μ—… 파일 생성 (`.claude/` 폴더)
102
- - `CLAUDE.md` - μ½”λ”© κ°€μ΄λ“œλΌμΈ
103
- - `COMMENT_GUIDE.md` - 주석 νƒœκ·Έ μ‚¬μš© κ°€μ΄λ“œ
104
- - `ARCHITECTURE.md` - ν”„λ‘œμ νŠΈ ꡬ쑰 (μžλ™ μ—…λ°μ΄νŠΈ)
105
- - `DECISIONS.md` - μ˜μ‚¬κ²°μ • 기둝
174
+ AI μ–΄μ‹œμŠ€ν„΄νŠΈκ°€:
175
+ - ν”„λ‘œμ νŠΈμ˜ μ½”λ”© κ·œμΉ™ μ€€μˆ˜
176
+ - μ˜¬λ°”λ₯Έ 기술 μŠ€νƒ νŒ¨ν„΄ μ‚¬μš©
177
+ - μ€‘μš”ν•œ κ²°μ • μ „ 질문
178
+ - λͺ¨λ“  결정을 `@codesyncer-*` νƒœκ·Έλ‘œ 기둝
106
179
 
107
180
  ---
108
181
 
package/README.md CHANGED
@@ -13,7 +13,15 @@
13
13
 
14
14
  ## 🎯 What is CodeSyncer?
15
15
 
16
- CodeSyncer is a CLI tool that sets up an intelligent collaboration system between you and AI coding assistants across multiple repositories. It helps AI understand your project structure, coding standards, and business decisions through a structured documentation system.
16
+ CodeSyncer provides the **framework and rules** for AI coding assistants (like Claude Code) to set up an intelligent collaboration system across your multi-repository workspace.
17
+
18
+ **How it works:**
19
+ 1. **You install** CodeSyncer CLI
20
+ 2. **You launch** your AI assistant (Claude Code, Cursor, etc.)
21
+ 3. **You run** `codesyncer init`
22
+ 4. **AI analyzes** your projects and generates documentation following CodeSyncer's structure
23
+
24
+ CodeSyncer defines **WHERE** and **HOW** documentation should be created. Your AI assistant fills in the **WHAT** by analyzing your actual code.
17
25
 
18
26
  ### Key Features
19
27
 
@@ -26,6 +34,20 @@ CodeSyncer is a CLI tool that sets up an intelligent collaboration system betwee
26
34
 
27
35
  ---
28
36
 
37
+ ## ⚠️ Prerequisites
38
+
39
+ **CodeSyncer requires an AI coding assistant to be active.**
40
+
41
+ Currently supported:
42
+ - βœ… **Claude Code** (Recommended)
43
+ - 🚧 Cursor (Coming soon)
44
+ - 🚧 GitHub Copilot (Coming soon)
45
+ - 🚧 Continue.dev (Coming soon)
46
+
47
+ **Important**: Make sure your AI coding assistant is **running and active** before using CodeSyncer. The AI will analyze your projects and help generate accurate documentation.
48
+
49
+ ---
50
+
29
51
  ## πŸ“¦ Installation
30
52
 
31
53
  ```bash
@@ -57,7 +79,23 @@ npm install -g codesyncer@latest
57
79
 
58
80
  ## πŸš€ Quick Start
59
81
 
60
- ### 1. Navigate to your workspace root
82
+ ### Step 1: Install CodeSyncer
83
+
84
+ ```bash
85
+ npm install -g codesyncer
86
+ ```
87
+
88
+ ### Step 2: Launch your AI assistant
89
+
90
+ Open your AI coding assistant:
91
+ - **Claude Code** (Recommended)
92
+ - Cursor
93
+ - GitHub Copilot
94
+ - Or any other AI coding tool
95
+
96
+ Make sure it's **active and running**.
97
+
98
+ ### Step 3: Navigate to your workspace
61
99
 
62
100
  ```bash
63
101
  cd /path/to/your/workspace
@@ -71,38 +109,73 @@ workspace/
71
109
  └── mobile/
72
110
  ```
73
111
 
74
- ### 2. Run initialization
112
+ ### Step 4: Initialize CodeSyncer
75
113
 
76
114
  ```bash
77
115
  codesyncer init
78
116
  ```
79
117
 
80
- ### 3. Choose setup mode
118
+ You'll be asked:
119
+ - Language preference (Korean/English)
120
+ - Project name
121
+ - GitHub username
122
+
123
+ **What happens:**
124
+ 1. CodeSyncer scans your repositories
125
+ 2. Detects tech stacks and project types
126
+ 3. Creates `.codesyncer/SETUP_GUIDE.md` with discovered repository information
127
+
128
+ **That's all CodeSyncer does!** It provides the framework and rules. Now your AI takes over.
129
+
130
+ ---
81
131
 
82
- **⚑ Quick Setup** (Recommended)
83
- - Auto-detects all repositories
84
- - Creates collaboration system in one step
85
- - Enables all discussion keywords automatically
132
+ ## ⚠️ IMPORTANT: Step 5 - Let AI Set Everything Up
86
133
 
87
- **πŸ”§ Expert Setup**
88
- - Full customization options
89
- - Select specific keyword categories
90
- - Add custom keywords
134
+ > **🎯 Don't skip this step!** This is where the magic happens.
135
+
136
+ **Launch Claude Code** (or your preferred AI assistant) and say:
137
+
138
+ ```
139
+ "Read .codesyncer/SETUP_GUIDE.md and follow the instructions to set up"
140
+ ```
91
141
 
92
- ### 4. Select language
142
+ ### What happens next (automatically):
93
143
 
94
- Choose between Korean (ν•œκΈ€) or English
144
+ **1️⃣ AI Analyzes Your Code**
145
+ - Reads actual files in each repository
146
+ - Detects tech stack, patterns, and structure
147
+ - Understands your project architecture
95
148
 
96
- ### 5. That's it!
149
+ **2️⃣ AI Asks Critical Questions** (Never assumes!)
150
+ - ❓ "What are your API endpoints?"
151
+ - ❓ "What's your pricing and business logic?"
152
+ - ❓ "Which authentication method do you use?"
153
+ - ❓ "What's your database schema?"
154
+ - ❓ "Which external services do you integrate?"
155
+
156
+ **3️⃣ AI Generates Complete Documentation**
157
+ - `.codesyncer/MASTER_CODESYNCER.md` β†’ Multi-repo navigation
158
+ - `<repo>/.claude/CLAUDE.md` β†’ Coding rules
159
+ - `<repo>/.claude/ARCHITECTURE.md` β†’ Project structure
160
+ - `<repo>/.claude/DECISIONS.md` β†’ Decision log
161
+ - `<repo>/.claude/COMMENT_GUIDE.md` β†’ Comment tag guide
162
+
163
+ > **πŸ’‘ Why this works**: AI analyzes YOUR actual code and asks YOU questions. The generated docs are tailored to your specific project, not generic templates.
164
+
165
+ ---
166
+
167
+ ### Step 6: Start Coding!
168
+
169
+ Once setup is complete, just tell your AI:
170
+ ```
171
+ "Read CLAUDE.md"
172
+ ```
97
173
 
98
- CodeSyncer will:
99
- - Scan and detect your repositories (Java, Python, Node.js, React, etc.)
100
- - Create master document at workspace root (`.codesyncer/MASTER_CODESYNCER.md`)
101
- - Generate collaboration files in each repo (`.claude/` folder)
102
- - `CLAUDE.md` - Coding guidelines
103
- - `COMMENT_GUIDE.md` - Comment tag usage guide
104
- - `ARCHITECTURE.md` - Project structure (auto-updated)
105
- - `DECISIONS.md` - Decision log
174
+ Your AI assistant will then:
175
+ - Follow your project's coding rules
176
+ - Use the correct tech stack patterns
177
+ - Ask before making critical decisions
178
+ - Record all decisions with `@codesyncer-*` tags
106
179
 
107
180
  ---
108
181
 
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAoH,MAAM,UAAU,CAAC;AAMzJ,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,iBAkErD"}
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/commands/init.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAY,MAAM,UAAU,CAAC;AAIjD,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,iBAuNrD"}