claudeos-core 1.6.2 โ 1.7.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/CHANGELOG.md +26 -0
- package/README.de.md +655 -653
- package/README.es.md +657 -655
- package/README.fr.md +657 -655
- package/README.hi.md +656 -654
- package/README.ja.md +675 -673
- package/README.ko.md +692 -690
- package/README.md +712 -710
- package/README.ru.md +656 -654
- package/README.vi.md +656 -654
- package/README.zh-CN.md +656 -654
- package/bin/commands/init.js +386 -357
- package/package.json +1 -1
- package/pass-prompts/templates/common/pass3-footer.md +23 -3
- package/pass-prompts/templates/node-vite/pass1.md +117 -0
- package/pass-prompts/templates/node-vite/pass2.md +78 -0
- package/pass-prompts/templates/node-vite/pass3.md +103 -0
- package/plan-installer/domain-grouper.js +75 -73
- package/plan-installer/index.js +129 -126
- package/plan-installer/scanners/scan-frontend.js +264 -254
- package/plan-installer/scanners/scan-node.js +57 -46
- package/plan-installer/scanners/scan-python.js +64 -55
- package/plan-installer/stack-detector.js +466 -454
- package/plan-installer/structure-scanner.js +65 -65
package/README.md
CHANGED
|
@@ -1,710 +1,712 @@
|
|
|
1
|
-
# ClaudeOS-Core
|
|
2
|
-
|
|
3
|
-
**The only tool that reads your source code first, confirms your stack and patterns with deterministic analysis, then generates Claude Code rules tailored to your exact project.**
|
|
4
|
-
|
|
5
|
-
```bash
|
|
6
|
-
npx claudeos-core init
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
ClaudeOS-Core reads your codebase, extracts every pattern it finds, and generates a complete set of Standards, Rules, Skills, and Guides tailored to _your_ project. After that, when you tell Claude Code "Create a CRUD for orders", it produces code that matches your existing patterns exactly.
|
|
10
|
-
|
|
11
|
-
[๐ฐ๐ท ํ๊ตญ์ด](./README.ko.md) ยท [๐จ๐ณ ไธญๆ](./README.zh-CN.md) ยท [๐ฏ๐ต ๆฅๆฌ่ช](./README.ja.md) ยท [๐ช๐ธ Espaรฑol](./README.es.md) ยท [๐ป๐ณ Tiแบฟng Viแปt](./README.vi.md) ยท [๐ฎ๐ณ เคนเคฟเคจเฅเคฆเฅ](./README.hi.md) ยท [๐ท๐บ ะ ัััะบะธะน](./README.ru.md) ยท [๐ซ๐ท Franรงais](./README.fr.md) ยท [๐ฉ๐ช Deutsch](./README.de.md)
|
|
12
|
-
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
## Why ClaudeOS-Core?
|
|
16
|
-
|
|
17
|
-
Every other Claude Code tool works like this:
|
|
18
|
-
|
|
19
|
-
> **Human describes the project โ LLM generates documentation**
|
|
20
|
-
|
|
21
|
-
ClaudeOS-Core works like this:
|
|
22
|
-
|
|
23
|
-
> **Code analyzes your source โ Code builds a tailored prompt โ LLM generates documentation โ Code verifies the output**
|
|
24
|
-
|
|
25
|
-
This is not a small difference. Here's why it matters:
|
|
26
|
-
|
|
27
|
-
### The core problem: LLMs guess. Code doesn't.
|
|
28
|
-
|
|
29
|
-
When you ask Claude to "analyze this project," it **guesses** your stack, your ORM, your domain structure.
|
|
30
|
-
It might see `spring-boot` in your `build.gradle` but miss that you use MyBatis (not JPA).
|
|
31
|
-
It might detect a `user/` directory but not realize your project uses layer-first packaging (Pattern A), not domain-first (Pattern B).
|
|
32
|
-
|
|
33
|
-
**ClaudeOS-Core doesn't guess.** Before Claude ever sees your project, Node.js code has already:
|
|
34
|
-
|
|
35
|
-
- Parsed `build.gradle` / `package.json` / `pyproject.toml` and **confirmed** your stack, ORM, DB, and package manager
|
|
36
|
-
- Scanned your directory structure and **confirmed** your domain list with file counts
|
|
37
|
-
- Classified your project structure into one of 5 Java patterns, Kotlin CQRS/BFF, or Next.js App Router/FSD
|
|
38
|
-
- Split domains into optimally-sized groups that fit Claude's context window
|
|
39
|
-
- Assembled a stack-specific prompt with all confirmed facts injected
|
|
40
|
-
|
|
41
|
-
By the time Claude receives the prompt, there's nothing left to guess. The stack is confirmed. The domains are confirmed. The structure pattern is confirmed. Claude's only job is to generate documentation that matches these **confirmed facts**.
|
|
42
|
-
|
|
43
|
-
### The result
|
|
44
|
-
|
|
45
|
-
Other tools produce "generally good" documentation.
|
|
46
|
-
ClaudeOS-Core produces documentation that knows your project uses `ApiResponse.ok()` (not `ResponseEntity.success()`), that your MyBatis XML mappers live in `src/main/resources/mybatis/mappers/`, and that your package structure is `com.company.module.{domain}.controller` โ because it read your actual code.
|
|
47
|
-
|
|
48
|
-
### Before & After
|
|
49
|
-
|
|
50
|
-
**Without ClaudeOS-Core** โ you ask Claude Code to create an Order CRUD:
|
|
51
|
-
```
|
|
52
|
-
โ Uses JPA-style repository (your project uses MyBatis)
|
|
53
|
-
โ Creates ResponseEntity.success() (your wrapper is ApiResponse.ok())
|
|
54
|
-
โ Places files in order/controller/ (your project uses controller/order/)
|
|
55
|
-
โ Generates English comments (your team writes Korean comments)
|
|
56
|
-
โ You spend 20 minutes fixing every generated file
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
**With ClaudeOS-Core** โ `.claude/rules/` already contains your confirmed patterns:
|
|
60
|
-
```
|
|
61
|
-
โ
Generates MyBatis mapper + XML (detected from build.gradle)
|
|
62
|
-
โ
Uses ApiResponse.ok() (extracted from your actual source)
|
|
63
|
-
โ
Places files in controller/order/ (Pattern A confirmed by structure scan)
|
|
64
|
-
โ
Korean comments (--lang ko applied)
|
|
65
|
-
โ Generated code matches your project conventions immediately
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
This difference compounds. 10 tasks/day ร 20 minutes saved = **3+ hours/day**.
|
|
69
|
-
|
|
70
|
-
---
|
|
71
|
-
|
|
72
|
-
## Supported Stacks
|
|
73
|
-
|
|
74
|
-
| Stack | Detection | Analysis Depth |
|
|
75
|
-
|---|---|---|
|
|
76
|
-
| **Java / Spring Boot** | `build.gradle`, `pom.xml`, 5 package patterns | 10 categories, 59 sub-items |
|
|
77
|
-
| **Kotlin / Spring Boot** | `build.gradle.kts`, kotlin plugin, `settings.gradle.kts`, CQRS/BFF auto-detect | 12 categories, 95 sub-items |
|
|
78
|
-
| **Node.js / Express** | `package.json` | 9 categories, 57 sub-items |
|
|
79
|
-
| **Node.js / NestJS** | `package.json` (`@nestjs/core`) | 10 categories, 68 sub-items |
|
|
80
|
-
| **Next.js / React** | `package.json`, `next.config.*`, FSD support | 9 categories, 55 sub-items |
|
|
81
|
-
| **Vue / Nuxt** | `package.json`, `nuxt.config.*`, Composition API | 9 categories, 58 sub-items |
|
|
82
|
-
| **Python / Django** | `requirements.txt`, `pyproject.toml` | 10 categories, 55 sub-items |
|
|
83
|
-
| **Python / FastAPI** | `requirements.txt`, `pyproject.toml` | 10 categories, 58 sub-items |
|
|
84
|
-
| **Node.js / Fastify** | `package.json` | 10 categories, 62 sub-items |
|
|
85
|
-
| **
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
|
97
|
-
|
|
|
98
|
-
|
|
|
99
|
-
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
-
|
|
|
113
|
-
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
- **
|
|
121
|
-
- **
|
|
122
|
-
- **
|
|
123
|
-
- **
|
|
124
|
-
- **
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
npx claudeos-core init --lang
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
- `
|
|
241
|
-
- `
|
|
242
|
-
- `
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
node claudeos-core-tools/
|
|
306
|
-
node claudeos-core-tools/
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
"
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
โโโ [
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
โ โโโ
|
|
351
|
-
โ
|
|
352
|
-
โ
|
|
353
|
-
|
|
354
|
-
โ
|
|
355
|
-
|
|
356
|
-
โ
|
|
357
|
-
|
|
358
|
-
โ
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
โ
|
|
362
|
-
|
|
363
|
-
โโโ
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
**Pass
|
|
371
|
-
|
|
372
|
-
**Pass
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
โ
|
|
383
|
-
โโโ .
|
|
384
|
-
โ
|
|
385
|
-
|
|
386
|
-
โ
|
|
387
|
-
โ โโโ
|
|
388
|
-
โ โโโ
|
|
389
|
-
โ โโโ
|
|
390
|
-
โ
|
|
391
|
-
โ
|
|
392
|
-
|
|
393
|
-
โ
|
|
394
|
-
|
|
395
|
-
โ
|
|
396
|
-
โ โ โโโ
|
|
397
|
-
โ โ โโโ
|
|
398
|
-
โ โ โโโ
|
|
399
|
-
โ โ
|
|
400
|
-
โ โโโ
|
|
401
|
-
โ โ
|
|
402
|
-
โ
|
|
403
|
-
โ โ โโโ
|
|
404
|
-
โ โ โโโ
|
|
405
|
-
โ โ โโโ
|
|
406
|
-
โ โ
|
|
407
|
-
โ โโโ
|
|
408
|
-
โ
|
|
409
|
-
โ โโโ
|
|
410
|
-
โ โโโ
|
|
411
|
-
โ
|
|
412
|
-
โ
|
|
413
|
-
โโโ
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
|
425
|
-
|
|
426
|
-
|
|
|
427
|
-
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
npx claudeos-core
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
node
|
|
449
|
-
node claudeos-core-tools/
|
|
450
|
-
node claudeos-core-tools/
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
|
456
|
-
|
|
457
|
-
| **
|
|
458
|
-
| **
|
|
459
|
-
| **
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
|
472
|
-
|
|
473
|
-
|
|
|
474
|
-
| `.claude/rules/
|
|
475
|
-
| `.claude/rules/
|
|
476
|
-
| `.claude/rules/
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
|
494
|
-
|
|
495
|
-
| `claudeos-core/
|
|
496
|
-
| `claudeos-core/
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
"
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
#
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
|
545
|
-
|
|
546
|
-
| **
|
|
547
|
-
| **
|
|
548
|
-
| **
|
|
549
|
-
| **
|
|
550
|
-
| **
|
|
551
|
-
| **
|
|
552
|
-
| **
|
|
553
|
-
| **
|
|
554
|
-
| **
|
|
555
|
-
| **
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
โโโ
|
|
618
|
-
โโโ
|
|
619
|
-
โโโ
|
|
620
|
-
โโโ node-
|
|
621
|
-
โโโ node-
|
|
622
|
-
โโโ
|
|
623
|
-
โโโ
|
|
624
|
-
โโโ
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
- `
|
|
640
|
-
- `
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
- Dependencies from `
|
|
653
|
-
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
- `
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
โ
|
|
667
|
-
โ
|
|
668
|
-
โ
|
|
669
|
-
โ
|
|
670
|
-
โโโ
|
|
671
|
-
โ
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
**"
|
|
683
|
-
|
|
684
|
-
**"
|
|
685
|
-
|
|
686
|
-
**"0 domains detected"
|
|
687
|
-
|
|
688
|
-
**"
|
|
689
|
-
|
|
690
|
-
**"
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
- **
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
1
|
+
# ClaudeOS-Core
|
|
2
|
+
|
|
3
|
+
**The only tool that reads your source code first, confirms your stack and patterns with deterministic analysis, then generates Claude Code rules tailored to your exact project.**
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx claudeos-core init
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
ClaudeOS-Core reads your codebase, extracts every pattern it finds, and generates a complete set of Standards, Rules, Skills, and Guides tailored to _your_ project. After that, when you tell Claude Code "Create a CRUD for orders", it produces code that matches your existing patterns exactly.
|
|
10
|
+
|
|
11
|
+
[๐ฐ๐ท ํ๊ตญ์ด](./README.ko.md) ยท [๐จ๐ณ ไธญๆ](./README.zh-CN.md) ยท [๐ฏ๐ต ๆฅๆฌ่ช](./README.ja.md) ยท [๐ช๐ธ Espaรฑol](./README.es.md) ยท [๐ป๐ณ Tiแบฟng Viแปt](./README.vi.md) ยท [๐ฎ๐ณ เคนเคฟเคจเฅเคฆเฅ](./README.hi.md) ยท [๐ท๐บ ะ ัััะบะธะน](./README.ru.md) ยท [๐ซ๐ท Franรงais](./README.fr.md) ยท [๐ฉ๐ช Deutsch](./README.de.md)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Why ClaudeOS-Core?
|
|
16
|
+
|
|
17
|
+
Every other Claude Code tool works like this:
|
|
18
|
+
|
|
19
|
+
> **Human describes the project โ LLM generates documentation**
|
|
20
|
+
|
|
21
|
+
ClaudeOS-Core works like this:
|
|
22
|
+
|
|
23
|
+
> **Code analyzes your source โ Code builds a tailored prompt โ LLM generates documentation โ Code verifies the output**
|
|
24
|
+
|
|
25
|
+
This is not a small difference. Here's why it matters:
|
|
26
|
+
|
|
27
|
+
### The core problem: LLMs guess. Code doesn't.
|
|
28
|
+
|
|
29
|
+
When you ask Claude to "analyze this project," it **guesses** your stack, your ORM, your domain structure.
|
|
30
|
+
It might see `spring-boot` in your `build.gradle` but miss that you use MyBatis (not JPA).
|
|
31
|
+
It might detect a `user/` directory but not realize your project uses layer-first packaging (Pattern A), not domain-first (Pattern B).
|
|
32
|
+
|
|
33
|
+
**ClaudeOS-Core doesn't guess.** Before Claude ever sees your project, Node.js code has already:
|
|
34
|
+
|
|
35
|
+
- Parsed `build.gradle` / `package.json` / `pyproject.toml` and **confirmed** your stack, ORM, DB, and package manager
|
|
36
|
+
- Scanned your directory structure and **confirmed** your domain list with file counts
|
|
37
|
+
- Classified your project structure into one of 5 Java patterns, Kotlin CQRS/BFF, or Next.js App Router/FSD
|
|
38
|
+
- Split domains into optimally-sized groups that fit Claude's context window
|
|
39
|
+
- Assembled a stack-specific prompt with all confirmed facts injected
|
|
40
|
+
|
|
41
|
+
By the time Claude receives the prompt, there's nothing left to guess. The stack is confirmed. The domains are confirmed. The structure pattern is confirmed. Claude's only job is to generate documentation that matches these **confirmed facts**.
|
|
42
|
+
|
|
43
|
+
### The result
|
|
44
|
+
|
|
45
|
+
Other tools produce "generally good" documentation.
|
|
46
|
+
ClaudeOS-Core produces documentation that knows your project uses `ApiResponse.ok()` (not `ResponseEntity.success()`), that your MyBatis XML mappers live in `src/main/resources/mybatis/mappers/`, and that your package structure is `com.company.module.{domain}.controller` โ because it read your actual code.
|
|
47
|
+
|
|
48
|
+
### Before & After
|
|
49
|
+
|
|
50
|
+
**Without ClaudeOS-Core** โ you ask Claude Code to create an Order CRUD:
|
|
51
|
+
```
|
|
52
|
+
โ Uses JPA-style repository (your project uses MyBatis)
|
|
53
|
+
โ Creates ResponseEntity.success() (your wrapper is ApiResponse.ok())
|
|
54
|
+
โ Places files in order/controller/ (your project uses controller/order/)
|
|
55
|
+
โ Generates English comments (your team writes Korean comments)
|
|
56
|
+
โ You spend 20 minutes fixing every generated file
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**With ClaudeOS-Core** โ `.claude/rules/` already contains your confirmed patterns:
|
|
60
|
+
```
|
|
61
|
+
โ
Generates MyBatis mapper + XML (detected from build.gradle)
|
|
62
|
+
โ
Uses ApiResponse.ok() (extracted from your actual source)
|
|
63
|
+
โ
Places files in controller/order/ (Pattern A confirmed by structure scan)
|
|
64
|
+
โ
Korean comments (--lang ko applied)
|
|
65
|
+
โ Generated code matches your project conventions immediately
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
This difference compounds. 10 tasks/day ร 20 minutes saved = **3+ hours/day**.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Supported Stacks
|
|
73
|
+
|
|
74
|
+
| Stack | Detection | Analysis Depth |
|
|
75
|
+
|---|---|---|
|
|
76
|
+
| **Java / Spring Boot** | `build.gradle`, `pom.xml`, 5 package patterns | 10 categories, 59 sub-items |
|
|
77
|
+
| **Kotlin / Spring Boot** | `build.gradle.kts`, kotlin plugin, `settings.gradle.kts`, CQRS/BFF auto-detect | 12 categories, 95 sub-items |
|
|
78
|
+
| **Node.js / Express** | `package.json` | 9 categories, 57 sub-items |
|
|
79
|
+
| **Node.js / NestJS** | `package.json` (`@nestjs/core`) | 10 categories, 68 sub-items |
|
|
80
|
+
| **Next.js / React** | `package.json`, `next.config.*`, FSD support | 9 categories, 55 sub-items |
|
|
81
|
+
| **Vue / Nuxt** | `package.json`, `nuxt.config.*`, Composition API | 9 categories, 58 sub-items |
|
|
82
|
+
| **Python / Django** | `requirements.txt`, `pyproject.toml` | 10 categories, 55 sub-items |
|
|
83
|
+
| **Python / FastAPI** | `requirements.txt`, `pyproject.toml` | 10 categories, 58 sub-items |
|
|
84
|
+
| **Node.js / Fastify** | `package.json` | 10 categories, 62 sub-items |
|
|
85
|
+
| **Vite / React SPA** | `package.json`, `vite.config.*` | 9 categories, 55 sub-items |
|
|
86
|
+
| **Angular** | `package.json`, `angular.json` | 12 categories, 78 sub-items |
|
|
87
|
+
|
|
88
|
+
Auto-detected: language & version, framework & version (including Vite as SPA framework), ORM (MyBatis, JPA, Exposed, Prisma, TypeORM, SQLAlchemy, etc.), database (PostgreSQL, MySQL, Oracle, MongoDB, SQLite), package manager (Gradle, Maven, npm, yarn, pnpm, pip, poetry), architecture (CQRS, BFF โ from module names), multi-module structure (from settings.gradle), monorepo (Turborepo, pnpm-workspace, Lerna, npm/yarn workspaces).
|
|
89
|
+
|
|
90
|
+
**You don't specify anything. It's all detected automatically.**
|
|
91
|
+
|
|
92
|
+
### Java Domain Detection (5 patterns with fallback)
|
|
93
|
+
|
|
94
|
+
| Priority | Pattern | Structure | Example |
|
|
95
|
+
|---|---|---|---|
|
|
96
|
+
| A | Layer-first | `controller/{domain}/` | `controller/user/UserController.java` |
|
|
97
|
+
| B | Domain-first | `{domain}/controller/` | `user/controller/UserController.java` |
|
|
98
|
+
| D | Module prefix | `{module}/{domain}/controller/` | `front/member/controller/MemberController.java` |
|
|
99
|
+
| E | DDD/Hexagonal | `{domain}/adapter/in/web/` | `user/adapter/in/web/UserController.java` |
|
|
100
|
+
| C | Flat | `controller/*.java` | `controller/UserController.java` โ extracts `user` from class name |
|
|
101
|
+
|
|
102
|
+
Service-only domains (without controllers) are also detected via `service/`, `dao/`, `aggregator/`, `facade/`, `usecase/`, `orchestrator/`, `mapper/`, `repository/` directories. Skips: `common`, `config`, `util`, `core`, `front`, `admin`, `v1`, `v2`, etc.
|
|
103
|
+
|
|
104
|
+
### Kotlin Multi-Module Domain Detection
|
|
105
|
+
|
|
106
|
+
For Kotlin projects with Gradle multi-module structure (e.g., CQRS monorepo):
|
|
107
|
+
|
|
108
|
+
| Step | What It Does | Example |
|
|
109
|
+
|---|---|---|
|
|
110
|
+
| 1 | Scan `settings.gradle.kts` for `include()` | Finds 14 modules |
|
|
111
|
+
| 2 | Detect module type from name | `reservation-command-server` โ type: `command` |
|
|
112
|
+
| 3 | Extract domain from module name | `reservation-command-server` โ domain: `reservation` |
|
|
113
|
+
| 4 | Group same domain across modules | `reservation-command-server` + `common-query-server` โ 1 domain |
|
|
114
|
+
| 5 | Detect architecture | Has `command` + `query` modules โ CQRS |
|
|
115
|
+
|
|
116
|
+
Supported module types: `command`, `query`, `bff`, `integration`, `standalone`, `library`. Shared libraries (`shared-lib`, `integration-lib`) are detected as special domains.
|
|
117
|
+
|
|
118
|
+
### Frontend Domain Detection
|
|
119
|
+
|
|
120
|
+
- **App Router**: `app/{domain}/page.tsx` (Next.js)
|
|
121
|
+
- **Pages Router**: `pages/{domain}/index.tsx`
|
|
122
|
+
- **FSD (Feature-Sliced Design)**: `features/*/`, `widgets/*/`, `entities/*/`
|
|
123
|
+
- **RSC/Client split**: Detects `client.tsx` pattern, tracks Server/Client component separation
|
|
124
|
+
- **Non-standard nested paths**: Detects pages, components, and FSD layers under `src/*/` paths (e.g., `src/admin/pages/dashboard/`, `src/admin/components/form/`, `src/admin/features/billing/`)
|
|
125
|
+
- **Config fallback**: Detects Next.js/Vite/Nuxt from config files when not in `package.json` (monorepo support)
|
|
126
|
+
- **Deep directory fallback**: For React/CRA/Vite/Vue/RN projects, scans `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` at any depth
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Quick Start
|
|
131
|
+
|
|
132
|
+
### Prerequisites
|
|
133
|
+
|
|
134
|
+
- **Node.js** v18+
|
|
135
|
+
- **Claude Code CLI** (installed & authenticated)
|
|
136
|
+
|
|
137
|
+
### Installation
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
cd /your/project/root
|
|
141
|
+
|
|
142
|
+
# Option A: npx (recommended โ no install needed)
|
|
143
|
+
npx claudeos-core init
|
|
144
|
+
|
|
145
|
+
# Option B: global install
|
|
146
|
+
npm install -g claudeos-core
|
|
147
|
+
claudeos-core init
|
|
148
|
+
|
|
149
|
+
# Option C: project devDependency
|
|
150
|
+
npm install --save-dev claudeos-core
|
|
151
|
+
npx claudeos-core init
|
|
152
|
+
|
|
153
|
+
# Option D: git clone (for development/contribution)
|
|
154
|
+
git clone https://github.com/claudeos-core/claudeos-core.git claudeos-core-tools
|
|
155
|
+
|
|
156
|
+
# Cross-platform (PowerShell, CMD, Bash, Zsh โ any terminal)
|
|
157
|
+
node claudeos-core-tools/bin/cli.js init
|
|
158
|
+
|
|
159
|
+
# Linux/macOS (Bash only)
|
|
160
|
+
bash claudeos-core-tools/bootstrap.sh
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Output Language (10 languages)
|
|
164
|
+
|
|
165
|
+
When you run `init` without `--lang`, an interactive selector appears โ use arrow keys or number keys to choose:
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
169
|
+
โ Select generated document language (required) โ
|
|
170
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
171
|
+
|
|
172
|
+
Generated files (CLAUDE.md, Standards, Rules,
|
|
173
|
+
Skills, Guides) will be written in English.
|
|
174
|
+
|
|
175
|
+
โฏ 1. en โ English
|
|
176
|
+
2. ko โ ํ๊ตญ์ด (Korean)
|
|
177
|
+
3. zh-CN โ ็ฎไฝไธญๆ (Chinese Simplified)
|
|
178
|
+
4. ja โ ๆฅๆฌ่ช (Japanese)
|
|
179
|
+
5. es โ Espaรฑol (Spanish)
|
|
180
|
+
6. vi โ Tiแบฟng Viแปt (Vietnamese)
|
|
181
|
+
7. hi โ เคนเคฟเคจเฅเคฆเฅ (Hindi)
|
|
182
|
+
8. ru โ ะ ัััะบะธะน (Russian)
|
|
183
|
+
9. fr โ Franรงais (French)
|
|
184
|
+
10. de โ Deutsch (German)
|
|
185
|
+
|
|
186
|
+
โโ Move 1-0 Jump Enter Select ESC Cancel
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
The description changes to the selected language as you navigate. To skip the selector, pass `--lang` directly:
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
npx claudeos-core init --lang ko # Korean
|
|
193
|
+
npx claudeos-core init --lang ja # Japanese
|
|
194
|
+
npx claudeos-core init --lang en # English (default)
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
> **Note:** This sets the language for generated documentation files only. Code analysis (Pass 1โ2) always runs in English; generated output (Pass 3) is written in your chosen language. Code examples inside the generated files remain in their original programming language syntax.
|
|
198
|
+
|
|
199
|
+
That's it. After 5โ18 minutes, all documentation is generated and ready to use. The CLI shows a progress bar with percentage, elapsed time, and ETA for each pass.
|
|
200
|
+
|
|
201
|
+
### Manual Step-by-Step Installation
|
|
202
|
+
|
|
203
|
+
If you want full control over each phase โ or if the automated pipeline fails at any step โ you can run each stage manually. This is also useful for understanding how ClaudeOS-Core works internally.
|
|
204
|
+
|
|
205
|
+
#### Step 1: Clone and install dependencies
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
cd /your/project/root
|
|
209
|
+
|
|
210
|
+
git clone https://github.com/claudeos-core/claudeos-core.git claudeos-core-tools
|
|
211
|
+
cd claudeos-core-tools && npm install && cd ..
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
#### Step 2: Create directory structure
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
# Rules
|
|
218
|
+
mkdir -p .claude/rules/{00.core,10.backend,20.frontend,30.security-db,40.infra,50.sync}
|
|
219
|
+
|
|
220
|
+
# Standards
|
|
221
|
+
mkdir -p claudeos-core/standard/{00.core,10.backend-api,20.frontend-ui,30.security-db,40.infra,50.verification,90.optional}
|
|
222
|
+
|
|
223
|
+
# Skills
|
|
224
|
+
mkdir -p claudeos-core/skills/{00.shared,10.backend-crud/scaffold-crud-feature,20.frontend-page/scaffold-page-feature,50.testing,90.experimental}
|
|
225
|
+
|
|
226
|
+
# Guide, Plan, Database, MCP, Generated
|
|
227
|
+
mkdir -p claudeos-core/guide/{01.onboarding,02.usage,03.troubleshooting,04.architecture}
|
|
228
|
+
mkdir -p claudeos-core/{plan,database,mcp-guide,generated}
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
#### Step 3: Run plan-installer (project analysis)
|
|
232
|
+
|
|
233
|
+
This scans your project, detects the stack, finds domains, splits them into groups, and generates prompts.
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
node claudeos-core-tools/plan-installer/index.js
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
**Output (in `claudeos-core/generated/`):**
|
|
240
|
+
- `project-analysis.json` โ detected stack, domains, frontend info
|
|
241
|
+
- `domain-groups.json` โ domain groups for Pass 1
|
|
242
|
+
- `pass1-backend-prompt.md` / `pass1-frontend-prompt.md` โ analysis prompts
|
|
243
|
+
- `pass2-prompt.md` โ merge prompt
|
|
244
|
+
- `pass3-prompt.md` โ generation prompt
|
|
245
|
+
|
|
246
|
+
You can inspect these files to verify detection accuracy before proceeding.
|
|
247
|
+
|
|
248
|
+
#### Step 4: Pass 1 โ Deep code analysis (per domain group)
|
|
249
|
+
|
|
250
|
+
Run Pass 1 for each domain group. Check `domain-groups.json` for the number of groups.
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
# Check how many groups
|
|
254
|
+
cat claudeos-core/generated/domain-groups.json | node -e "
|
|
255
|
+
const g = JSON.parse(require('fs').readFileSync('/dev/stdin','utf-8'));
|
|
256
|
+
g.groups.forEach((g,i) => console.log('Group '+(i+1)+': ['+g.domains.join(', ')+'] ('+g.type+', ~'+g.estimatedFiles+' files)'));
|
|
257
|
+
"
|
|
258
|
+
|
|
259
|
+
# Run Pass 1 for each group (replace domains and group number)
|
|
260
|
+
# For group 1:
|
|
261
|
+
cp claudeos-core/generated/pass1-backend-prompt.md /tmp/_pass1.md
|
|
262
|
+
DOMAIN_LIST="user, order, product" PASS_NUM=1 \
|
|
263
|
+
perl -pi -e 's/\{\{DOMAIN_GROUP\}\}/$ENV{DOMAIN_LIST}/g; s/\{\{PASS_NUM\}\}/$ENV{PASS_NUM}/g' /tmp/_pass1.md
|
|
264
|
+
cat /tmp/_pass1.md | claude -p --dangerously-skip-permissions
|
|
265
|
+
|
|
266
|
+
# For group 2 (if exists):
|
|
267
|
+
cp claudeos-core/generated/pass1-backend-prompt.md /tmp/_pass1.md
|
|
268
|
+
DOMAIN_LIST="payment, system, delivery" PASS_NUM=2 \
|
|
269
|
+
perl -pi -e 's/\{\{DOMAIN_GROUP\}\}/$ENV{DOMAIN_LIST}/g; s/\{\{PASS_NUM\}\}/$ENV{PASS_NUM}/g' /tmp/_pass1.md
|
|
270
|
+
cat /tmp/_pass1.md | claude -p --dangerously-skip-permissions
|
|
271
|
+
|
|
272
|
+
# For frontend groups, use pass1-frontend-prompt.md instead
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
**Verify:** `ls claudeos-core/generated/pass1-*.json` should show one JSON per group.
|
|
276
|
+
|
|
277
|
+
#### Step 5: Pass 2 โ Merge analysis results
|
|
278
|
+
|
|
279
|
+
```bash
|
|
280
|
+
cat claudeos-core/generated/pass2-prompt.md \
|
|
281
|
+
| claude -p --dangerously-skip-permissions
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
**Verify:** `claudeos-core/generated/pass2-merged.json` should exist with 9+ top-level keys.
|
|
285
|
+
|
|
286
|
+
#### Step 6: Pass 3 โ Generate all documentation
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
cat claudeos-core/generated/pass3-prompt.md \
|
|
290
|
+
| claude -p --dangerously-skip-permissions
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
**Verify:** `CLAUDE.md` should exist in your project root.
|
|
294
|
+
|
|
295
|
+
#### Step 7: Run verification tools
|
|
296
|
+
|
|
297
|
+
```bash
|
|
298
|
+
# Generate metadata (required before other checks)
|
|
299
|
+
node claudeos-core-tools/manifest-generator/index.js
|
|
300
|
+
|
|
301
|
+
# Run all checks
|
|
302
|
+
node claudeos-core-tools/health-checker/index.js
|
|
303
|
+
|
|
304
|
+
# Or run individual checks:
|
|
305
|
+
node claudeos-core-tools/plan-validator/index.js --check # Plan โ disk consistency
|
|
306
|
+
node claudeos-core-tools/sync-checker/index.js # Unregistered/orphaned files
|
|
307
|
+
node claudeos-core-tools/content-validator/index.js # File quality checks
|
|
308
|
+
node claudeos-core-tools/pass-json-validator/index.js # Pass JSON format checks
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
#### Step 8: Verify the results
|
|
312
|
+
|
|
313
|
+
```bash
|
|
314
|
+
# Count generated files
|
|
315
|
+
find .claude claudeos-core -type f | grep -v node_modules | grep -v '/generated/' | wc -l
|
|
316
|
+
|
|
317
|
+
# Check CLAUDE.md
|
|
318
|
+
head -30 CLAUDE.md
|
|
319
|
+
|
|
320
|
+
# Check a standard file
|
|
321
|
+
cat claudeos-core/standard/00.core/01.project-overview.md | head -20
|
|
322
|
+
|
|
323
|
+
# Check rules
|
|
324
|
+
ls .claude/rules/*/
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
> **Tip:** If any step fails, you can fix the issue and re-run just that step. Pass 1/2 results are cached โ if `pass1-N.json` or `pass2-merged.json` already exists, the automated pipeline skips them. Use `npx claudeos-core init --force` to delete previous results and start fresh.
|
|
328
|
+
|
|
329
|
+
### Start Using
|
|
330
|
+
|
|
331
|
+
```
|
|
332
|
+
# In Claude Code โ just ask naturally:
|
|
333
|
+
"Create a CRUD for the order domain"
|
|
334
|
+
"Add user authentication API"
|
|
335
|
+
"Refactor this code to match project patterns"
|
|
336
|
+
|
|
337
|
+
# Claude Code automatically references your generated Standards, Rules, and Skills.
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
---
|
|
341
|
+
|
|
342
|
+
## How It Works โ 3-Pass Pipeline
|
|
343
|
+
|
|
344
|
+
```
|
|
345
|
+
npx claudeos-core init
|
|
346
|
+
โ
|
|
347
|
+
โโโ [1] npm install โ Dependencies (~10s)
|
|
348
|
+
โโโ [2] Directory structure โ Create folders (~1s)
|
|
349
|
+
โโโ [3] plan-installer (Node.js) โ Project scan (~5s)
|
|
350
|
+
โ โโโ Auto-detect stack (multi-stack aware)
|
|
351
|
+
โ โโโ Extract domain list (tagged: backend/frontend)
|
|
352
|
+
โ โโโ Split into domain groups (per type)
|
|
353
|
+
โ โโโ Select stack-specific prompts (per type)
|
|
354
|
+
โ
|
|
355
|
+
โโโ [4] Pass 1 ร N (claude -p) โ Deep code analysis (~2-8min)
|
|
356
|
+
โ โโโ โ๏ธ Backend groups โ backend-specific prompt
|
|
357
|
+
โ โโโ ๐จ Frontend groups โ frontend-specific prompt
|
|
358
|
+
โ
|
|
359
|
+
โโโ [5] Pass 2 ร 1 (claude -p) โ Merge analysis (~1min)
|
|
360
|
+
โ โโโ Consolidate ALL Pass 1 results (backend + frontend)
|
|
361
|
+
โ
|
|
362
|
+
โโโ [6] Pass 3 ร 1 (claude -p) โ Generate everything (~3-5min)
|
|
363
|
+
โ โโโ Combined prompt (backend + frontend targets)
|
|
364
|
+
โ
|
|
365
|
+
โโโ [7] Verification โ Auto-run health checker
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
### Why 3 Passes?
|
|
369
|
+
|
|
370
|
+
**Pass 1** is the only pass that reads your source code. It selects representative files per domain and extracts patterns across 55โ95 analysis categories (per stack). For large projects, Pass 1 runs multiple times โ one per domain group. In multi-stack projects (e.g., Java backend + React frontend), backend and frontend domains use **different analysis prompts** tailored to each stack.
|
|
371
|
+
|
|
372
|
+
**Pass 2** merges all Pass 1 results into a unified analysis: common patterns (100% shared), majority patterns (50%+ shared), domain-specific patterns, anti-patterns by severity, and cross-cutting concerns (naming, security, DB, testing, logging, performance). Backend and frontend results are merged together.
|
|
373
|
+
|
|
374
|
+
**Pass 3** takes the merged analysis and generates the entire file ecosystem. It never reads source code โ only the analysis JSON. In multi-stack mode, the generation prompt combines backend and frontend targets so both sets of standards are generated in a single pass.
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
378
|
+
## Generated File Structure
|
|
379
|
+
|
|
380
|
+
```
|
|
381
|
+
your-project/
|
|
382
|
+
โ
|
|
383
|
+
โโโ CLAUDE.md โ Claude Code entry point
|
|
384
|
+
โ
|
|
385
|
+
โโโ .claude/
|
|
386
|
+
โ โโโ rules/ โ Glob-triggered rules
|
|
387
|
+
โ โโโ 00.core/
|
|
388
|
+
โ โโโ 10.backend/
|
|
389
|
+
โ โโโ 20.frontend/
|
|
390
|
+
โ โโโ 30.security-db/
|
|
391
|
+
โ โโโ 40.infra/
|
|
392
|
+
โ โโโ 50.sync/ โ Sync reminder rules
|
|
393
|
+
โ
|
|
394
|
+
โโโ claudeos-core/ โ Main output directory
|
|
395
|
+
โ โโโ generated/ โ Analysis JSON + dynamic prompts
|
|
396
|
+
โ โ โโโ project-analysis.json โ Stack info (multi-stack aware)
|
|
397
|
+
โ โ โโโ domain-groups.json โ Groups with type: backend/frontend
|
|
398
|
+
โ โ โโโ pass1-backend-prompt.md โ Backend analysis prompt
|
|
399
|
+
โ โ โโโ pass1-frontend-prompt.md โ Frontend analysis prompt (if detected)
|
|
400
|
+
โ โ โโโ pass2-prompt.md โ Merge prompt
|
|
401
|
+
โ โ โโโ pass3-prompt.md โ Generation prompt (combined)
|
|
402
|
+
โ โโโ standard/ โ Coding standards (15-19 files)
|
|
403
|
+
โ โ โโโ 00.core/ โ Overview, architecture, naming
|
|
404
|
+
โ โ โโโ 10.backend-api/ โ API patterns (stack-specific)
|
|
405
|
+
โ โ โโโ 20.frontend-ui/ โ Frontend patterns (if detected)
|
|
406
|
+
โ โ โโโ 30.security-db/ โ Security, DB schema, utilities
|
|
407
|
+
โ โ โโโ 40.infra/ โ Config, logging, CI/CD
|
|
408
|
+
โ โ โโโ 50.verification/ โ Build verification, testing
|
|
409
|
+
โ โโโ skills/ โ CRUD scaffolding skills
|
|
410
|
+
โ โโโ guide/ โ Onboarding, FAQ, troubleshooting (9 files)
|
|
411
|
+
โ โโโ plan/ โ Master plans (backup/restore)
|
|
412
|
+
โ โโโ database/ โ DB schema, migration guide
|
|
413
|
+
โ โโโ mcp-guide/ โ MCP server integration guide
|
|
414
|
+
โ
|
|
415
|
+
โโโ claudeos-core-tools/ โ This toolkit (don't modify)
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
Every standard file includes โ
correct examples, โ incorrect examples, and a rules summary table โ all derived from your actual code patterns, not generic templates.
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
## Auto-scaling by Project Size
|
|
423
|
+
|
|
424
|
+
| Size | Domains | Pass 1 Runs | Total `claude -p` | Est. Time |
|
|
425
|
+
|---|---|---|---|---|
|
|
426
|
+
| Small | 1โ4 | 1 | 3 | ~5min |
|
|
427
|
+
| Medium | 5โ8 | 2 | 4 | ~8min |
|
|
428
|
+
| Large | 9โ16 | 3โ4 | 5โ6 | ~12min |
|
|
429
|
+
| X-Large | 17+ | 5+ | 7+ | ~18min+ |
|
|
430
|
+
|
|
431
|
+
For multi-stack projects (e.g., Java + React), backend and frontend domains are counted together. A project with 6 backend + 4 frontend domains = 10 total, scaling as "Large".
|
|
432
|
+
|
|
433
|
+
---
|
|
434
|
+
|
|
435
|
+
## Verification Tools
|
|
436
|
+
|
|
437
|
+
ClaudeOS-Core includes 5 built-in verification tools that run automatically after generation:
|
|
438
|
+
|
|
439
|
+
```bash
|
|
440
|
+
# Run all checks at once (recommended)
|
|
441
|
+
npx claudeos-core health
|
|
442
|
+
|
|
443
|
+
# Individual commands
|
|
444
|
+
npx claudeos-core validate # Plan โ disk comparison
|
|
445
|
+
npx claudeos-core refresh # Disk โ Plan sync
|
|
446
|
+
npx claudeos-core restore # Plan โ Disk restore
|
|
447
|
+
|
|
448
|
+
# Or use node directly (git clone users)
|
|
449
|
+
node claudeos-core-tools/health-checker/index.js
|
|
450
|
+
node claudeos-core-tools/manifest-generator/index.js
|
|
451
|
+
node claudeos-core-tools/plan-validator/index.js --check
|
|
452
|
+
node claudeos-core-tools/sync-checker/index.js
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
| Tool | What It Does |
|
|
456
|
+
|---|---|
|
|
457
|
+
| **manifest-generator** | Builds metadata JSON (rule-manifest, sync-map, plan-manifest) |
|
|
458
|
+
| **plan-validator** | Compares Master Plan `<file>` blocks against disk โ 3 modes: check, refresh, restore |
|
|
459
|
+
| **sync-checker** | Detects unregistered files (on disk but not in plan) and orphaned entries |
|
|
460
|
+
| **content-validator** | Validates file quality โ empty files, missing โ
/โ examples, required sections |
|
|
461
|
+
| **pass-json-validator** | Validates Pass 1โ3 JSON structure, required keys, and section completeness |
|
|
462
|
+
|
|
463
|
+
---
|
|
464
|
+
|
|
465
|
+
## How Claude Code Uses Your Documentation
|
|
466
|
+
|
|
467
|
+
ClaudeOS-Core generates documentation that Claude Code actually reads โ here's how:
|
|
468
|
+
|
|
469
|
+
### What Claude Code reads automatically
|
|
470
|
+
|
|
471
|
+
| File | When | Guaranteed |
|
|
472
|
+
|---|---|---|
|
|
473
|
+
| `CLAUDE.md` | Every conversation start | Always |
|
|
474
|
+
| `.claude/rules/00.core/*` | When any file is edited (`paths: ["**/*"]`) | Always |
|
|
475
|
+
| `.claude/rules/10.backend/*` | When any file is edited (`paths: ["**/*"]`) | Always |
|
|
476
|
+
| `.claude/rules/30.security-db/*` | When any file is edited (`paths: ["**/*"]`) | Always |
|
|
477
|
+
| `.claude/rules/40.infra/*` | Only when editing config/infra files (scoped paths) | Conditional |
|
|
478
|
+
| `.claude/rules/50.sync/*` | Only when editing claudeos-core files (scoped paths) | Conditional |
|
|
479
|
+
|
|
480
|
+
### What Claude Code reads on-demand via rule references
|
|
481
|
+
|
|
482
|
+
Each rule file links to its corresponding standard via a `## Reference` section. Claude reads only the relevant standard for the current task:
|
|
483
|
+
|
|
484
|
+
- `claudeos-core/standard/**` โ coding patterns, โ
/โ examples, naming conventions
|
|
485
|
+
- `claudeos-core/database/**` โ DB schema (for queries, mappers, migrations)
|
|
486
|
+
|
|
487
|
+
The `00.standard-reference.md` serves as a directory of all standard files for discovering standards that have no corresponding rule.
|
|
488
|
+
|
|
489
|
+
### What Claude Code does NOT read (saves context)
|
|
490
|
+
|
|
491
|
+
These folders are explicitly excluded via the `DO NOT Read` section in the standard-reference rule:
|
|
492
|
+
|
|
493
|
+
| Folder | Why excluded |
|
|
494
|
+
|---|---|
|
|
495
|
+
| `claudeos-core/plan/` | Master Plan backups (~340KB). Use `npx claudeos-core refresh` to sync. |
|
|
496
|
+
| `claudeos-core/generated/` | Build metadata JSON. Not for coding. |
|
|
497
|
+
| `claudeos-core/guide/` | Onboarding guides for humans. |
|
|
498
|
+
| `claudeos-core/mcp-guide/` | MCP server docs. Not for coding. |
|
|
499
|
+
|
|
500
|
+
---
|
|
501
|
+
|
|
502
|
+
## Daily Workflow
|
|
503
|
+
|
|
504
|
+
### After Installation
|
|
505
|
+
|
|
506
|
+
```
|
|
507
|
+
# Just use Claude Code as normal โ it references your standards automatically:
|
|
508
|
+
"Create a CRUD for the order domain"
|
|
509
|
+
"Add user profile update API"
|
|
510
|
+
"Refactor this code to match project patterns"
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
### After Manually Editing Standards
|
|
514
|
+
|
|
515
|
+
```bash
|
|
516
|
+
# After editing standards or rules files:
|
|
517
|
+
npx claudeos-core refresh
|
|
518
|
+
|
|
519
|
+
# Verify everything is consistent
|
|
520
|
+
npx claudeos-core health
|
|
521
|
+
```
|
|
522
|
+
|
|
523
|
+
### When Docs Get Corrupted
|
|
524
|
+
|
|
525
|
+
```bash
|
|
526
|
+
# Restore everything from Master Plan
|
|
527
|
+
npx claudeos-core restore
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
### CI/CD Integration
|
|
531
|
+
|
|
532
|
+
```yaml
|
|
533
|
+
# GitHub Actions example
|
|
534
|
+
- run: npx claudeos-core validate
|
|
535
|
+
# Exit code 1 blocks the PR
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
---
|
|
539
|
+
|
|
540
|
+
## How Is This Different?
|
|
541
|
+
|
|
542
|
+
### vs Other Claude Code Tools
|
|
543
|
+
|
|
544
|
+
| | ClaudeOS-Core | Everything Claude Code (50K+ โญ) | Harness | specs-generator | Claude `/init` |
|
|
545
|
+
|---|---|---|---|---|---|
|
|
546
|
+
| **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
|
|
547
|
+
| **Reads your source code** | โ
Deterministic static analysis | โ | โ | โ (LLM reads) | โ (LLM reads) |
|
|
548
|
+
| **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
|
|
549
|
+
| **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
|
|
550
|
+
| **Same project โ Same result** | โ
Deterministic analysis | โ
(static files) | โ (LLM varies) | โ (LLM varies) | โ (LLM varies) |
|
|
551
|
+
| **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
|
|
552
|
+
| **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
|
|
553
|
+
| **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
|
|
554
|
+
| **Post-generation verification** | โ
5 automated validators | โ | โ | โ | โ |
|
|
555
|
+
| **Multi-language output** | โ
10 languages | โ | โ | โ | โ |
|
|
556
|
+
| **Multi-stack** | โ
Backend + Frontend simultaneous | โ Stack-agnostic | โ | โ | Partial |
|
|
557
|
+
| **Agent orchestration** | โ | โ
28 agents | โ
6 patterns | โ | โ |
|
|
558
|
+
|
|
559
|
+
### The key difference in one sentence
|
|
560
|
+
|
|
561
|
+
**Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
|
|
562
|
+
|
|
563
|
+
That's why Claude Code stops generating JPA code in your MyBatis project,
|
|
564
|
+
stops using `success()` when your codebase uses `ok()`,
|
|
565
|
+
and stops creating `user/controller/` directories when your project uses `controller/user/`.
|
|
566
|
+
|
|
567
|
+
### Complementary, not competing
|
|
568
|
+
|
|
569
|
+
ClaudeOS-Core focuses on **project-specific rules and standards**.
|
|
570
|
+
Other tools focus on **agent orchestration and workflows**.
|
|
571
|
+
|
|
572
|
+
You can use ClaudeOS-Core to generate your project's rules, then use ECC or Harness on top for agent teams and workflow automation. They solve different problems.
|
|
573
|
+
|
|
574
|
+
---
|
|
575
|
+
|
|
576
|
+
## FAQ
|
|
577
|
+
|
|
578
|
+
**Q: Does it modify my source code?**
|
|
579
|
+
No. It only creates `CLAUDE.md`, `.claude/rules/`, and `claudeos-core/`. Your existing code is never modified.
|
|
580
|
+
|
|
581
|
+
**Q: How much does it cost?**
|
|
582
|
+
It calls `claude -p` 3โ7 times. This is within normal Claude Code usage.
|
|
583
|
+
|
|
584
|
+
**Q: Should I commit the generated files to Git?**
|
|
585
|
+
Yes, recommended. Your team can share the same Claude Code standards. Consider adding `claudeos-core/generated/` to `.gitignore` (analysis JSON is regeneratable).
|
|
586
|
+
|
|
587
|
+
**Q: What about mixed-stack projects (e.g., Java backend + React frontend)?**
|
|
588
|
+
Fully supported. ClaudeOS-Core auto-detects both stacks, tags domains as `backend` or `frontend`, and uses stack-specific analysis prompts for each. Pass 2 merges everything, and Pass 3 generates both backend and frontend standards in one pass.
|
|
589
|
+
|
|
590
|
+
**Q: Does it work with Turborepo / pnpm workspaces / Lerna monorepos?**
|
|
591
|
+
Yes. ClaudeOS-Core detects `turbo.json`, `pnpm-workspace.yaml`, `lerna.json`, or `package.json#workspaces` and automatically scans sub-package `package.json` files for framework/ORM/DB dependencies. Domain scanning covers `apps/*/src/` and `packages/*/src/` patterns. Run from the monorepo root.
|
|
592
|
+
|
|
593
|
+
**Q: What happens on re-run?**
|
|
594
|
+
If previous Pass 1/2 results exist, an interactive prompt lets you choose: **Continue** (resume from where it stopped) or **Fresh** (delete all and start over). Use `--force` to skip the prompt and always start fresh. Pass 3 always re-runs. Previous versions can be restored from Master Plans.
|
|
595
|
+
|
|
596
|
+
**Q: Does NestJS get its own template or use the Express one?**
|
|
597
|
+
NestJS uses a dedicated `node-nestjs` template with NestJS-specific analysis categories: `@Module`, `@Injectable`, `@Controller` decorators, Guards, Pipes, Interceptors, DI container, CQRS patterns, and `Test.createTestingModule`. Express projects use the separate `node-express` template.
|
|
598
|
+
|
|
599
|
+
**Q: What about Vue / Nuxt projects?**
|
|
600
|
+
Vue/Nuxt uses a dedicated `vue-nuxt` template covering Composition API, `<script setup>`, defineProps/defineEmits, Pinia stores, `useFetch`/`useAsyncData`, Nitro server routes, and `@nuxt/test-utils`. Next.js/React projects use the `node-nextjs` template.
|
|
601
|
+
|
|
602
|
+
**Q: Does it support Kotlin?**
|
|
603
|
+
Yes. ClaudeOS-Core auto-detects Kotlin from `build.gradle.kts` or the kotlin plugin in `build.gradle`. It uses a dedicated `kotlin-spring` template with Kotlin-specific analysis (data classes, sealed classes, coroutines, extension functions, MockK, etc.).
|
|
604
|
+
|
|
605
|
+
**Q: What about CQRS / BFF architecture?**
|
|
606
|
+
Fully supported for Kotlin multi-module projects. ClaudeOS-Core reads `settings.gradle.kts`, detects module types (command, query, bff, integration) from module names, and groups the same domain across Command/Query modules. The generated standards include separate rules for command controllers vs query controllers, BFF/Feign patterns, and inter-module communication conventions.
|
|
607
|
+
|
|
608
|
+
**Q: What about Gradle multi-module monorepos?**
|
|
609
|
+
ClaudeOS-Core scans all submodules (`**/src/main/kotlin/**/*.kt`) regardless of nesting depth. Module types are inferred from naming conventions (e.g., `reservation-command-server` โ domain: `reservation`, type: `command`). Shared libraries (`shared-lib`, `integration-lib`) are also detected.
|
|
610
|
+
|
|
611
|
+
---
|
|
612
|
+
|
|
613
|
+
## Template Structure
|
|
614
|
+
|
|
615
|
+
```
|
|
616
|
+
pass-prompts/templates/
|
|
617
|
+
โโโ common/ # Shared header/footer
|
|
618
|
+
โโโ java-spring/ # Java / Spring Boot
|
|
619
|
+
โโโ kotlin-spring/ # Kotlin / Spring Boot (CQRS, BFF, multi-module)
|
|
620
|
+
โโโ node-express/ # Node.js / Express
|
|
621
|
+
โโโ node-nestjs/ # Node.js / NestJS (Module, DI, Guard, Pipe, Interceptor)
|
|
622
|
+
โโโ node-fastify/ # Node.js / Fastify
|
|
623
|
+
โโโ node-nextjs/ # Next.js / React
|
|
624
|
+
โโโ vue-nuxt/ # Vue / Nuxt (Composition API, Pinia, Nitro)
|
|
625
|
+
โโโ angular/ # Angular
|
|
626
|
+
โโโ python-django/ # Python / Django (DRF)
|
|
627
|
+
โโโ python-fastapi/ # Python / FastAPI
|
|
628
|
+
```
|
|
629
|
+
|
|
630
|
+
`plan-installer` auto-detects your stack(s), then assembles type-specific prompts. NestJS and Vue/Nuxt use dedicated templates with framework-specific analysis categories (e.g., `@Module`/`@Injectable`/Guards for NestJS, `<script setup>`/Pinia/useFetch for Vue). For multi-stack projects, separate `pass1-backend-prompt.md` and `pass1-frontend-prompt.md` are generated, while `pass3-prompt.md` combines both stacks' generation targets.
|
|
631
|
+
|
|
632
|
+
---
|
|
633
|
+
|
|
634
|
+
## Monorepo Support
|
|
635
|
+
|
|
636
|
+
ClaudeOS-Core automatically detects JS/TS monorepo setups and scans sub-packages for dependencies.
|
|
637
|
+
|
|
638
|
+
**Supported monorepo markers** (auto-detected):
|
|
639
|
+
- `turbo.json` (Turborepo)
|
|
640
|
+
- `pnpm-workspace.yaml` (pnpm workspaces)
|
|
641
|
+
- `lerna.json` (Lerna)
|
|
642
|
+
- `package.json#workspaces` (npm/yarn workspaces)
|
|
643
|
+
|
|
644
|
+
**Run from the monorepo root** โ ClaudeOS-Core reads `apps/*/package.json` and `packages/*/package.json` to discover framework/ORM/DB dependencies across sub-packages:
|
|
645
|
+
|
|
646
|
+
```bash
|
|
647
|
+
cd my-monorepo
|
|
648
|
+
npx claudeos-core init
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
**What gets detected:**
|
|
652
|
+
- Dependencies from `apps/web/package.json` (e.g., `next`, `react`) โ frontend stack
|
|
653
|
+
- Dependencies from `apps/api/package.json` (e.g., `express`, `prisma`) โ backend stack
|
|
654
|
+
- Dependencies from `packages/db/package.json` (e.g., `drizzle-orm`) โ ORM/DB
|
|
655
|
+
- Custom workspace paths from `pnpm-workspace.yaml` (e.g., `services/*`)
|
|
656
|
+
|
|
657
|
+
**Domain scanning also covers monorepo layouts:**
|
|
658
|
+
- `apps/api/src/modules/*/` and `apps/api/src/*/` for backend domains
|
|
659
|
+
- `apps/web/app/*/`, `apps/web/src/app/*/`, `apps/web/pages/*/` for frontend domains
|
|
660
|
+
- `packages/*/src/*/` for shared package domains
|
|
661
|
+
|
|
662
|
+
```
|
|
663
|
+
my-monorepo/ โ Run here: npx claudeos-core init
|
|
664
|
+
โโโ turbo.json โ Auto-detected as Turborepo
|
|
665
|
+
โโโ apps/
|
|
666
|
+
โ โโโ web/ โ Next.js detected from apps/web/package.json
|
|
667
|
+
โ โ โโโ app/dashboard/ โ Frontend domain detected
|
|
668
|
+
โ โ โโโ package.json โ { "dependencies": { "next": "^14" } }
|
|
669
|
+
โ โโโ api/ โ Express detected from apps/api/package.json
|
|
670
|
+
โ โโโ src/modules/users/ โ Backend domain detected
|
|
671
|
+
โ โโโ package.json โ { "dependencies": { "express": "^4" } }
|
|
672
|
+
โโโ packages/
|
|
673
|
+
โ โโโ db/ โ Drizzle detected from packages/db/package.json
|
|
674
|
+
โ โโโ ui/
|
|
675
|
+
โโโ package.json โ { "workspaces": ["apps/*", "packages/*"] }
|
|
676
|
+
```
|
|
677
|
+
|
|
678
|
+
> **Note:** For Kotlin/Java monorepos, multi-module detection uses `settings.gradle.kts` (see [Kotlin Multi-Module Detection](#kotlin-multi-module-domain-detection) above) and does not require JS monorepo markers.
|
|
679
|
+
|
|
680
|
+
## Troubleshooting
|
|
681
|
+
|
|
682
|
+
**"claude: command not found"** โ Claude Code CLI is not installed or not in PATH. See [Claude Code docs](https://code.claude.com/docs/en/overview).
|
|
683
|
+
|
|
684
|
+
**"npm install failed"** โ Node.js version may be too low. Requires v18+.
|
|
685
|
+
|
|
686
|
+
**"0 domains detected"** โ Your project structure may be non-standard. See the detection patterns above for your stack.
|
|
687
|
+
|
|
688
|
+
**"0 domains detected" on Kotlin project** โ Ensure your project has `build.gradle.kts` (or `build.gradle` with kotlin plugin) at the root, and source files are under `**/src/main/kotlin/`. For multi-module projects, ensure `settings.gradle.kts` contains `include()` statements. Single-module Kotlin projects (without `settings.gradle`) are also supported โ domains are extracted from package/class structure under `src/main/kotlin/`.
|
|
689
|
+
|
|
690
|
+
**"Language detected as java instead of kotlin"** โ ClaudeOS-Core checks the root `build.gradle(.kts)` first, then submodule build files. If the root build file uses `java` plugin without `kotlin`, but submodules use Kotlin, the tool checks up to 5 submodule build files as fallback. If still not detected, ensure at least one `build.gradle.kts` contains `kotlin("jvm")` or `org.jetbrains.kotlin`.
|
|
691
|
+
|
|
692
|
+
**"CQRS not detected"** โ Architecture detection relies on module names containing `command` and `query` keywords. If your modules use different naming (e.g., `write-server`, `read-server`), the CQRS architecture won't be auto-detected. You can manually adjust the generated prompts after plan-installer runs.
|
|
693
|
+
|
|
694
|
+
---
|
|
695
|
+
|
|
696
|
+
## Contributing
|
|
697
|
+
|
|
698
|
+
Contributions are welcome! Areas where help is most needed:
|
|
699
|
+
|
|
700
|
+
- **New stack templates** โ Ruby/Rails, Go/Gin, PHP/Laravel, Rust/Axum
|
|
701
|
+
- **Monorepo deep support** โ Separate sub-project roots, workspace detection
|
|
702
|
+
- **Test coverage** โ Expanding test suite (currently 269 tests covering all scanners, stack detection, domain grouping, plan parsing, prompt generation, CLI selectors, monorepo detection, Vite SPA detection, and verification tools)
|
|
703
|
+
|
|
704
|
+
---
|
|
705
|
+
|
|
706
|
+
## Author
|
|
707
|
+
|
|
708
|
+
Created by **claudeos-core** โ [GitHub](https://github.com/claudeos-core) ยท [Email](mailto:claudeoscore@gmail.com)
|
|
709
|
+
|
|
710
|
+
## License
|
|
711
|
+
|
|
712
|
+
ISC
|