claudeos-core 1.3.1 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.de.md +70 -26
- package/README.es.md +70 -26
- package/README.fr.md +70 -26
- package/README.hi.md +71 -27
- package/README.ja.md +89 -27
- package/README.ko.md +89 -24
- package/README.md +89 -26
- package/README.ru.md +70 -26
- package/README.vi.md +70 -26
- package/README.zh-CN.md +71 -27
- package/bin/cli.js +38 -10
- package/bootstrap.sh +13 -2
- package/content-validator/index.js +11 -4
- package/manifest-generator/index.js +24 -1
- package/package.json +3 -1
- package/pass-prompts/templates/angular/pass1.md +146 -0
- package/pass-prompts/templates/angular/pass2.md +86 -0
- package/pass-prompts/templates/angular/pass3.md +102 -0
- package/pass-prompts/templates/node-fastify/pass1.md +123 -0
- package/pass-prompts/templates/node-fastify/pass2.md +83 -0
- package/pass-prompts/templates/node-fastify/pass3.md +108 -0
- package/plan-installer/domain-grouper.js +6 -10
- package/plan-installer/index.js +2 -1
- package/plan-installer/stack-detector.js +11 -3
- package/plan-installer/structure-scanner.js +103 -10
- package/plan-validator/index.js +4 -2
- package/sync-checker/index.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.4.1] — 2026-04-04
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **Node.js / Fastify stack support** — Dedicated `node-fastify` template (pass1/pass2/pass3) with Fastify-specific analysis: plugin architecture, JSON Schema validation (TypeBox, fluent-json-schema), lifecycle hooks (onRequest, preSerialization), Pino logging, fastify.inject() testing; 10 categories, ~62 sub-items
|
|
7
|
+
- **Angular stack support** — Dedicated `angular` template (pass1/pass2/pass3) with Angular-specific analysis: NgModule/standalone components, RxJS patterns, route guards/resolvers, Reactive Forms, state management (NgRx/NGXS/Signals), HttpClient interceptors, ViewEncapsulation, TestBed; 12 categories, ~78 sub-items
|
|
8
|
+
- **Angular domain detection** — `@angular/core` in package.json (priority over React), `angular.json` config file fallback; structure scanner detects `src/app/*/` feature modules with `*.component.ts`/`*.module.ts`/`*.service.ts` classification
|
|
9
|
+
- **Fastify detection** — `fastify` in package.json; priority: NestJS > Fastify > Express (all guarded by `!stack.framework`)
|
|
10
|
+
- **9 new tests** — Fastify detection (3), Angular detection (3), selectTemplates routing (3); total 57 → 66
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **Arrow key compatibility** — Added application mode escape sequences (`\x1bOA`/`\x1bOB`) for terminals that use SS3 mode (Git Bash/mintty, tmux, screen); previously only normal mode (`\x1b[A`/`\x1b[B`) was handled
|
|
14
|
+
- **`setRawMode` crash prevention** — Wrapped `setRawMode(true)` in try-catch; falls back to number input if raw mode is unsupported (e.g., some Windows terminal emulators)
|
|
15
|
+
- **React/CRA/Vite/RN frontend domain detection** — Added Fallback C (`**/components/*/`) and Fallback D (deep `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/`) for pure React projects without Next.js App Router; previously only `{src/,}components/*/` (1-depth) was scanned, causing 0 domains for projects with deep component structures (e.g., `src/desktop/app/components/order/`)
|
|
16
|
+
- **Vue `.vue` file detection** — Added `.vue` extension to all frontend domain scanning globs (primary, FSD, components, Fallback B/C/D); previously `.vue` was only included in statistics globs but not in domain detection, causing 0 domains for Vue/Nuxt projects
|
|
17
|
+
- **`setRawMode` fallback UX** — Added "Generated files will be written in this language" description text to setRawMode fallback path (was missing, non-TTY and arrow-key paths had it)
|
|
18
|
+
- **Fallback C/D glob performance** — Added `.git`, `vendor`, `__pycache__`, `coverage` to ignore list (prevents scanning non-source directories in large repos)
|
|
19
|
+
- **Fallback D domain source tracking** — Domain entries now include `sources` field recording which directory pattern(s) matched (e.g., `["views", "routes"]`), preventing silent conflation
|
|
20
|
+
- **`plan-validator` / `sync-checker` path traversal** — Changed `startsWith(ROOT + sep)` to also allow `=== ROOT` (fixes edge case where ROOT-level files like `CLAUDE.md` could be rejected on Windows)
|
|
21
|
+
- **`content-validator` Kotlin code block check** — Core standard files (`00.core/02.`, `00.core/03.`) downgraded from warning to silent skip (may legitimately lack `\`\`\`kotlin` blocks in multi-stack projects)
|
|
22
|
+
- **`manifest-generator` sync-map completeness** — Code-block format plan files (e.g., `21.sync-rules-master.md`) now included in `sync-map.json`; previously only `<file>` block format plans were extracted, causing sync-checker to report false "unregistered" entries
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
- **Language selector hint** — Added `1-0 Jump` and `ESC Cancel` to the interactive selector hint line (`↑↓ Move 1-0 Jump Enter Select ESC Cancel`); users can now discover number key shortcuts without reading docs
|
|
26
|
+
- **`bootstrap.sh` completion box** — Added `Output language:` line (was missing, cli.js had it); changed verify command from `node claudeos-core-tools/health-checker/index.js` to `npx claudeos-core health` (matches cli.js)
|
|
27
|
+
- **All 10 READMEs** — Language selector example updated to match new hint text; description text changed from "arrow keys" to "arrow keys or number keys"
|
|
28
|
+
- **`selectTemplates` pure frontend fix** — TypeScript/JavaScript/Python language-only fallback no longer assigns a backend template when `stack.framework` is absent; pure frontend projects (CRA, Vite, Vue CLI) now correctly get `backend: null` instead of `node-express`
|
|
29
|
+
- **`stack-detector` NestJS priority** — NestJS checked before Express (NestJS is more specific; NestJS projects always include express as a dependency); both now use `!stack.framework` guard for order-independence
|
|
30
|
+
- **`domain-grouper` dead code removal** — Removed unreachable `if (!templates.backend && templates.frontend)` block and orphaned "Dynamic prompt generation" comment
|
|
31
|
+
- **`cli.js` `countFiles` resilience** — `realpathSync` wrapped in try-catch to handle Windows junction points that throw
|
|
32
|
+
- **`bootstrap.sh` prerequisites** — Added `perl` to header comment prerequisites list
|
|
33
|
+
|
|
3
34
|
## [1.3.1] — 2026-04-03
|
|
4
35
|
|
|
5
36
|
### Changed
|
package/README.de.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ClaudeOS-Core
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Das einzige Tool, das zuerst Ihren Quellcode liest, Stack und Patterns mit deterministischer Analyse bestätigt und dann Claude Code Regeln generiert, die exakt auf Ihr Projekt zugeschnitten sind.**
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx claudeos-core init
|
|
@@ -12,20 +12,50 @@ ClaudeOS-Core liest Ihre Codebasis, extrahiert jedes Muster und generiert einen
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Warum ClaudeOS-Core?
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
> Mensch beschreibt das Projekt → LLM generiert Dokumentation
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
ClaudeOS-Core:
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
> Code analysiert Quellcode → Code baut maßgeschneiderten Prompt → LLM generiert Dokumentation → Code verifiziert Output
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
2. **Analysiert** Ihren Quellcode tiefgehend — Controller-Muster, Service-Schichten, Namenskonventionen, Fehlerbehandlung, Sicherheit, Tests und 50+ Kategorien
|
|
25
|
-
3. **Generiert** ein vollständiges Dokumentationsökosystem — `CLAUDE.md`, Standards (15–19 Dateien), Rules, Skills, Guides (9 Dateien), Master Plans, DB-Dokumentation und MCP-Leitfaden
|
|
26
|
-
4. **Validiert** alles — 5 integrierte Verifizierungstools gewährleisten Konsistenz
|
|
23
|
+
### Das Kernproblem: LLMs raten. Code bestätigt.
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
Wenn Sie Claude bitten, "dieses Projekt zu analysieren", **rät** es Ihren Stack, ORM, Domänenstruktur.
|
|
26
|
+
|
|
27
|
+
**ClaudeOS-Core rät nicht.** Claude Node.js:
|
|
28
|
+
|
|
29
|
+
- `build.gradle` / `package.json` / `pyproject.toml` → **confirmed**
|
|
30
|
+
- directory scan → **confirmed**
|
|
31
|
+
- Java 5 patterns, Kotlin CQRS/BFF, Next.js App Router/FSD → **classified**
|
|
32
|
+
- domain groups → **split**
|
|
33
|
+
- stack-specific prompt → **assembled**
|
|
34
|
+
|
|
35
|
+
### Das Ergebnis
|
|
36
|
+
|
|
37
|
+
Andere Tools erzeugen "allgemein gute" Dokumentation.
|
|
38
|
+
ClaudeOS-Core erzeugt Dokumentation, die weiß, dass Ihr Projekt `ApiResponse.ok()` verwendet (nicht `ResponseEntity.success()`), dass Ihre MyBatis XML Mapper in `src/main/resources/mapper/{domain}/` liegen — weil es Ihren tatsächlichen Code gelesen hat.
|
|
39
|
+
|
|
40
|
+
### Before & After
|
|
41
|
+
|
|
42
|
+
**Ohne ClaudeOS-Core**:
|
|
43
|
+
```
|
|
44
|
+
❌ JPA repository (MyBatis)
|
|
45
|
+
❌ ResponseEntity.success() (ApiResponse.ok())
|
|
46
|
+
❌ order/controller/ (controller/order/)
|
|
47
|
+
→ 20 min fix per file
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Mit ClaudeOS-Core**:
|
|
51
|
+
```
|
|
52
|
+
✅ MyBatis mapper + XML (build.gradle)
|
|
53
|
+
✅ ApiResponse.ok() (source code)
|
|
54
|
+
✅ controller/order/ (Pattern A)
|
|
55
|
+
→ immediate match
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Dieser Unterschied summiert sich. 10 Aufgaben/Tag × 20 Minuten gespart = **über 3 Stunden/Tag**.
|
|
29
59
|
|
|
30
60
|
---
|
|
31
61
|
|
|
@@ -39,6 +69,8 @@ Gesamtzeit: **5–18 Minuten**, abhängig von der Projektgröße. Null manuelle
|
|
|
39
69
|
| **Next.js / React / Vue** | `package.json`, `next.config.*`, FSD-Unterstützung | 9 Kategorien, 55 Unterpunkte |
|
|
40
70
|
| **Python / Django** | `requirements.txt`, `pyproject.toml` | 10 Kategorien, 55 Unterpunkte |
|
|
41
71
|
| **Python / FastAPI** | `requirements.txt`, `pyproject.toml` | 10 Kategorien, 58 Unterpunkte |
|
|
72
|
+
| **Node.js / Fastify** | `package.json` | 10 Kategorien, 62 Unterpunkte |
|
|
73
|
+
| **Angular** | `package.json`, `angular.json` | 12 Kategorien, 78 Unterpunkte |
|
|
42
74
|
|
|
43
75
|
Automatisch erkannt: Sprache und Version, Framework und Version, ORM (MyBatis, JPA, Exposed, Prisma, TypeORM, SQLAlchemy usw.), Datenbank (PostgreSQL, MySQL, Oracle, MongoDB, SQLite), Paketmanager (Gradle, Maven, npm, yarn, pnpm, pip, poetry), Architektur (CQRS, BFF — aus Modulnamen erkannt), Multi-Modul-Struktur (aus settings.gradle).
|
|
44
76
|
|
|
@@ -79,6 +111,7 @@ Unterstützte Modultypen: `command`, `query`, `bff`, `integration`, `standalone`
|
|
|
79
111
|
- **FSD (Feature-Sliced Design)**: `features/*/`, `widgets/*/`, `entities/*/`
|
|
80
112
|
- **RSC/Client-Split**: Erkennt `client.tsx`-Muster, verfolgt Server/Client-Trennung
|
|
81
113
|
- **Config-Fallback**: Erkennt Next.js/Vite/Nuxt aus Config-Dateien (Monorepo-Unterstützung)
|
|
114
|
+
- **Tiefe Verzeichnis-Fallback**: Für React/CRA/Vite/Vue/RN-Projekte scannt `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` in beliebiger Tiefe
|
|
82
115
|
|
|
83
116
|
---
|
|
84
117
|
|
|
@@ -117,7 +150,7 @@ bash claudeos-core-tools/bootstrap.sh
|
|
|
117
150
|
|
|
118
151
|
### Ausgabesprache (10 Sprachen)
|
|
119
152
|
|
|
120
|
-
Wenn Sie `init` ohne `--lang` ausführen, erscheint ein interaktiver Selektor
|
|
153
|
+
Wenn Sie `init` ohne `--lang` ausführen, erscheint ein interaktiver Selektor (Pfeiltasten oder Zifferntasten):
|
|
121
154
|
|
|
122
155
|
```
|
|
123
156
|
╔══════════════════════════════════════════════════╗
|
|
@@ -131,7 +164,7 @@ Wenn Sie `init` ohne `--lang` ausführen, erscheint ein interaktiver Selektor mi
|
|
|
131
164
|
...
|
|
132
165
|
❯ 10. de — Deutsch (German)
|
|
133
166
|
|
|
134
|
-
↑↓ Move
|
|
167
|
+
↑↓ Move 1-0 Jump Enter Select ESC Cancel
|
|
135
168
|
```
|
|
136
169
|
|
|
137
170
|
Die Beschreibung wechselt beim Navigieren in die entsprechende Sprache. Um den Selektor zu überspringen:
|
|
@@ -454,19 +487,31 @@ npx claudeos-core restore
|
|
|
454
487
|
|
|
455
488
|
## Was ist anders?
|
|
456
489
|
|
|
457
|
-
| | ClaudeOS-Core |
|
|
458
|
-
|
|
459
|
-
| **
|
|
460
|
-
| **
|
|
461
|
-
| **
|
|
462
|
-
| **
|
|
463
|
-
| **
|
|
464
|
-
| **
|
|
465
|
-
| **
|
|
466
|
-
| **
|
|
490
|
+
| | ClaudeOS-Core | Everything Claude Code (50K+ ⭐) | Harness | specs-generator | Claude `/init` |
|
|
491
|
+
|---|---|---|---|---|---|
|
|
492
|
+
| **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
|
|
493
|
+
| **Reads your source code** | ✅ Deterministic static analysis | ❌ | ❌ | ❌ (LLM reads) | ❌ (LLM reads) |
|
|
494
|
+
| **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
|
|
495
|
+
| **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
|
|
496
|
+
| **Same project → Same result** | ✅ Deterministic analysis | ✅ (static files) | ❌ (LLM varies) | ❌ (LLM varies) | ❌ (LLM varies) |
|
|
497
|
+
| **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
|
|
498
|
+
| **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
|
|
499
|
+
| **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
|
|
500
|
+
| **Post-generation verification** | ✅ 5 automated validators | ❌ | ❌ | ❌ | ❌ |
|
|
501
|
+
| **Multi-language output** | ✅ 10 languages | ❌ | ❌ | ❌ | ❌ |
|
|
502
|
+
| **Multi-stack** | ✅ Backend + Frontend simultaneous | ❌ Stack-agnostic | ❌ | ❌ | Partial |
|
|
503
|
+
| **Agent orchestration** | ❌ | ✅ 28 agents | ✅ 6 patterns | ❌ | ❌ |
|
|
467
504
|
|
|
468
|
-
|
|
505
|
+
### Key difference
|
|
506
|
+
|
|
507
|
+
**Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
|
|
508
|
+
|
|
509
|
+
### Complementary, not competing
|
|
469
510
|
|
|
511
|
+
ClaudeOS-Core: **project-specific rules**. Other tools: **agent orchestration**.
|
|
512
|
+
Use both together.
|
|
513
|
+
|
|
514
|
+
---
|
|
470
515
|
## FAQ
|
|
471
516
|
|
|
472
517
|
**F: Ändert es meinen Quellcode?**
|
|
@@ -505,14 +550,13 @@ pass-prompts/templates/
|
|
|
505
550
|
├── node-express/ # Node.js / Express / NestJS
|
|
506
551
|
├── node-nextjs/ # Next.js / React / Vue
|
|
507
552
|
├── python-django/ # Python / Django (DRF)
|
|
553
|
+
├── node-fastify/ # Node.js / Fastify
|
|
554
|
+
├── angular/ # Angular
|
|
508
555
|
└── python-fastapi/ # Python / FastAPI
|
|
509
556
|
```
|
|
510
557
|
|
|
511
558
|
`plan-installer` erkennt automatisch Ihren Stack / Ihre Stacks und stellt typspezifische Prompts zusammen. Für Multi-Stack-Projekte werden `pass1-backend-prompt.md` und `pass1-frontend-prompt.md` separat generiert, während `pass3-prompt.md` die Generierungsziele beider Stacks kombiniert.
|
|
512
559
|
|
|
513
|
-
---
|
|
514
|
-
|
|
515
|
-
|
|
516
560
|
---
|
|
517
561
|
|
|
518
562
|
## Monorepo-Unterstützung
|
package/README.es.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ClaudeOS-Core
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**La única herramienta que lee tu código fuente primero, confirma tu stack y patrones con análisis determinístico, y genera reglas de Claude Code adaptadas exactamente a tu proyecto.**
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx claudeos-core init
|
|
@@ -12,20 +12,50 @@ ClaudeOS-Core lee tu código fuente, extrae cada patrón que encuentra y genera
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## ¿Por qué ClaudeOS-Core?
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
> Humano describe el proyecto → LLM genera documentación
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
ClaudeOS-Core:
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
> Código analiza tu fuente → Código construye prompt personalizado → LLM genera documentación → Código verifica la salida
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
2. **Analiza** tu código fuente en profundidad — patrones de controladores, capas de servicio, convenciones de nombrado, manejo de errores, seguridad, testing y más de 50 categorías
|
|
25
|
-
3. **Genera** un ecosistema documental completo — `CLAUDE.md`, Standards (15–19 archivos), Rules, Skills, Guides (9 archivos), Master Plans, documentación de BD y guía MCP
|
|
26
|
-
4. **Valida** todo — 5 herramientas de verificación integradas garantizan la consistencia
|
|
23
|
+
### El problema central: Los LLMs adivinan. El código confirma.
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
Cuando le pides a Claude "analiza este proyecto", **adivina** tu stack, ORM y estructura de dominios.
|
|
26
|
+
|
|
27
|
+
**ClaudeOS-Core no adivina.** Claude Node.js:
|
|
28
|
+
|
|
29
|
+
- `build.gradle` / `package.json` / `pyproject.toml` → **confirmed**
|
|
30
|
+
- directory scan → **confirmed**
|
|
31
|
+
- Java 5 patterns, Kotlin CQRS/BFF, Next.js App Router/FSD → **classified**
|
|
32
|
+
- domain groups → **split**
|
|
33
|
+
- stack-specific prompt → **assembled**
|
|
34
|
+
|
|
35
|
+
### El resultado
|
|
36
|
+
|
|
37
|
+
Otras herramientas producen documentación "generalmente buena".
|
|
38
|
+
ClaudeOS-Core produce documentación que sabe que tu proyecto usa `ApiResponse.ok()` (no `ResponseEntity.success()`), que tus mappers MyBatis XML están en `src/main/resources/mapper/{domain}/` — porque leyó tu código real.
|
|
39
|
+
|
|
40
|
+
### Before & After
|
|
41
|
+
|
|
42
|
+
**Sin ClaudeOS-Core**:
|
|
43
|
+
```
|
|
44
|
+
❌ JPA repository (MyBatis)
|
|
45
|
+
❌ ResponseEntity.success() (ApiResponse.ok())
|
|
46
|
+
❌ order/controller/ (controller/order/)
|
|
47
|
+
→ 20 min fix per file
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Con ClaudeOS-Core**:
|
|
51
|
+
```
|
|
52
|
+
✅ MyBatis mapper + XML (build.gradle)
|
|
53
|
+
✅ ApiResponse.ok() (source code)
|
|
54
|
+
✅ controller/order/ (Pattern A)
|
|
55
|
+
→ immediate match
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Esta diferencia se acumula. 10 tareas/día × 20 minutos ahorrados = **más de 3 horas/día**.
|
|
29
59
|
|
|
30
60
|
---
|
|
31
61
|
|
|
@@ -39,6 +69,8 @@ Tiempo total: **5–18 minutos**, según el tamaño del proyecto. Cero configura
|
|
|
39
69
|
| **Next.js / React / Vue** | `package.json`, `next.config.*`, soporte FSD | 9 categorías, 55 sub-ítems |
|
|
40
70
|
| **Python / Django** | `requirements.txt`, `pyproject.toml` | 10 categorías, 55 sub-ítems |
|
|
41
71
|
| **Python / FastAPI** | `requirements.txt`, `pyproject.toml` | 10 categorías, 58 sub-ítems |
|
|
72
|
+
| **Node.js / Fastify** | `package.json` | 10 categorías, 62 sub-ítems |
|
|
73
|
+
| **Angular** | `package.json`, `angular.json` | 12 categorías, 78 sub-ítems |
|
|
42
74
|
|
|
43
75
|
Detección automática: lenguaje y versión, framework y versión, ORM (MyBatis, JPA, Exposed, Prisma, TypeORM, SQLAlchemy, etc.), base de datos (PostgreSQL, MySQL, Oracle, MongoDB, SQLite), gestor de paquetes (Gradle, Maven, npm, yarn, pnpm, pip, poetry), arquitectura (CQRS, BFF — detectado de nombres de módulos), estructura multi-módulo (desde settings.gradle).
|
|
44
76
|
|
|
@@ -79,6 +111,7 @@ Tipos de módulo soportados: `command`, `query`, `bff`, `integration`, `standalo
|
|
|
79
111
|
- **FSD (Feature-Sliced Design)**: `features/*/`, `widgets/*/`, `entities/*/`
|
|
80
112
|
- **RSC/Client split**: Detecta patrón `client.tsx`, rastrea separación Server/Client
|
|
81
113
|
- **Config fallback**: Detecta Next.js/Vite/Nuxt desde archivos de configuración (soporte monorepo)
|
|
114
|
+
- **Fallback de directorios profundos**: Para proyectos React/CRA/Vite/Vue/RN, escanea `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` a cualquier profundidad
|
|
82
115
|
|
|
83
116
|
---
|
|
84
117
|
|
|
@@ -117,7 +150,7 @@ bash claudeos-core-tools/bootstrap.sh
|
|
|
117
150
|
|
|
118
151
|
### Idioma de salida (10 idiomas)
|
|
119
152
|
|
|
120
|
-
Al ejecutar `init` sin `--lang`, aparece un selector interactivo con teclas de flecha:
|
|
153
|
+
Al ejecutar `init` sin `--lang`, aparece un selector interactivo con teclas de flecha o teclas numéricas:
|
|
121
154
|
|
|
122
155
|
```
|
|
123
156
|
╔══════════════════════════════════════════════════╗
|
|
@@ -132,7 +165,7 @@ Al ejecutar `init` sin `--lang`, aparece un selector interactivo con teclas de f
|
|
|
132
165
|
❯ 5. es — Español (Spanish)
|
|
133
166
|
...
|
|
134
167
|
|
|
135
|
-
↑↓ Move
|
|
168
|
+
↑↓ Move 1-0 Jump Enter Select ESC Cancel
|
|
136
169
|
```
|
|
137
170
|
|
|
138
171
|
La descripción cambia al idioma seleccionado al navegar. Para saltar el selector:
|
|
@@ -455,19 +488,31 @@ npx claudeos-core restore
|
|
|
455
488
|
|
|
456
489
|
## ¿En Qué se Diferencia?
|
|
457
490
|
|
|
458
|
-
| | ClaudeOS-Core |
|
|
459
|
-
|
|
460
|
-
| **
|
|
461
|
-
| **
|
|
462
|
-
| **
|
|
463
|
-
| **
|
|
464
|
-
| **
|
|
465
|
-
| **
|
|
466
|
-
| **
|
|
467
|
-
| **
|
|
491
|
+
| | ClaudeOS-Core | Everything Claude Code (50K+ ⭐) | Harness | specs-generator | Claude `/init` |
|
|
492
|
+
|---|---|---|---|---|---|
|
|
493
|
+
| **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
|
|
494
|
+
| **Reads your source code** | ✅ Deterministic static analysis | ❌ | ❌ | ❌ (LLM reads) | ❌ (LLM reads) |
|
|
495
|
+
| **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
|
|
496
|
+
| **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
|
|
497
|
+
| **Same project → Same result** | ✅ Deterministic analysis | ✅ (static files) | ❌ (LLM varies) | ❌ (LLM varies) | ❌ (LLM varies) |
|
|
498
|
+
| **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
|
|
499
|
+
| **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
|
|
500
|
+
| **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
|
|
501
|
+
| **Post-generation verification** | ✅ 5 automated validators | ❌ | ❌ | ❌ | ❌ |
|
|
502
|
+
| **Multi-language output** | ✅ 10 languages | ❌ | ❌ | ❌ | ❌ |
|
|
503
|
+
| **Multi-stack** | ✅ Backend + Frontend simultaneous | ❌ Stack-agnostic | ❌ | ❌ | Partial |
|
|
504
|
+
| **Agent orchestration** | ❌ | ✅ 28 agents | ✅ 6 patterns | ❌ | ❌ |
|
|
468
505
|
|
|
469
|
-
|
|
506
|
+
### Key difference
|
|
507
|
+
|
|
508
|
+
**Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
|
|
509
|
+
|
|
510
|
+
### Complementary, not competing
|
|
470
511
|
|
|
512
|
+
ClaudeOS-Core: **project-specific rules**. Other tools: **agent orchestration**.
|
|
513
|
+
Use both together.
|
|
514
|
+
|
|
515
|
+
---
|
|
471
516
|
## FAQ
|
|
472
517
|
|
|
473
518
|
**P: ¿Modifica mi código fuente?**
|
|
@@ -506,14 +551,13 @@ pass-prompts/templates/
|
|
|
506
551
|
├── node-express/ # Node.js / Express / NestJS
|
|
507
552
|
├── node-nextjs/ # Next.js / React / Vue
|
|
508
553
|
├── python-django/ # Python / Django (DRF)
|
|
554
|
+
├── node-fastify/ # Node.js / Fastify
|
|
555
|
+
├── angular/ # Angular
|
|
509
556
|
└── python-fastapi/ # Python / FastAPI
|
|
510
557
|
```
|
|
511
558
|
|
|
512
559
|
`plan-installer` auto-detecta tu(s) stack(s) y ensambla prompts específicos por tipo. Para proyectos multi-stack, se generan `pass1-backend-prompt.md` y `pass1-frontend-prompt.md` por separado, mientras que `pass3-prompt.md` combina los objetivos de generación de ambos stacks.
|
|
513
560
|
|
|
514
|
-
---
|
|
515
|
-
|
|
516
|
-
|
|
517
561
|
---
|
|
518
562
|
|
|
519
563
|
## Soporte Monorepo
|
package/README.fr.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ClaudeOS-Core
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Le seul outil qui lit d'abord votre code source, confirme votre stack et vos patterns par une analyse déterministe, puis génère des règles Claude Code adaptées exactement à votre projet.**
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx claudeos-core init
|
|
@@ -12,20 +12,50 @@ ClaudeOS-Core lit votre codebase, extrait chaque pattern qu'il trouve et génèr
|
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Pourquoi ClaudeOS-Core ?
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
> L'humain décrit le projet → Le LLM génère la documentation
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
ClaudeOS-Core:
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
> Le code analyse vos sources → Le code construit un prompt personnalisé → Le LLM génère la documentation → Le code vérifie la sortie
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
2. **Analyse en profondeur** votre code source — patterns de contrôleurs, couches de service, conventions de nommage, gestion des erreurs, sécurité, tests et plus de 50 catégories
|
|
25
|
-
3. **Génère** un écosystème documentaire complet — `CLAUDE.md`, Standards (15–19 fichiers), Rules, Skills, Guides (9 fichiers), Master Plans, documentation BD et guide MCP
|
|
26
|
-
4. **Valide** tout — 5 outils de vérification intégrés garantissent la cohérence
|
|
23
|
+
### Le problème fondamental : les LLMs devinent. Le code confirme.
|
|
27
24
|
|
|
28
|
-
|
|
25
|
+
Quand vous demandez à Claude d'« analyser ce projet », il **devine** votre stack, ORM, structure de domaines.
|
|
26
|
+
|
|
27
|
+
**ClaudeOS-Core ne devine pas.** Claude Node.js:
|
|
28
|
+
|
|
29
|
+
- `build.gradle` / `package.json` / `pyproject.toml` → **confirmed**
|
|
30
|
+
- directory scan → **confirmed**
|
|
31
|
+
- Java 5 patterns, Kotlin CQRS/BFF, Next.js App Router/FSD → **classified**
|
|
32
|
+
- domain groups → **split**
|
|
33
|
+
- stack-specific prompt → **assembled**
|
|
34
|
+
|
|
35
|
+
### Le résultat
|
|
36
|
+
|
|
37
|
+
Les autres outils produisent une documentation « généralement bonne ».
|
|
38
|
+
ClaudeOS-Core produit une documentation qui sait que votre projet utilise `ApiResponse.ok()` (pas `ResponseEntity.success()`), que vos mappers MyBatis XML sont dans `src/main/resources/mapper/{domain}/` — parce qu'il a lu votre vrai code.
|
|
39
|
+
|
|
40
|
+
### Before & After
|
|
41
|
+
|
|
42
|
+
**Sans ClaudeOS-Core**:
|
|
43
|
+
```
|
|
44
|
+
❌ JPA repository (MyBatis)
|
|
45
|
+
❌ ResponseEntity.success() (ApiResponse.ok())
|
|
46
|
+
❌ order/controller/ (controller/order/)
|
|
47
|
+
→ 20 min fix per file
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Avec ClaudeOS-Core**:
|
|
51
|
+
```
|
|
52
|
+
✅ MyBatis mapper + XML (build.gradle)
|
|
53
|
+
✅ ApiResponse.ok() (source code)
|
|
54
|
+
✅ controller/order/ (Pattern A)
|
|
55
|
+
→ immediate match
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Cette différence s'accumule. 10 tâches/jour × 20 minutes économisées = **plus de 3 heures/jour**.
|
|
29
59
|
|
|
30
60
|
---
|
|
31
61
|
|
|
@@ -39,6 +69,8 @@ Temps total : **5–18 minutes**, selon la taille du projet. Zéro configuration
|
|
|
39
69
|
| **Next.js / React / Vue** | `package.json`, `next.config.*`, support FSD | 9 catégories, 55 sous-éléments |
|
|
40
70
|
| **Python / Django** | `requirements.txt`, `pyproject.toml` | 10 catégories, 55 sous-éléments |
|
|
41
71
|
| **Python / FastAPI** | `requirements.txt`, `pyproject.toml` | 10 catégories, 58 sous-éléments |
|
|
72
|
+
| **Node.js / Fastify** | `package.json` | 10 catégories, 62 sous-éléments |
|
|
73
|
+
| **Angular** | `package.json`, `angular.json` | 12 catégories, 78 sous-éléments |
|
|
42
74
|
|
|
43
75
|
Détection automatique : langage et version, framework et version, ORM (MyBatis, JPA, Exposed, Prisma, TypeORM, SQLAlchemy, etc.), base de données (PostgreSQL, MySQL, Oracle, MongoDB, SQLite), gestionnaire de paquets (Gradle, Maven, npm, yarn, pnpm, pip, poetry), architecture (CQRS, BFF — détecté à partir des noms de modules), structure multi-module (depuis settings.gradle).
|
|
44
76
|
|
|
@@ -79,6 +111,7 @@ Types de modules supportés : `command`, `query`, `bff`, `integration`, `standal
|
|
|
79
111
|
- **FSD (Feature-Sliced Design)** : `features/*/`, `widgets/*/`, `entities/*/`
|
|
80
112
|
- **RSC/Client split** : Détecte le pattern `client.tsx`, suit la séparation Server/Client
|
|
81
113
|
- **Fallback config** : Détecte Next.js/Vite/Nuxt depuis les fichiers de config (support monorepo)
|
|
114
|
+
- **Fallback répertoires profonds** : Pour les projets React/CRA/Vite/Vue/RN, scanne `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` à toute profondeur
|
|
82
115
|
|
|
83
116
|
---
|
|
84
117
|
|
|
@@ -117,7 +150,7 @@ bash claudeos-core-tools/bootstrap.sh
|
|
|
117
150
|
|
|
118
151
|
### Langue de sortie (10 langues)
|
|
119
152
|
|
|
120
|
-
En exécutant `init` sans `--lang`, un sélecteur interactif
|
|
153
|
+
En exécutant `init` sans `--lang`, un sélecteur interactif apparaît (touches fléchées ou touches numériques) :
|
|
121
154
|
|
|
122
155
|
```
|
|
123
156
|
╔══════════════════════════════════════════════════╗
|
|
@@ -132,7 +165,7 @@ En exécutant `init` sans `--lang`, un sélecteur interactif avec les touches fl
|
|
|
132
165
|
❯ 9. fr — Français (French)
|
|
133
166
|
...
|
|
134
167
|
|
|
135
|
-
↑↓ Move
|
|
168
|
+
↑↓ Move 1-0 Jump Enter Select ESC Cancel
|
|
136
169
|
```
|
|
137
170
|
|
|
138
171
|
La description change dans la langue correspondante lors de la navigation. Pour passer le sélecteur :
|
|
@@ -455,19 +488,31 @@ npx claudeos-core restore
|
|
|
455
488
|
|
|
456
489
|
## Quelle Différence ?
|
|
457
490
|
|
|
458
|
-
| | ClaudeOS-Core |
|
|
459
|
-
|
|
460
|
-
| **
|
|
461
|
-
| **
|
|
462
|
-
| **
|
|
463
|
-
| **
|
|
464
|
-
| **
|
|
465
|
-
| **
|
|
466
|
-
| **
|
|
467
|
-
| **
|
|
491
|
+
| | ClaudeOS-Core | Everything Claude Code (50K+ ⭐) | Harness | specs-generator | Claude `/init` |
|
|
492
|
+
|---|---|---|---|---|---|
|
|
493
|
+
| **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
|
|
494
|
+
| **Reads your source code** | ✅ Deterministic static analysis | ❌ | ❌ | ❌ (LLM reads) | ❌ (LLM reads) |
|
|
495
|
+
| **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
|
|
496
|
+
| **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
|
|
497
|
+
| **Same project → Same result** | ✅ Deterministic analysis | ✅ (static files) | ❌ (LLM varies) | ❌ (LLM varies) | ❌ (LLM varies) |
|
|
498
|
+
| **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
|
|
499
|
+
| **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
|
|
500
|
+
| **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
|
|
501
|
+
| **Post-generation verification** | ✅ 5 automated validators | ❌ | ❌ | ❌ | ❌ |
|
|
502
|
+
| **Multi-language output** | ✅ 10 languages | ❌ | ❌ | ❌ | ❌ |
|
|
503
|
+
| **Multi-stack** | ✅ Backend + Frontend simultaneous | ❌ Stack-agnostic | ❌ | ❌ | Partial |
|
|
504
|
+
| **Agent orchestration** | ❌ | ✅ 28 agents | ✅ 6 patterns | ❌ | ❌ |
|
|
468
505
|
|
|
469
|
-
|
|
506
|
+
### Key difference
|
|
507
|
+
|
|
508
|
+
**Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
|
|
509
|
+
|
|
510
|
+
### Complementary, not competing
|
|
470
511
|
|
|
512
|
+
ClaudeOS-Core: **project-specific rules**. Other tools: **agent orchestration**.
|
|
513
|
+
Use both together.
|
|
514
|
+
|
|
515
|
+
---
|
|
471
516
|
## FAQ
|
|
472
517
|
|
|
473
518
|
**Q : Est-ce que ça modifie mon code source ?**
|
|
@@ -506,14 +551,13 @@ pass-prompts/templates/
|
|
|
506
551
|
├── node-express/ # Node.js / Express / NestJS
|
|
507
552
|
├── node-nextjs/ # Next.js / React / Vue
|
|
508
553
|
├── python-django/ # Python / Django (DRF)
|
|
554
|
+
├── node-fastify/ # Node.js / Fastify
|
|
555
|
+
├── angular/ # Angular
|
|
509
556
|
└── python-fastapi/ # Python / FastAPI
|
|
510
557
|
```
|
|
511
558
|
|
|
512
559
|
`plan-installer` auto-détecte votre/vos stack(s) puis assemble des prompts spécifiques au type. Pour les projets multi-stack, `pass1-backend-prompt.md` et `pass1-frontend-prompt.md` sont générés séparément, tandis que `pass3-prompt.md` combine les cibles de génération des deux stacks.
|
|
513
560
|
|
|
514
|
-
---
|
|
515
|
-
|
|
516
|
-
|
|
517
561
|
---
|
|
518
562
|
|
|
519
563
|
## Support Monorepo
|