codesyncer 2.2.3 β 2.3.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 +42 -9
- package/README.md +42 -9
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +78 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/templates/en/setup_guide_single.md +324 -0
- package/dist/templates/ko/setup_guide_single.md +324 -0
- package/dist/utils/scanner.d.ts +9 -1
- package/dist/utils/scanner.d.ts.map +1 -1
- package/dist/utils/scanner.js +48 -33
- package/dist/utils/scanner.js.map +1 -1
- package/package.json +1 -1
- package/src/templates/en/setup_guide_single.md +324 -0
- package/src/templates/ko/setup_guide_single.md +324 -0
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
# π€ CodeSyncer Setup Guide for AI Assistants (Single Repository)
|
|
2
|
+
|
|
3
|
+
> **For AI Coding Assistants**: Read this document completely and follow the instructions to set up the CodeSyncer collaboration system.
|
|
4
|
+
>
|
|
5
|
+
> **Project**: [PROJECT_NAME]
|
|
6
|
+
> **GitHub**: https://github.com/[GITHUB_USERNAME]/[PROJECT_NAME]
|
|
7
|
+
> **Created**: [TODAY]
|
|
8
|
+
> **Mode**: Single Repository
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## π Your Mission
|
|
13
|
+
|
|
14
|
+
You are tasked with analyzing this repository and creating a comprehensive collaboration system. Follow these steps **interactively** - ask the user for confirmation at each major decision point.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## π― Step 1: Analyze the Repository
|
|
19
|
+
|
|
20
|
+
### Your Task
|
|
21
|
+
1. **Analyze this repository** by examining:
|
|
22
|
+
- File structure and dependencies
|
|
23
|
+
- Tech stack and frameworks
|
|
24
|
+
- Project purpose and architecture
|
|
25
|
+
- Existing code patterns
|
|
26
|
+
|
|
27
|
+
2. **Determine the following**:
|
|
28
|
+
- Primary function (backend, frontend, mobile, fullstack)
|
|
29
|
+
- Main technologies used
|
|
30
|
+
- Key features and modules
|
|
31
|
+
- Development patterns
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## π Step 2: Interactive Setup Process
|
|
36
|
+
|
|
37
|
+
### 2.1 Confirm Repository Analysis
|
|
38
|
+
Present your analysis to the user:
|
|
39
|
+
```
|
|
40
|
+
π Repository: [PROJECT_NAME]
|
|
41
|
+
|
|
42
|
+
My analysis:
|
|
43
|
+
- Type: [backend/frontend/mobile/fullstack]
|
|
44
|
+
- Tech Stack: [detected stack]
|
|
45
|
+
- Description: [your generated description]
|
|
46
|
+
- Key Features: [list main features]
|
|
47
|
+
|
|
48
|
+
Is this analysis correct? Any adjustments needed?
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 2.2 Ask Critical Questions
|
|
52
|
+
|
|
53
|
+
**β οΈ NEVER infer these - always ask:**
|
|
54
|
+
|
|
55
|
+
1. **API Endpoints** (for backend):
|
|
56
|
+
- "What is the main API base URL?"
|
|
57
|
+
- "Are there multiple API versions?"
|
|
58
|
+
|
|
59
|
+
2. **Business Logic**:
|
|
60
|
+
- "What are the key business rules I should know?"
|
|
61
|
+
- "Any specific pricing/payment policies?"
|
|
62
|
+
|
|
63
|
+
3. **Authentication**:
|
|
64
|
+
- "What authentication method is used?" (JWT, OAuth, Session, etc.)
|
|
65
|
+
- "Where are tokens stored?" (cookies, localStorage, etc.)
|
|
66
|
+
|
|
67
|
+
4. **Database**:
|
|
68
|
+
- "What database is used?"
|
|
69
|
+
- "Any critical schema information?"
|
|
70
|
+
|
|
71
|
+
5. **External Services**:
|
|
72
|
+
- "Which external APIs/services are integrated?"
|
|
73
|
+
- "Any API keys or credentials I should be aware of (without exposing them)?"
|
|
74
|
+
|
|
75
|
+
### 2.3 Identify Discussion Keywords
|
|
76
|
+
|
|
77
|
+
Ask the user:
|
|
78
|
+
```
|
|
79
|
+
For this project, which critical keywords should trigger automatic discussion pauses?
|
|
80
|
+
|
|
81
|
+
Suggested categories:
|
|
82
|
+
|
|
83
|
+
π΄ CRITICAL (Always pause):
|
|
84
|
+
- π° Payment/Billing: payment, billing, charge, refund, subscription, invoice, pricing, fee
|
|
85
|
+
- π Security/Auth: authentication, authorization, login, logout, session, token, jwt, password, encrypt, decrypt, hash, salt, oauth, permission, role, admin
|
|
86
|
+
- ποΈ Data Deletion: delete, remove, drop, truncate, destroy, purge, erase
|
|
87
|
+
- π Privacy/Legal: GDPR, CCPA, personal data, PII, privacy policy, terms of service, consent, compliance
|
|
88
|
+
|
|
89
|
+
π‘ IMPORTANT (Recommended pause):
|
|
90
|
+
- π External APIs: API integration, webhook, third-party, external service, API key, credentials
|
|
91
|
+
- ποΈ Database Schema: migration, schema change, alter table, add column, drop column, index, constraint
|
|
92
|
+
- π Deployment/Infra: deploy, deployment, production, environment, server, hosting, domain, SSL, certificate
|
|
93
|
+
- πΎ Caching: cache strategy, redis, memcached, CDN, cache invalidation
|
|
94
|
+
- π§ Email/Notifications: email sending, SMS, push notification, notification service
|
|
95
|
+
|
|
96
|
+
π’ MINOR (Optional pause):
|
|
97
|
+
- β‘ Performance: optimization, performance, caching, lazy loading, code splitting, bundle size
|
|
98
|
+
- π§ͺ Testing: test strategy, testing framework, CI/CD, automated testing
|
|
99
|
+
- π Logging/Monitoring: logging, monitoring, analytics, error tracking, APM
|
|
100
|
+
- π¨ UI/UX: design system, theme, responsive, accessibility, internationalization
|
|
101
|
+
|
|
102
|
+
Which categories should I enable? (Recommend: CRITICAL + IMPORTANT)
|
|
103
|
+
Any custom keywords specific to your domain?
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## π Step 3: Generate Documentation Files
|
|
109
|
+
|
|
110
|
+
Create these files in `.claude/` folder:
|
|
111
|
+
|
|
112
|
+
### 3.1 CLAUDE.md
|
|
113
|
+
- Project information from your analysis
|
|
114
|
+
- Absolute rules (TypeScript strict mode, error handling, etc.)
|
|
115
|
+
- No-inference zones (business logic numbers, API URLs, security settings)
|
|
116
|
+
- Discussion-required keywords (from user's selection)
|
|
117
|
+
- Comment tag system (@codesyncer-* tags)
|
|
118
|
+
- Project-specific templates and patterns
|
|
119
|
+
|
|
120
|
+
Use template: `./templates/[lang]/claude.md`
|
|
121
|
+
- Replace [PROJECT_NAME], [PROJECT_TYPE], [TECH_STACK]
|
|
122
|
+
- Replace [KEYWORDS] with user-confirmed keywords
|
|
123
|
+
- Add project-specific rules discovered during analysis
|
|
124
|
+
|
|
125
|
+
### 3.2 ARCHITECTURE.md
|
|
126
|
+
- Complete folder structure (scan actual directories)
|
|
127
|
+
- File statistics
|
|
128
|
+
- Comment tag statistics (initial: all 0)
|
|
129
|
+
- Tech stack details
|
|
130
|
+
- Dependencies from package.json
|
|
131
|
+
|
|
132
|
+
Use template: `./templates/[lang]/architecture.md`
|
|
133
|
+
- Actually scan and list real folder structure
|
|
134
|
+
- List actual dependencies
|
|
135
|
+
|
|
136
|
+
### 3.3 COMMENT_GUIDE.md β **Core Document**
|
|
137
|
+
- **Manage all context with comments** (quality standards, coding standards, all decisions)
|
|
138
|
+
- 10 comment tag system (5 basic + 5 extended)
|
|
139
|
+
- Real examples: quality standards, performance optimization, security, error handling, etc.
|
|
140
|
+
- Principle: Record directly in code instead of separate docs
|
|
141
|
+
|
|
142
|
+
Use template: `./templates/[lang]/comment_guide.md`
|
|
143
|
+
- Use as-is (includes all context management examples)
|
|
144
|
+
- AI follows these patterns for writing comments
|
|
145
|
+
|
|
146
|
+
### 3.4 DECISIONS.md
|
|
147
|
+
- Decision log template
|
|
148
|
+
- Category definitions
|
|
149
|
+
- Empty decision records (to be filled during development)
|
|
150
|
+
|
|
151
|
+
Use template: `./templates/[lang]/decisions.md`
|
|
152
|
+
- Use as-is (decisions added during work)
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## π Step 4: Generate Root CLAUDE.md
|
|
157
|
+
|
|
158
|
+
Create `CLAUDE.md` at the repository root (automatically discovered by Claude):
|
|
159
|
+
|
|
160
|
+
```markdown
|
|
161
|
+
# CLAUDE.md - [PROJECT_NAME]
|
|
162
|
+
|
|
163
|
+
> **Powered by CodeSyncer** - AI Collaboration System
|
|
164
|
+
> **Mode**: Single Repository
|
|
165
|
+
|
|
166
|
+
## π Quick Start
|
|
167
|
+
|
|
168
|
+
Read `.claude/CLAUDE.md` for detailed coding guidelines.
|
|
169
|
+
|
|
170
|
+
## π Documentation
|
|
171
|
+
|
|
172
|
+
- **Coding Rules**: `.claude/CLAUDE.md`
|
|
173
|
+
- **Project Structure**: `.claude/ARCHITECTURE.md`
|
|
174
|
+
- **Comment Guide**: `.claude/COMMENT_GUIDE.md`
|
|
175
|
+
- **Decisions Log**: `.claude/DECISIONS.md`
|
|
176
|
+
|
|
177
|
+
## π Start Working
|
|
178
|
+
|
|
179
|
+
1. Read this file (done!)
|
|
180
|
+
2. Check `.claude/CLAUDE.md` for project rules
|
|
181
|
+
3. Ask questions if anything is unclear
|
|
182
|
+
4. Start coding!
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
**Project**: [PROJECT_NAME]
|
|
187
|
+
**Created**: [TODAY]
|
|
188
|
+
**Powered by**: CodeSyncer
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**Important**: This file must exist for Claude to automatically load context at session start!
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## β
Step 5: Final Confirmation
|
|
196
|
+
|
|
197
|
+
After generating all files, present a summary:
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
β
CodeSyncer Setup Complete! (Single Repository Mode)
|
|
201
|
+
|
|
202
|
+
Created files:
|
|
203
|
+
π [PROJECT_NAME]/
|
|
204
|
+
βββ CLAUDE.md β Claude reads this first
|
|
205
|
+
βββ .claude/
|
|
206
|
+
βββ CLAUDE.md (Coding rules)
|
|
207
|
+
βββ ARCHITECTURE.md (Project structure)
|
|
208
|
+
βββ COMMENT_GUIDE.md (Comment guide)
|
|
209
|
+
βββ DECISIONS.md (Decision log)
|
|
210
|
+
|
|
211
|
+
Next Steps:
|
|
212
|
+
1. Review the generated files
|
|
213
|
+
2. Customize .claude/CLAUDE.md as needed
|
|
214
|
+
3. Start a new session or say "Read CLAUDE.md" to apply
|
|
215
|
+
|
|
216
|
+
π‘ Claude automatically finds and reads root CLAUDE.md!
|
|
217
|
+
|
|
218
|
+
Ready to start using CodeSyncer!
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## π¨ Customization Guidelines
|
|
224
|
+
|
|
225
|
+
### For Backend Projects:
|
|
226
|
+
- Focus on API structure in ARCHITECTURE.md
|
|
227
|
+
- Add API endpoint documentation
|
|
228
|
+
- Emphasize security and data handling rules
|
|
229
|
+
- Include database schema if provided
|
|
230
|
+
|
|
231
|
+
### For Frontend Projects:
|
|
232
|
+
- Document component structure
|
|
233
|
+
- Include styling approach (CSS modules, Tailwind, etc.)
|
|
234
|
+
- Add state management patterns
|
|
235
|
+
- Document routing structure
|
|
236
|
+
|
|
237
|
+
### For Mobile Projects:
|
|
238
|
+
- Document screen navigation
|
|
239
|
+
- Include platform-specific notes (iOS/Android)
|
|
240
|
+
- Add native module integrations
|
|
241
|
+
- Document build/deployment process
|
|
242
|
+
|
|
243
|
+
### For Fullstack Projects:
|
|
244
|
+
- Combine backend + frontend guidelines
|
|
245
|
+
- Document API β UI integration
|
|
246
|
+
- Include data flow patterns
|
|
247
|
+
- Add deployment strategy
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## π¨ Critical Rules for AI Assistants
|
|
252
|
+
|
|
253
|
+
1. **Always ask, never assume** for:
|
|
254
|
+
- Business logic numbers
|
|
255
|
+
- API endpoints
|
|
256
|
+
- Security configurations
|
|
257
|
+
- Database schemas
|
|
258
|
+
|
|
259
|
+
2. **Be thorough** in analysis:
|
|
260
|
+
- Read actual code, don't guess
|
|
261
|
+
- Check package.json dependencies
|
|
262
|
+
- Scan folder structure completely
|
|
263
|
+
- Identify code patterns
|
|
264
|
+
|
|
265
|
+
3. **Be interactive**:
|
|
266
|
+
- Ask for confirmation at each step
|
|
267
|
+
- Present your analysis before generating
|
|
268
|
+
- Allow user to correct your understanding
|
|
269
|
+
|
|
270
|
+
4. **Use @codesyncer-* tags** in all examples:
|
|
271
|
+
- All code comments use new format
|
|
272
|
+
- Explain @claude-* compatibility
|
|
273
|
+
- Show proper tag usage
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## π Template Placeholders
|
|
278
|
+
|
|
279
|
+
When generating files, replace these:
|
|
280
|
+
|
|
281
|
+
- `[PROJECT_NAME]` β User's project name
|
|
282
|
+
- `[PROJECT_TYPE]` β backend/frontend/mobile/fullstack
|
|
283
|
+
- `[TECH_STACK]` β Detected tech stack (comma-separated)
|
|
284
|
+
- `[TODAY]` β Current date (YYYY-MM-DD)
|
|
285
|
+
- `[GITHUB_USERNAME]` β User's GitHub username
|
|
286
|
+
- `[KEYWORDS]` β User-confirmed discussion keywords
|
|
287
|
+
- `[TEMPLATES]` β Project type-specific templates
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
## π― Success Criteria
|
|
292
|
+
|
|
293
|
+
Setup is successful when:
|
|
294
|
+
- β
`.claude/` folder created with all 4 files
|
|
295
|
+
- β
Root CLAUDE.md created
|
|
296
|
+
- β
User confirmed all critical information
|
|
297
|
+
- β
No assumptions made about business logic or secrets
|
|
298
|
+
- β
All documentation uses @codesyncer-* tag format
|
|
299
|
+
- β
Project-specific patterns documented
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## ποΈ After Setup
|
|
304
|
+
|
|
305
|
+
Once setup is complete, you can delete this file:
|
|
306
|
+
|
|
307
|
+
```
|
|
308
|
+
"Delete .claude/SETUP_GUIDE.md"
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
Or manually:
|
|
312
|
+
```bash
|
|
313
|
+
rm .claude/SETUP_GUIDE.md
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
**Version**: 1.0.0 (Powered by CodeSyncer)
|
|
319
|
+
**Mode**: Single Repository
|
|
320
|
+
**AI Tools**: Optimized for Claude Code | Compatible with: Cursor, GitHub Copilot, Continue.dev
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
*This setup guide is generated by CodeSyncer CLI. For issues or improvements, visit: https://github.com/bitjaru/codesyncer*
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
# π€ CodeSyncer μ€μ κ°μ΄λ for AI μ΄μμ€ν΄νΈ (λ¨μΌ λ ν¬μ§ν 리)
|
|
2
|
+
|
|
3
|
+
> **AI μ½λ© μ΄μμ€ν΄νΈμ©**: μ΄ λ¬Έμλ₯Ό λκΉμ§ μ½κ³ μ§μμ¬νμ λ°λΌ CodeSyncer νμ
μμ€ν
μ μ€μ νμΈμ.
|
|
4
|
+
>
|
|
5
|
+
> **νλ‘μ νΈ**: [PROJECT_NAME]
|
|
6
|
+
> **GitHub**: https://github.com/[GITHUB_USERNAME]/[PROJECT_NAME]
|
|
7
|
+
> **μμ±μΌ**: [TODAY]
|
|
8
|
+
> **λͺ¨λ**: λ¨μΌ λ ν¬μ§ν 리
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## π λΉμ μ μ무
|
|
13
|
+
|
|
14
|
+
μ΄ λ ν¬μ§ν 리λ₯Ό λΆμνκ³ ν¬κ΄μ μΈ νμ
μμ€ν
μ λ§λλ κ²μ΄ μ무μ
λλ€. λ€μ λ¨κ³λ₯Ό **λννμΌλ‘** μ§ννμΈμ - κ° μ£Όμ κ²°μ μμ μμ μ¬μ©μ νμΈμ λ°μΌμΈμ.
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## π― 1λ¨κ³: λ ν¬μ§ν 리 λΆμ
|
|
19
|
+
|
|
20
|
+
### λΉμ μ μμ
|
|
21
|
+
1. **μ΄ λ ν¬μ§ν 리 λΆμ**:
|
|
22
|
+
- νμΌ κ΅¬μ‘°μ μμ‘΄μ± κ²ν
|
|
23
|
+
- κΈ°μ μ€νκ³Ό νλ μμν¬ νμ
|
|
24
|
+
- νλ‘μ νΈ λͺ©μ κ³Ό μν€ν
μ² μ΄ν΄
|
|
25
|
+
- κΈ°μ‘΄ μ½λ ν¨ν΄ νμΈ
|
|
26
|
+
|
|
27
|
+
2. **λ€μμ κ²°μ **:
|
|
28
|
+
- μ£Όμ κΈ°λ₯ (backend, frontend, mobile, fullstack)
|
|
29
|
+
- μ¬μ©λ μ£Όμ κΈ°μ
|
|
30
|
+
- ν΅μ¬ κΈ°λ₯κ³Ό λͺ¨λ
|
|
31
|
+
- κ°λ° ν¨ν΄
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## π 2λ¨κ³: λνν μ€μ νλ‘μΈμ€
|
|
36
|
+
|
|
37
|
+
### 2.1 λ ν¬μ§ν 리 λΆμ νμΈ
|
|
38
|
+
μ¬μ©μμκ² λΆμ κ²°κ³Ό μ μ:
|
|
39
|
+
```
|
|
40
|
+
π λ ν¬μ§ν 리: [PROJECT_NAME]
|
|
41
|
+
|
|
42
|
+
μ λΆμ κ²°κ³Ό:
|
|
43
|
+
- νμ
: [backend/frontend/mobile/fullstack]
|
|
44
|
+
- κΈ°μ μ€ν: [detected stack]
|
|
45
|
+
- μ€λͺ
: [μμ±ν μ€λͺ
]
|
|
46
|
+
- ν΅μ¬ κΈ°λ₯: [μ£Όμ κΈ°λ₯ λμ΄]
|
|
47
|
+
|
|
48
|
+
μ΄ λΆμμ΄ λ§λμ? μμ ν λΆλΆμ΄ μλμ?
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 2.2 μ€μ μ§λ¬ΈνκΈ°
|
|
52
|
+
|
|
53
|
+
**β οΈ μ λ μΆλ‘ νμ§ λ§κ³ λ°λμ λ¬Όμ΄λ³΄μΈμ:**
|
|
54
|
+
|
|
55
|
+
1. **API μλν¬μΈνΈ** (λ°±μλμ κ²½μ°):
|
|
56
|
+
- "λ©μΈ API λ² μ΄μ€ URLμ΄ λ¬΄μμΈκ°μ?"
|
|
57
|
+
- "μ¬λ¬ API λ²μ μ΄ μλμ?"
|
|
58
|
+
|
|
59
|
+
2. **λΉμ¦λμ€ λ‘μ§**:
|
|
60
|
+
- "μμμΌ ν ν΅μ¬ λΉμ¦λμ€ κ·μΉμ΄ μλμ?"
|
|
61
|
+
- "νΉμ κ°κ²©/κ²°μ μ μ±
μ΄ μλμ?"
|
|
62
|
+
|
|
63
|
+
3. **μΈμ¦**:
|
|
64
|
+
- "μ΄λ€ μΈμ¦ λ°©μμ μ¬μ©νλμ?" (JWT, OAuth, Session λ±)
|
|
65
|
+
- "ν ν°μ μ΄λμ μ μ₯νλμ?" (cookies, localStorage λ±)
|
|
66
|
+
|
|
67
|
+
4. **λ°μ΄ν°λ² μ΄μ€**:
|
|
68
|
+
- "μ΄λ€ λ°μ΄ν°λ² μ΄μ€λ₯Ό μ¬μ©νλμ?"
|
|
69
|
+
- "μ€μν μ€ν€λ§ μ λ³΄κ° μλμ?"
|
|
70
|
+
|
|
71
|
+
5. **μΈλΆ μλΉμ€**:
|
|
72
|
+
- "μ΄λ€ μΈλΆ API/μλΉμ€μ μ°λλλμ?"
|
|
73
|
+
- "μμμΌ ν API ν€λ μΈμ¦ μ λ³΄κ° μλμ? (λ
ΈμΆ μμ΄)"
|
|
74
|
+
|
|
75
|
+
### 2.3 μλ
Ό ν€μλ μλ³
|
|
76
|
+
|
|
77
|
+
μ¬μ©μμκ² μ§λ¬Έ:
|
|
78
|
+
```
|
|
79
|
+
μ΄ νλ‘μ νΈμμ μ΄λ€ μ€μ ν€μλκ° μλ μλ
Ό μ€λ¨μ νΈλ¦¬κ±°ν΄μΌ νλμ?
|
|
80
|
+
|
|
81
|
+
μΆμ² μΉ΄ν
κ³ λ¦¬:
|
|
82
|
+
|
|
83
|
+
π΄ CRITICAL (νμ μ€λ¨):
|
|
84
|
+
- π° κ²°μ /κ³ΌκΈ: κ²°μ , κ³ΌκΈ, μ²κ΅¬, νλΆ, ꡬλ
, μΈλ³΄μ΄μ€, κ°κ²©, μκΈ, payment, billing, charge, refund, subscription
|
|
85
|
+
- π 보μ/μΈμ¦: μΈμ¦, κΆν, λ‘κ·ΈμΈ, λ‘κ·Έμμ, μΈμ
, ν ν°, JWT, λΉλ°λ²νΈ, μνΈν, 볡νΈν, ν΄μ, OAuth, κΆν, μν , κ΄λ¦¬μ, authentication, authorization, encrypt, decrypt
|
|
86
|
+
- ποΈ λ°μ΄ν° μμ : μμ , μ κ±°, μμ μ²λ¦¬, νκΈ°, delete, remove, drop, truncate, destroy, purge
|
|
87
|
+
- π κ°μΈμ 보/λ²μ : GDPR, CCPA, κ°μΈμ 보, λ―Όκ°μ 보, κ°μΈμ 보μ²λ¦¬λ°©μΉ¨, μ΄μ©μ½κ΄, λμ, κ·μ μ€μ, personal data, PII, privacy, compliance
|
|
88
|
+
|
|
89
|
+
π‘ IMPORTANT (κΆμ₯ μ€λ¨):
|
|
90
|
+
- π μΈλΆ API: API μ°λ, μΉν
, μ¨λνν°, μΈλΆμλΉμ€, API ν€, μΈμ¦μ 보, webhook, third-party, credentials
|
|
91
|
+
- ποΈ DB μ€ν€λ§: λ§μ΄κ·Έλ μ΄μ
, μ€ν€λ§λ³κ²½, ν
μ΄λΈμμ , 컬λΌμΆκ°, μΈλ±μ€, μ μ½μ‘°κ±΄, migration, schema, alter table
|
|
92
|
+
- π λ°°ν¬/μΈνλΌ: λ°°ν¬, νλ‘λμ
, νκ²½μ€μ , μλ², νΈμ€ν
, λλ©μΈ, SSL, μΈμ¦μ, deploy, deployment, production, server
|
|
93
|
+
- πΎ μΊμ±: μΊμμ λ΅, λ λμ€, CDN, μΊμ무ν¨ν, redis, memcached, cache
|
|
94
|
+
- π§ μ΄λ©μΌ/μλ¦Ό: μ΄λ©μΌλ°μ‘, λ¬Έμ, νΈμμλ¦Ό, μλ¦ΌμλΉμ€, email, SMS, push notification
|
|
95
|
+
|
|
96
|
+
π’ MINOR (μ νμ μ€λ¨):
|
|
97
|
+
- β‘ μ±λ₯: μ΅μ ν, μ±λ₯κ°μ , μ§μ°λ‘λ©, μ½λλΆν , λ²λ€ν¬κΈ°, optimization, performance, lazy loading
|
|
98
|
+
- π§ͺ ν
μ€νΈ: ν
μ€νΈμ λ΅, ν
μ€νΈνλ μμν¬, CI/CD, μλνν
μ€νΈ, testing, automated testing
|
|
99
|
+
- π λ‘κΉ
/λͺ¨λν°λ§: λ‘κΉ
, λͺ¨λν°λ§, λΆμ, μλ¬μΆμ , APM, logging, monitoring, analytics
|
|
100
|
+
- π¨ UI/UX: λμμΈμμ€ν
, ν
λ§, λ°μν, μ κ·Όμ±, λ€κ΅μ΄, design system, responsive, accessibility
|
|
101
|
+
|
|
102
|
+
μ΄λ€ μΉ΄ν
κ³ λ¦¬λ₯Ό νμ±νν κΉμ? (κΆμ₯: CRITICAL + IMPORTANT)
|
|
103
|
+
λλ©μΈλ³ 컀μ€ν
ν€μλκ° μλμ?
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## π 3λ¨κ³: λ¬Έμ νμΌ μμ±
|
|
109
|
+
|
|
110
|
+
`.claude/` ν΄λμ λ€μ νμΌλ€μ μμ±:
|
|
111
|
+
|
|
112
|
+
### 3.1 CLAUDE.md
|
|
113
|
+
- λΆμν νλ‘μ νΈ μ 보
|
|
114
|
+
- μ λ κ·μΉ (TypeScript strict mode, μλ¬ νΈλ€λ§ λ±)
|
|
115
|
+
- μΆλ‘ κΈμ§ μμ (λΉμ¦λμ€ λ‘μ§ μμΉ, API URL, 보μ μ€μ )
|
|
116
|
+
- μλ
Ό νμ ν€μλ (μ¬μ©μκ° νμΈν ν€μλ)
|
|
117
|
+
- μ£Όμ νκ·Έ μμ€ν
(@codesyncer-* νκ·Έ)
|
|
118
|
+
- νλ‘μ νΈλ³ ν
νλ¦Ώκ³Ό ν¨ν΄
|
|
119
|
+
|
|
120
|
+
ν
νλ¦Ώ μ¬μ©: `./templates/[lang]/claude.md`
|
|
121
|
+
- [PROJECT_NAME], [PROJECT_TYPE], [TECH_STACK] κ΅μ²΄
|
|
122
|
+
- [KEYWORDS]λ₯Ό μ¬μ©μ νμΈ ν€μλλ‘ κ΅μ²΄
|
|
123
|
+
- λΆμ μ€ λ°κ²¬ν νλ‘μ νΈλ³ κ·μΉ μΆκ°
|
|
124
|
+
|
|
125
|
+
### 3.2 ARCHITECTURE.md
|
|
126
|
+
- μμ ν ν΄λ ꡬ쑰 (μ€μ λλ ν 리 μ€μΊ)
|
|
127
|
+
- νμΌ ν΅κ³
|
|
128
|
+
- μ£Όμ νκ·Έ ν΅κ³ (μ΄κΈ°κ°: λͺ¨λ 0)
|
|
129
|
+
- κΈ°μ μ€ν μμΈ μ 보
|
|
130
|
+
- package.jsonμ μμ‘΄μ±
|
|
131
|
+
|
|
132
|
+
ν
νλ¦Ώ μ¬μ©: `./templates/[lang]/architecture.md`
|
|
133
|
+
- μ€μ ν΄λ ꡬ쑰λ₯Ό μ€μΊν΄μ λμ΄
|
|
134
|
+
- μ€μ μμ‘΄μ± λͺ©λ‘ μμ±
|
|
135
|
+
|
|
136
|
+
### 3.3 COMMENT_GUIDE.md β **ν΅μ¬ λ¬Έμ**
|
|
137
|
+
- **μ£ΌμμΌλ‘ λͺ¨λ 컨ν
μ€νΈ κ΄λ¦¬** (νμ§ κΈ°μ€, μ½λ© νμ€, λͺ¨λ κ²°μ )
|
|
138
|
+
- 10κ°μ§ μ£Όμ νκ·Έ μμ€ν
(κΈ°λ³Έ 5 + νμ₯ 5)
|
|
139
|
+
- μ€μ μμ: νμ§ κΈ°μ€, μ±λ₯ μ΅μ ν, 보μ, μλ¬ νΈλ€λ§ λ±
|
|
140
|
+
- λ³λ λ¬Έμ λμ μ½λμ μ§μ κΈ°λ‘νλ μμΉ
|
|
141
|
+
|
|
142
|
+
ν
νλ¦Ώ μ¬μ©: `./templates/[lang]/comment_guide.md`
|
|
143
|
+
- κ·Έλλ‘ μ¬μ© (λͺ¨λ 컨ν
μ€νΈ κ΄λ¦¬ μμ ν¬ν¨)
|
|
144
|
+
- AIλ μ΄ ν¨ν΄μ λ°λΌ μ£Όμ μμ±
|
|
145
|
+
|
|
146
|
+
### 3.4 DECISIONS.md
|
|
147
|
+
- κ²°μ λ‘κ·Έ ν
νλ¦Ώ
|
|
148
|
+
- μΉ΄ν
κ³ λ¦¬ μ μ
|
|
149
|
+
- λΉ κ²°μ κΈ°λ‘ (κ°λ° μ€ μ±μμ§)
|
|
150
|
+
|
|
151
|
+
ν
νλ¦Ώ μ¬μ©: `./templates/[lang]/decisions.md`
|
|
152
|
+
- κ·Έλλ‘ μ¬μ© (μμ
μ€ κ²°μ μΆκ°λ¨)
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## π 4λ¨κ³: λ£¨νΈ CLAUDE.md μμ±
|
|
157
|
+
|
|
158
|
+
λ ν¬μ§ν 리 루νΈμ `CLAUDE.md` μμ± (ν΄λ‘λκ° μλμΌλ‘ μ°Ύλ νμΌ):
|
|
159
|
+
|
|
160
|
+
```markdown
|
|
161
|
+
# CLAUDE.md - [PROJECT_NAME]
|
|
162
|
+
|
|
163
|
+
> **Powered by CodeSyncer** - AI νμ
μμ€ν
|
|
164
|
+
> **λͺ¨λ**: λ¨μΌ λ ν¬μ§ν 리
|
|
165
|
+
|
|
166
|
+
## π λΉ λ₯Έ μμ
|
|
167
|
+
|
|
168
|
+
μμΈν μ½λ© κ°μ΄λλΌμΈμ `.claude/CLAUDE.md`λ₯Ό μ½μΌμΈμ.
|
|
169
|
+
|
|
170
|
+
## π λ¬Έμ
|
|
171
|
+
|
|
172
|
+
- **μ½λ© κ·μΉ**: `.claude/CLAUDE.md`
|
|
173
|
+
- **νλ‘μ νΈ κ΅¬μ‘°**: `.claude/ARCHITECTURE.md`
|
|
174
|
+
- **μ£Όμ κ°μ΄λ**: `.claude/COMMENT_GUIDE.md`
|
|
175
|
+
- **κ²°μ λ‘κ·Έ**: `.claude/DECISIONS.md`
|
|
176
|
+
|
|
177
|
+
## π μμ
μμ
|
|
178
|
+
|
|
179
|
+
1. μ΄ νμΌ μ½κΈ° (μλ£!)
|
|
180
|
+
2. `.claude/CLAUDE.md`μμ νλ‘μ νΈ κ·μΉ νμΈ
|
|
181
|
+
3. λΆλͺ
νν κ²μ μ§λ¬ΈνκΈ°
|
|
182
|
+
4. μ½λ© μμ!
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
**νλ‘μ νΈ**: [PROJECT_NAME]
|
|
187
|
+
**μμ±μΌ**: [TODAY]
|
|
188
|
+
**Powered by**: CodeSyncer
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**μ€μ**: μ΄ νμΌμ΄ μμ΄μΌ ν΄λ‘λκ° μΈμ
μμ μ μλμΌλ‘ 컨ν
μ€νΈλ₯Ό λ‘λν©λλ€!
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
## β
5λ¨κ³: μ΅μ’
νμΈ
|
|
196
|
+
|
|
197
|
+
λͺ¨λ νμΌ μμ± ν μμ½ μ μ:
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
β
CodeSyncer μ€μ μλ£! (λ¨μΌ λ ν¬μ§ν 리 λͺ¨λ)
|
|
201
|
+
|
|
202
|
+
μμ±λ νμΌ:
|
|
203
|
+
π [PROJECT_NAME]/
|
|
204
|
+
βββ CLAUDE.md β ν΄λ‘λκ° λ¨Όμ μ½λ νμΌ
|
|
205
|
+
βββ .claude/
|
|
206
|
+
βββ CLAUDE.md (μ½λ© κ·μΉ)
|
|
207
|
+
βββ ARCHITECTURE.md (νλ‘μ νΈ κ΅¬μ‘°)
|
|
208
|
+
βββ COMMENT_GUIDE.md (μ£Όμ κ°μ΄λ)
|
|
209
|
+
βββ DECISIONS.md (κ²°μ λ‘κ·Έ)
|
|
210
|
+
|
|
211
|
+
λ€μ λ¨κ³:
|
|
212
|
+
1. μμ±λ νμΌ κ²ν
|
|
213
|
+
2. νμμ .claude/CLAUDE.md 컀μ€ν°λ§μ΄μ¦
|
|
214
|
+
3. μ μΈμ
μμ λλ "CLAUDE.md μ½μ΄μ€"λ‘ μ μ©
|
|
215
|
+
|
|
216
|
+
π‘ ν΄λ‘λλ μλμΌλ‘ λ£¨νΈ CLAUDE.mdλ₯Ό μ°Ύμμ μ½μ΅λλ€!
|
|
217
|
+
|
|
218
|
+
CodeSyncer μ¬μ© μ€λΉ μλ£!
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## π¨ 컀μ€ν°λ§μ΄μ§ κ°μ΄λλΌμΈ
|
|
224
|
+
|
|
225
|
+
### λ°±μλ νλ‘μ νΈ:
|
|
226
|
+
- ARCHITECTURE.mdμ API ꡬ쑰 μ§μ€
|
|
227
|
+
- API μλν¬μΈνΈ λ¬Έμν μΆκ°
|
|
228
|
+
- 보μ λ° λ°μ΄ν° μ²λ¦¬ κ·μΉ κ°μ‘°
|
|
229
|
+
- μ 곡λ κ²½μ° λ°μ΄ν°λ² μ΄μ€ μ€ν€λ§ ν¬ν¨
|
|
230
|
+
|
|
231
|
+
### νλ‘ νΈμλ νλ‘μ νΈ:
|
|
232
|
+
- μ»΄ν¬λνΈ κ΅¬μ‘° λ¬Έμν
|
|
233
|
+
- μ€νμΌλ§ μ κ·Όλ² ν¬ν¨ (CSS modules, Tailwind λ±)
|
|
234
|
+
- μν κ΄λ¦¬ ν¨ν΄ μΆκ°
|
|
235
|
+
- λΌμ°ν
ꡬ쑰 λ¬Έμν
|
|
236
|
+
|
|
237
|
+
### λͺ¨λ°μΌ νλ‘μ νΈ:
|
|
238
|
+
- νλ©΄ λ€λΉκ²μ΄μ
λ¬Έμν
|
|
239
|
+
- νλ«νΌλ³ λ
ΈνΈ ν¬ν¨ (iOS/Android)
|
|
240
|
+
- λ€μ΄ν°λΈ λͺ¨λ μ°λ μΆκ°
|
|
241
|
+
- λΉλ/λ°°ν¬ νλ‘μΈμ€ λ¬Έμν
|
|
242
|
+
|
|
243
|
+
### νμ€ν νλ‘μ νΈ:
|
|
244
|
+
- λ°±μλ + νλ‘ νΈμλ κ°μ΄λλΌμΈ κ²°ν©
|
|
245
|
+
- API β UI μ°λ λ¬Έμν
|
|
246
|
+
- λ°μ΄ν° νλ¦ ν¨ν΄ ν¬ν¨
|
|
247
|
+
- λ°°ν¬ μ λ΅ μΆκ°
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## π¨ AI μ΄μμ€ν΄νΈλ₯Ό μν μ€μ κ·μΉ
|
|
252
|
+
|
|
253
|
+
1. **νμ μ§λ¬Ένκ³ , μΆλ‘ νμ§ λ§ κ²**:
|
|
254
|
+
- λΉμ¦λμ€ λ‘μ§ μμΉ
|
|
255
|
+
- API μλν¬μΈνΈ
|
|
256
|
+
- 보μ μ€μ
|
|
257
|
+
- λ°μ΄ν°λ² μ΄μ€ μ€ν€λ§
|
|
258
|
+
|
|
259
|
+
2. **μ² μ νκ² λΆμ**:
|
|
260
|
+
- μ€μ μ½λλ₯Ό μ½κ³ , μΆμΈ‘ κΈμ§
|
|
261
|
+
- package.json μμ‘΄μ± νμΈ
|
|
262
|
+
- ν΄λ ꡬ쑰 μμ ν μ€μΊ
|
|
263
|
+
- μ½λ ν¨ν΄ μλ³
|
|
264
|
+
|
|
265
|
+
3. **λννμΌλ‘ μ§ν**:
|
|
266
|
+
- κ° λ¨κ³μμ νμΈ μμ²
|
|
267
|
+
- μμ± μ λΆμ κ²°κ³Ό μ μ
|
|
268
|
+
- μ¬μ©μκ° μ΄ν΄λ₯Ό μμ ν μ μκ² νμ©
|
|
269
|
+
|
|
270
|
+
4. **λͺ¨λ μμμ @codesyncer-* νκ·Έ μ¬μ©**:
|
|
271
|
+
- λͺ¨λ μ½λ μ£Όμμ μ νμ μ¬μ©
|
|
272
|
+
- @claude-* νΈνμ± μ€λͺ
|
|
273
|
+
- μ¬λ°λ₯Έ νκ·Έ μ¬μ©λ² 보μ¬μ£ΌκΈ°
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## π ν
νλ¦Ώ νλ μ΄μ€νλ
|
|
278
|
+
|
|
279
|
+
νμΌ μμ± μ λ€μμ κ΅μ²΄:
|
|
280
|
+
|
|
281
|
+
- `[PROJECT_NAME]` β μ¬μ©μ νλ‘μ νΈλͺ
|
|
282
|
+
- `[PROJECT_TYPE]` β backend/frontend/mobile/fullstack
|
|
283
|
+
- `[TECH_STACK]` β κ°μ§λ κΈ°μ μ€ν (μΌνλ‘ κ΅¬λΆ)
|
|
284
|
+
- `[TODAY]` β νμ¬ λ μ§ (YYYY-MM-DD)
|
|
285
|
+
- `[GITHUB_USERNAME]` β μ¬μ©μ GitHub μ¬μ©μλͺ
|
|
286
|
+
- `[KEYWORDS]` β μ¬μ©μ νμΈ μλ
Ό ν€μλ
|
|
287
|
+
- `[TEMPLATES]` β νλ‘μ νΈ νμ
λ³ ν
νλ¦Ώ
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
## π― μ±κ³΅ κΈ°μ€
|
|
292
|
+
|
|
293
|
+
λ€μ μ‘°κ±΄μ΄ μΆ©μ‘±λλ©΄ μ€μ μ±κ³΅:
|
|
294
|
+
- β
`.claude/` ν΄λμ 4κ° νμΌ λͺ¨λ μμ±
|
|
295
|
+
- β
λ£¨νΈ CLAUDE.md μμ±
|
|
296
|
+
- β
λͺ¨λ μ€μ μ 보λ₯Ό μ¬μ©μκ° νμΈ
|
|
297
|
+
- β
λΉμ¦λμ€ λ‘μ§μ΄λ λΉλ° μ 보μ λν μΆλ‘ μμ
|
|
298
|
+
- β
λͺ¨λ λ¬Έμκ° @codesyncer-* νκ·Έ νμ μ¬μ©
|
|
299
|
+
- β
νλ‘μ νΈλ³ ν¨ν΄ λ¬Έμν
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## ποΈ μ€μ μλ£ ν
|
|
304
|
+
|
|
305
|
+
μ€μ μ΄ μλ£λλ©΄ μ΄ νμΌμ μμ ν΄λ λ©λλ€:
|
|
306
|
+
|
|
307
|
+
```
|
|
308
|
+
".claude/SETUP_GUIDE.md μμ ν΄μ€"
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
λλ μ§μ μμ :
|
|
312
|
+
```bash
|
|
313
|
+
rm .claude/SETUP_GUIDE.md
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
**λ²μ **: 1.0.0 (Powered by CodeSyncer)
|
|
319
|
+
**λͺ¨λ**: λ¨μΌ λ ν¬μ§ν 리
|
|
320
|
+
**AI λꡬ**: Claude Code μ΅μ ν | νΈν: Cursor, GitHub Copilot, Continue.dev
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
*μ΄ μ€μ κ°μ΄λλ CodeSyncer CLIμ μν΄ μμ±λ©λλ€. λ¬Έμ λ κ°μ μ¬νμ https://github.com/bitjaru/codesyncer λ°©λ¬Έ*
|