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 +96 -23
- package/README.md +96 -23
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +120 -393
- package/dist/commands/init.js.map +1 -1
- package/dist/templates/en/comment_guide.md +460 -202
- package/dist/templates/en/setup_guide.md +296 -0
- package/dist/templates/ko/comment_guide.md +461 -203
- package/dist/templates/ko/setup_guide.md +296 -0
- package/package.json +1 -1
- package/src/templates/en/comment_guide.md +460 -202
- package/src/templates/en/setup_guide.md +296 -0
- package/src/templates/ko/comment_guide.md +461 -203
- package/src/templates/ko/setup_guide.md +296 -0
package/README.ko.md
CHANGED
|
@@ -13,7 +13,15 @@
|
|
|
13
13
|
|
|
14
14
|
## π― CodeSyncerλ?
|
|
15
15
|
|
|
16
|
-
CodeSyncerλ
|
|
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
|
-
###
|
|
112
|
+
### 4λ¨κ³: CodeSyncer μ΄κΈ°ν
|
|
75
113
|
|
|
76
114
|
```bash
|
|
77
115
|
codesyncer init
|
|
78
116
|
```
|
|
79
117
|
|
|
80
|
-
|
|
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
|
-
###
|
|
142
|
+
### μ΄ν μλμΌλ‘ μ§νλλ μμ
:
|
|
93
143
|
|
|
94
|
-
|
|
144
|
+
**1οΈβ£ AIκ° μ½λ λΆμ**
|
|
145
|
+
- κ° λ ν¬μ§ν 리μ μ€μ νμΌ μ½κΈ°
|
|
146
|
+
- κΈ°μ μ€ν, ν¨ν΄, ꡬ쑰 νμ
|
|
147
|
+
- νλ‘μ νΈ μν€ν
μ² μ΄ν΄
|
|
95
148
|
|
|
96
|
-
|
|
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
|
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
|
|
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
|
|
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
|
|
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
|
-
###
|
|
112
|
+
### Step 4: Initialize CodeSyncer
|
|
75
113
|
|
|
76
114
|
```bash
|
|
77
115
|
codesyncer init
|
|
78
116
|
```
|
|
79
117
|
|
|
80
|
-
|
|
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
|
-
|
|
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
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
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
|
-
###
|
|
142
|
+
### What happens next (automatically):
|
|
93
143
|
|
|
94
|
-
|
|
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
|
-
|
|
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
|
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
|
|
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,
|
|
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"}
|