codesyncer 1.0.5 โ 2.0.0
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 +82 -23
- package/README.md +82 -23
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +95 -401
- 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/dist/utils/scanner.d.ts.map +1 -1
- package/dist/utils/scanner.js +67 -15
- package/dist/utils/scanner.js.map +1 -1
- 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,59 @@ 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 ์ฌ์ฉ์๋ช
|
|
81
122
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
123
|
+
**์คํ ๊ณผ์ :**
|
|
124
|
+
1. CodeSyncer๊ฐ ๋ ํฌ์งํ ๋ฆฌ ์ค์บ
|
|
125
|
+
2. ๊ธฐ์ ์คํ๊ณผ ํ๋ก์ ํธ ํ์
์๋ ๊ฐ์ง
|
|
126
|
+
3. ๋ฐ๊ฒฌํ ๋ ํฌ ์ ๋ณด์ ํจ๊ป `.codesyncer/SETUP_GUIDE.md` ์์ฑ
|
|
86
127
|
|
|
87
|
-
|
|
88
|
-
- ๋ชจ๋ ์ต์
์ธ๋ถ ์ค์
|
|
89
|
-
- ํน์ ํค์๋ ์นดํ
๊ณ ๋ฆฌ ์ ํ
|
|
90
|
-
- ์ปค์คํ
ํค์๋ ์ถ๊ฐ
|
|
128
|
+
**CodeSyncer๋ ์ฌ๊ธฐ๊น์ง๋ง ํฉ๋๋ค!** ํ๋ ์์ํฌ์ ๊ท์น๋ง ์ ๊ณตํ๊ณ , ์ด์ AI๊ฐ ์ง์ ์ค์ ํฉ๋๋ค.
|
|
91
129
|
|
|
92
|
-
###
|
|
130
|
+
### 5๋จ๊ณ: AI๊ฐ ๋ชจ๋ ์ค์ ์๋ฃ
|
|
93
131
|
|
|
94
|
-
|
|
132
|
+
Claude Code (๋๋ ์ ํธํ๋ AI ์ด์์คํดํธ)๋ฅผ ์คํํ๊ณ ๋ค์๊ณผ ๊ฐ์ด ๋งํ์ธ์:
|
|
95
133
|
|
|
96
|
-
|
|
134
|
+
```
|
|
135
|
+
".codesyncer/SETUP_GUIDE.md ํ์ผ์ ์ฝ๊ณ ์ง์์ฌํญ๋๋ก ์ค์ ํด์ค"
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**AI๊ฐ ์ํํ๋ ์์
:**
|
|
139
|
+
1. **๋ถ์**: ์ค์ ์ฝ๋๋ฅผ ์ฝ๊ณ ๊ฐ ๋ ํฌ์งํ ๋ฆฌ ๋ถ์
|
|
140
|
+
2. **์ง๋ฌธ**: ์ค์ํ ์ฌํญ์ ์ ๋ ์ถ๋ก ํ์ง ์๊ณ ์ง๋ฌธํฉ๋๋ค:
|
|
141
|
+
- API ์๋ํฌ์ธํธ
|
|
142
|
+
- ๋น์ฆ๋์ค ๋ก์ง๊ณผ ๊ฐ๊ฒฉ ์ ์ฑ
|
|
143
|
+
- ์ธ์ฆ ๋ฐฉ์
|
|
144
|
+
- ๋ฐ์ดํฐ๋ฒ ์ด์ค ์คํค๋ง
|
|
145
|
+
- ์ธ๋ถ ์๋น์ค ์ฐ๋
|
|
146
|
+
3. **๋ฌธ์ ์์ฑ**: ์ฌ์ฉ์ ๋ต๋ณ์ ๊ธฐ๋ฐ์ผ๋ก ์์ฑ:
|
|
147
|
+
- `.codesyncer/MASTER_CODESYNCER.md` (๋ฉํฐ ๋ ํฌ ๋ค๋น๊ฒ์ด์
)
|
|
148
|
+
- `<repo>/.claude/CLAUDE.md` (์ฝ๋ฉ ๊ท์น)
|
|
149
|
+
- `<repo>/.claude/ARCHITECTURE.md` (ํ๋ก์ ํธ ๊ตฌ์กฐ)
|
|
150
|
+
- `<repo>/.claude/DECISIONS.md` (์์ฌ๊ฒฐ์ ๊ธฐ๋ก)
|
|
151
|
+
- `<repo>/.claude/COMMENT_GUIDE.md` (ํ๊ทธ ๊ฐ์ด๋)
|
|
152
|
+
|
|
153
|
+
### 6๋จ๊ณ: ์ฝ๋ฉ ์์!
|
|
154
|
+
|
|
155
|
+
์ค์ ์ด ์๋ฃ๋๋ฉด AI์๊ฒ ๋ค์๊ณผ ๊ฐ์ด ๋งํ์ธ์:
|
|
156
|
+
```
|
|
157
|
+
"CLAUDE.md ์ฝ์ด์ค"
|
|
158
|
+
```
|
|
97
159
|
|
|
98
|
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
|
|
103
|
-
- `COMMENT_GUIDE.md` - ์ฃผ์ ํ๊ทธ ์ฌ์ฉ ๊ฐ์ด๋
|
|
104
|
-
- `ARCHITECTURE.md` - ํ๋ก์ ํธ ๊ตฌ์กฐ (์๋ ์
๋ฐ์ดํธ)
|
|
105
|
-
- `DECISIONS.md` - ์์ฌ๊ฒฐ์ ๊ธฐ๋ก
|
|
160
|
+
AI ์ด์์คํดํธ๊ฐ:
|
|
161
|
+
- ํ๋ก์ ํธ์ ์ฝ๋ฉ ๊ท์น ์ค์
|
|
162
|
+
- ์ฌ๋ฐ๋ฅธ ๊ธฐ์ ์คํ ํจํด ์ฌ์ฉ
|
|
163
|
+
- ์ค์ํ ๊ฒฐ์ ์ ์ง๋ฌธ
|
|
164
|
+
- ๋ชจ๋ ๊ฒฐ์ ์ `@codesyncer-*` ํ๊ทธ๋ก ๊ธฐ๋ก
|
|
106
165
|
|
|
107
166
|
---
|
|
108
167
|
|
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,59 @@ 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
|
|
81
122
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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
|
|
86
127
|
|
|
87
|
-
|
|
88
|
-
- Full customization options
|
|
89
|
-
- Select specific keyword categories
|
|
90
|
-
- Add custom keywords
|
|
128
|
+
**That's all CodeSyncer does!** It provides the framework and rules. Now your AI takes over.
|
|
91
129
|
|
|
92
|
-
###
|
|
130
|
+
### Step 5: Let AI Set Everything Up
|
|
93
131
|
|
|
94
|
-
|
|
132
|
+
Launch Claude Code (or your preferred AI assistant) and say:
|
|
95
133
|
|
|
96
|
-
|
|
134
|
+
```
|
|
135
|
+
"Read .codesyncer/SETUP_GUIDE.md and follow the instructions to set up"
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
**What the AI will do:**
|
|
139
|
+
1. **Analyze** each repository by reading actual code
|
|
140
|
+
2. **Ask you** critical questions (never assumes):
|
|
141
|
+
- API endpoints
|
|
142
|
+
- Business logic and pricing
|
|
143
|
+
- Authentication methods
|
|
144
|
+
- Database schemas
|
|
145
|
+
- External service integrations
|
|
146
|
+
3. **Generate documentation** based on your answers:
|
|
147
|
+
- `.codesyncer/MASTER_CODESYNCER.md` (multi-repo navigation)
|
|
148
|
+
- `<repo>/.claude/CLAUDE.md` (coding rules)
|
|
149
|
+
- `<repo>/.claude/ARCHITECTURE.md` (project structure)
|
|
150
|
+
- `<repo>/.claude/DECISIONS.md` (decision log)
|
|
151
|
+
- `<repo>/.claude/COMMENT_GUIDE.md` (tag guide)
|
|
152
|
+
|
|
153
|
+
### Step 6: Start Coding!
|
|
154
|
+
|
|
155
|
+
Once setup is complete, just tell your AI:
|
|
156
|
+
```
|
|
157
|
+
"Read CLAUDE.md"
|
|
158
|
+
```
|
|
97
159
|
|
|
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
|
|
160
|
+
Your AI assistant will then:
|
|
161
|
+
- Follow your project's coding rules
|
|
162
|
+
- Use the correct tech stack patterns
|
|
163
|
+
- Ask before making critical decisions
|
|
164
|
+
- Record all decisions with `@codesyncer-*` tags
|
|
106
165
|
|
|
107
166
|
---
|
|
108
167
|
|
|
@@ -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,iBAkLrD"}
|