claudeos-core 1.3.1 → 1.4.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.4.0] — 2026-04-04
4
+
5
+ ### Fixed
6
+ - **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
7
+ - **`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)
8
+ - **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/`)
9
+ - **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
10
+ - **`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)
11
+ - **Fallback C/D glob performance** — Added `.git`, `vendor`, `__pycache__`, `coverage` to ignore list (prevents scanning non-source directories in large repos)
12
+ - **Fallback D domain source tracking** — Domain entries now include `sources` field recording which directory pattern(s) matched (e.g., `["views", "routes"]`), preventing silent conflation
13
+ - **`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)
14
+ - **`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)
15
+ - **`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
16
+
17
+ ### Changed
18
+ - **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
19
+ - **`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)
20
+ - **All 10 READMEs** — Language selector example updated to match new hint text; description text changed from "arrow keys" to "arrow keys or number keys"
21
+ - **`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`
22
+ - **`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
23
+ - **`domain-grouper` dead code removal** — Removed unreachable `if (!templates.backend && templates.frontend)` block and orphaned "Dynamic prompt generation" comment
24
+ - **`cli.js` `countFiles` resilience** — `realpathSync` wrapped in try-catch to handle Windows junction points that throw
25
+ - **`bootstrap.sh` prerequisites** — Added `perl` to header comment prerequisites list
26
+
3
27
  ## [1.3.1] — 2026-04-03
4
28
 
5
29
  ### Changed
package/README.de.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ClaudeOS-Core
2
2
 
3
- **Ein Befehl. Ihre gesamte Claude Code Dokumentation automatisch aus Ihrem Quellcode generiert.**
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
- ## Das Problem
15
+ ## Warum ClaudeOS-Core?
16
16
 
17
- Claude Code ist leistungsstark, aber es kennt nicht die Konventionen _Ihres_ Projekts. Das manuelle Schreiben einer `CLAUDE.md`, dutzender Regeln und Scaffolding-Skills dauert Stunden — und sie veralten, sobald sich Ihre Codebasis weiterentwickelt.
17
+ > Mensch beschreibt das Projekt LLM generiert Dokumentation
18
18
 
19
- ## Die Lösung
19
+ ClaudeOS-Core:
20
20
 
21
- ClaudeOS-Core automatisiert den gesamten Prozess:
21
+ > Code analysiert Quellcode → Code baut maßgeschneiderten Prompt → LLM generiert Dokumentation → Code verifiziert Output
22
22
 
23
- 1. **Scannt** Ihr Projekt erkennt automatisch Stack, Domänen, ORM, Datenbank, Paketmanager
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
- Gesamtzeit: **5–18 Minuten**, abhängig von der Projektgröße. Null manuelle Konfiguration.
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
 
@@ -79,6 +109,7 @@ Unterstützte Modultypen: `command`, `query`, `bff`, `integration`, `standalone`
79
109
  - **FSD (Feature-Sliced Design)**: `features/*/`, `widgets/*/`, `entities/*/`
80
110
  - **RSC/Client-Split**: Erkennt `client.tsx`-Muster, verfolgt Server/Client-Trennung
81
111
  - **Config-Fallback**: Erkennt Next.js/Vite/Nuxt aus Config-Dateien (Monorepo-Unterstützung)
112
+ - **Tiefe Verzeichnis-Fallback**: Für React/CRA/Vite/Vue/RN-Projekte scannt `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` in beliebiger Tiefe
82
113
 
83
114
  ---
84
115
 
@@ -117,7 +148,7 @@ bash claudeos-core-tools/bootstrap.sh
117
148
 
118
149
  ### Ausgabesprache (10 Sprachen)
119
150
 
120
- Wenn Sie `init` ohne `--lang` ausführen, erscheint ein interaktiver Selektor mit Pfeiltasten:
151
+ Wenn Sie `init` ohne `--lang` ausführen, erscheint ein interaktiver Selektor (Pfeiltasten oder Zifferntasten):
121
152
 
122
153
  ```
123
154
  ╔══════════════════════════════════════════════════╗
@@ -131,7 +162,7 @@ Wenn Sie `init` ohne `--lang` ausführen, erscheint ein interaktiver Selektor mi
131
162
  ...
132
163
  ❯ 10. de — Deutsch (German)
133
164
 
134
- ↑↓ Move Select
165
+ ↑↓ Move 1-0 Jump Enter Select ESC Cancel
135
166
  ```
136
167
 
137
168
  Die Beschreibung wechselt beim Navigieren in die entsprechende Sprache. Um den Selektor zu überspringen:
@@ -454,19 +485,31 @@ npx claudeos-core restore
454
485
 
455
486
  ## Was ist anders?
456
487
 
457
- | | ClaudeOS-Core | SuperClaude | Manuelle CLAUDE.md | Generische Skills |
458
- |---|---|---|---|---|
459
- | **Liest Ihren Code** | Tiefenanalyse (55–95 Kategorien) | Verhaltensinjektion | Manuelles Schreiben | Vorgefertigte Vorlagen |
460
- | **Projektspezifische Ausgabe** | ✅ Jede Datei spiegelt Ihre Muster wider | ❌ Generische Befehle | Teilweise | ❌ Einheitsgröße |
461
- | **Multi-Stack** | Auto-Erkennung + separate Analyse | Stack-agnostisch | Manuell | Variiert |
462
- | **Kotlin + CQRS/BFF** | Multi-Modul, Command/Query-Trennung | | | |
463
- | **Mehrsprachig** | ✅ 10 Sprachen, interaktiver Selektor | ❌ | ❌ | ❌ |
464
- | **Selbstverifizierung** | 5 Validierungstools | | | |
465
- | **Backup / Wiederherstellung** | Master Plan System | | | |
466
- | **Einrichtungszeit** | ~5–18 Min (automatisch) | ~5 Min (manuelle Konfig) | Stunden–Tage | ~5 Min |
488
+ | | ClaudeOS-Core | Everything Claude Code (50K+ ⭐) | Harness | specs-generator | Claude `/init` |
489
+ |---|---|---|---|---|---|
490
+ | **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
491
+ | **Reads your source code** | ✅ Deterministic static analysis | | ❌ | (LLM reads) | ❌ (LLM reads) |
492
+ | **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
493
+ | **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
494
+ | **Same project → Same result** | ✅ Deterministic analysis | (static files) | ❌ (LLM varies) | ❌ (LLM varies) | ❌ (LLM varies) |
495
+ | **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
496
+ | **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
497
+ | **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
498
+ | **Post-generation verification** | ✅ 5 automated validators | ❌ | ❌ | ❌ | ❌ |
499
+ | **Multi-language output** | ✅ 10 languages | ❌ | ❌ | ❌ | ❌ |
500
+ | **Multi-stack** | ✅ Backend + Frontend simultaneous | ❌ Stack-agnostic | ❌ | ❌ | Partial |
501
+ | **Agent orchestration** | ❌ | ✅ 28 agents | ✅ 6 patterns | ❌ | ❌ |
467
502
 
468
- ---
503
+ ### Key difference
469
504
 
505
+ **Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
506
+
507
+ ### Complementary, not competing
508
+
509
+ ClaudeOS-Core: **project-specific rules**. Other tools: **agent orchestration**.
510
+ Use both together.
511
+
512
+ ---
470
513
  ## FAQ
471
514
 
472
515
  **F: Ändert es meinen Quellcode?**
package/README.es.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ClaudeOS-Core
2
2
 
3
- **Un solo comando. Toda la documentación de Claude Code generada automáticamente desde tu código fuente.**
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
- ## El Problema
15
+ ## ¿Por qué ClaudeOS-Core?
16
16
 
17
- Claude Code es potente, pero no conoce las convenciones de _tu_ proyecto. Escribir manualmente un `CLAUDE.md`, docenas de reglas y skills de scaffolding lleva horas — y se vuelven obsoletos en cuanto tu código evoluciona.
17
+ > Humano describe el proyecto LLM genera documentación
18
18
 
19
- ## La Solución
19
+ ClaudeOS-Core:
20
20
 
21
- ClaudeOS-Core automatiza todo el proceso:
21
+ > Código analiza tu fuente → Código construye prompt personalizado → LLM genera documentación → Código verifica la salida
22
22
 
23
- 1. **Escanea** tu proyecto detecta automáticamente stack, dominios, ORM, base de datos y gestor de paquetes
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
- Tiempo total: **5–18 minutos**, según el tamaño del proyecto. Cero configuración manual.
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
 
@@ -79,6 +109,7 @@ Tipos de módulo soportados: `command`, `query`, `bff`, `integration`, `standalo
79
109
  - **FSD (Feature-Sliced Design)**: `features/*/`, `widgets/*/`, `entities/*/`
80
110
  - **RSC/Client split**: Detecta patrón `client.tsx`, rastrea separación Server/Client
81
111
  - **Config fallback**: Detecta Next.js/Vite/Nuxt desde archivos de configuración (soporte monorepo)
112
+ - **Fallback de directorios profundos**: Para proyectos React/CRA/Vite/Vue/RN, escanea `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` a cualquier profundidad
82
113
 
83
114
  ---
84
115
 
@@ -117,7 +148,7 @@ bash claudeos-core-tools/bootstrap.sh
117
148
 
118
149
  ### Idioma de salida (10 idiomas)
119
150
 
120
- Al ejecutar `init` sin `--lang`, aparece un selector interactivo con teclas de flecha:
151
+ Al ejecutar `init` sin `--lang`, aparece un selector interactivo con teclas de flecha o teclas numéricas:
121
152
 
122
153
  ```
123
154
  ╔══════════════════════════════════════════════════╗
@@ -132,7 +163,7 @@ Al ejecutar `init` sin `--lang`, aparece un selector interactivo con teclas de f
132
163
  ❯ 5. es — Español (Spanish)
133
164
  ...
134
165
 
135
- ↑↓ Move Select
166
+ ↑↓ Move 1-0 Jump Enter Select ESC Cancel
136
167
  ```
137
168
 
138
169
  La descripción cambia al idioma seleccionado al navegar. Para saltar el selector:
@@ -455,19 +486,31 @@ npx claudeos-core restore
455
486
 
456
487
  ## ¿En Qué se Diferencia?
457
488
 
458
- | | ClaudeOS-Core | SuperClaude | CLAUDE.md Manual | Skills Genéricos |
459
- |---|---|---|---|---|
460
- | **Lee tu código** | Análisis profundo (55–95 categorías) | Inyección de comportamiento | Escritura manual | Plantillas predefinidas |
461
- | **Salida específica del proyecto** | ✅ Cada archivo refleja tus patrones | ❌ Comandos genéricos | Parcial | ❌ Talla única |
462
- | **Multi-stack** | Auto-detección + análisis separado | Agnóstico al stack | Manual | Variable |
463
- | **Kotlin + CQRS/BFF** | Multi-module, Command/Query split | | | |
464
- | **Multi-idioma** | ✅ 10 idiomas, selector interactivo | ❌ | ❌ | ❌ |
465
- | **Auto-verificación** | 5 herramientas de validación | | | |
466
- | **Backup / Restauración** | Sistema Master Plan | | | |
467
- | **Tiempo de configuración** | ~5–18min (automático) | ~5min (config manual) | Horas–Días | ~5min |
489
+ | | ClaudeOS-Core | Everything Claude Code (50K+ ⭐) | Harness | specs-generator | Claude `/init` |
490
+ |---|---|---|---|---|---|
491
+ | **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
492
+ | **Reads your source code** | ✅ Deterministic static analysis | | ❌ | (LLM reads) | ❌ (LLM reads) |
493
+ | **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
494
+ | **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
495
+ | **Same project → Same result** | ✅ Deterministic analysis | (static files) | ❌ (LLM varies) | ❌ (LLM varies) | ❌ (LLM varies) |
496
+ | **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
497
+ | **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
498
+ | **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
499
+ | **Post-generation verification** | ✅ 5 automated validators | ❌ | ❌ | ❌ | ❌ |
500
+ | **Multi-language output** | ✅ 10 languages | ❌ | ❌ | ❌ | ❌ |
501
+ | **Multi-stack** | ✅ Backend + Frontend simultaneous | ❌ Stack-agnostic | ❌ | ❌ | Partial |
502
+ | **Agent orchestration** | ❌ | ✅ 28 agents | ✅ 6 patterns | ❌ | ❌ |
468
503
 
469
- ---
504
+ ### Key difference
470
505
 
506
+ **Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
507
+
508
+ ### Complementary, not competing
509
+
510
+ ClaudeOS-Core: **project-specific rules**. Other tools: **agent orchestration**.
511
+ Use both together.
512
+
513
+ ---
471
514
  ## FAQ
472
515
 
473
516
  **P: ¿Modifica mi código fuente?**
package/README.fr.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ClaudeOS-Core
2
2
 
3
- **Une seule commande. Toute votre documentation Claude Code générée automatiquement à partir de votre code source.**
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
- ## Le Problème
15
+ ## Pourquoi ClaudeOS-Core ?
16
16
 
17
- Claude Code est puissant, mais il ne connaît pas les conventions de _votre_ projet. Écrire manuellement un `CLAUDE.md`, des dizaines de règles et des skills de scaffolding prend des heures — et ils deviennent obsolètes dès que votre codebase évolue.
17
+ > L'humain décrit le projet Le LLM génère la documentation
18
18
 
19
- ## La Solution
19
+ ClaudeOS-Core:
20
20
 
21
- ClaudeOS-Core automatise l'ensemble du processus :
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
- 1. **Scanne** votre projet détecte automatiquement le stack, les domaines, l'ORM, la base de données et le gestionnaire de paquets
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
- Temps total : **5–18 minutes**, selon la taille du projet. Zéro configuration manuelle.
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
 
@@ -79,6 +109,7 @@ Types de modules supportés : `command`, `query`, `bff`, `integration`, `standal
79
109
  - **FSD (Feature-Sliced Design)** : `features/*/`, `widgets/*/`, `entities/*/`
80
110
  - **RSC/Client split** : Détecte le pattern `client.tsx`, suit la séparation Server/Client
81
111
  - **Fallback config** : Détecte Next.js/Vite/Nuxt depuis les fichiers de config (support monorepo)
112
+ - **Fallback répertoires profonds** : Pour les projets React/CRA/Vite/Vue/RN, scanne `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` à toute profondeur
82
113
 
83
114
  ---
84
115
 
@@ -117,7 +148,7 @@ bash claudeos-core-tools/bootstrap.sh
117
148
 
118
149
  ### Langue de sortie (10 langues)
119
150
 
120
- En exécutant `init` sans `--lang`, un sélecteur interactif avec les touches fléchées apparaît :
151
+ En exécutant `init` sans `--lang`, un sélecteur interactif apparaît (touches fléchées ou touches numériques) :
121
152
 
122
153
  ```
123
154
  ╔══════════════════════════════════════════════════╗
@@ -132,7 +163,7 @@ En exécutant `init` sans `--lang`, un sélecteur interactif avec les touches fl
132
163
  ❯ 9. fr — Français (French)
133
164
  ...
134
165
 
135
- ↑↓ Move Select
166
+ ↑↓ Move 1-0 Jump Enter Select ESC Cancel
136
167
  ```
137
168
 
138
169
  La description change dans la langue correspondante lors de la navigation. Pour passer le sélecteur :
@@ -455,19 +486,31 @@ npx claudeos-core restore
455
486
 
456
487
  ## Quelle Différence ?
457
488
 
458
- | | ClaudeOS-Core | SuperClaude | CLAUDE.md Manuel | Skills Génériques |
459
- |---|---|---|---|---|
460
- | **Lit votre code** | Analyse approfondie (55–95 catégories) | Injection de comportement | Écriture manuelle | Templates prédéfinis |
461
- | **Sortie spécifique au projet** | ✅ Chaque fichier reflète vos patterns | ❌ Commandes génériques | Partiel | ❌ Taille unique |
462
- | **Multi-stack** | Auto-détection + analyse séparée | Agnostique au stack | Manuel | Variable |
463
- | **Kotlin + CQRS/BFF** | Multi-module, Command/Query split | | | |
464
- | **Multilingue** | ✅ 10 langues, sélecteur interactif | ❌ | ❌ | ❌ |
465
- | **Auto-vérification** | 5 outils de validation | | | |
466
- | **Sauvegarde / Restauration** | Système Master Plan | | | |
467
- | **Temps de configuration** | ~5–18 min (automatique) | ~5 min (config manuelle) | Heures–Jours | ~5 min |
489
+ | | ClaudeOS-Core | Everything Claude Code (50K+ ⭐) | Harness | specs-generator | Claude `/init` |
490
+ |---|---|---|---|---|---|
491
+ | **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
492
+ | **Reads your source code** | ✅ Deterministic static analysis | | ❌ | (LLM reads) | ❌ (LLM reads) |
493
+ | **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
494
+ | **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
495
+ | **Same project → Same result** | ✅ Deterministic analysis | (static files) | ❌ (LLM varies) | ❌ (LLM varies) | ❌ (LLM varies) |
496
+ | **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
497
+ | **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
498
+ | **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
499
+ | **Post-generation verification** | ✅ 5 automated validators | ❌ | ❌ | ❌ | ❌ |
500
+ | **Multi-language output** | ✅ 10 languages | ❌ | ❌ | ❌ | ❌ |
501
+ | **Multi-stack** | ✅ Backend + Frontend simultaneous | ❌ Stack-agnostic | ❌ | ❌ | Partial |
502
+ | **Agent orchestration** | ❌ | ✅ 28 agents | ✅ 6 patterns | ❌ | ❌ |
468
503
 
469
- ---
504
+ ### Key difference
470
505
 
506
+ **Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
507
+
508
+ ### Complementary, not competing
509
+
510
+ ClaudeOS-Core: **project-specific rules**. Other tools: **agent orchestration**.
511
+ Use both together.
512
+
513
+ ---
471
514
  ## FAQ
472
515
 
473
516
  **Q : Est-ce que ça modifie mon code source ?**
package/README.hi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ClaudeOS-Core
2
2
 
3
- **एक कमांड। आपका पूरा Claude Code डॉक्यूमेंटेशन आपके वास्तविक सोर्स कोड से ऑटो-जेनरेट।**
3
+ **एकमात्र टूल जो पहले आपका सोर्स कोड पढ़ता है, deterministic एनालिसिस से स्टैक और पैटर्न कन्फर्म करता है, फिर आपके प्रोजेक्ट के लिए सटीक Claude Code रूल्स जेनरेट करता है।**
4
4
 
5
5
  ```bash
6
6
  npx claudeos-core init
@@ -12,20 +12,50 @@ ClaudeOS-Core आपका कोडबेस पढ़ता है, हर प
12
12
 
13
13
  ---
14
14
 
15
- ## समस्या
15
+ ## ClaudeOS-Core क्यों?
16
16
 
17
- Claude Code शक्तिशाली है, लेकिन यह _आपके_ प्रोजेक्ट की कन्वेंशन्स को नहीं जानता। मैन्युअली `CLAUDE.md`, दर्जनों rules और scaffolding skills लिखने में घंटों लगते हैं — और कोडबेस बदलते ही ये पुराने हो जाते हैं।
17
+ > इंसान प्रोजेक्ट का वर्णन करता है LLM डॉक्यूमेंटेशन जेनरेट करता है
18
18
 
19
- ## समाधान
19
+ ClaudeOS-Core:
20
20
 
21
- ClaudeOS-Core पूरी प्रक्रिया को ऑटोमेट करता है:
21
+ > कोड सोर्स का विश्लेषण करता है → कोड कस्टम प्रॉम्प्ट बनाता है → LLM डॉक्यूमेंटेशन जेनरेट करता है → कोड आउटपुट को वेरिफाई करता है
22
22
 
23
- 1. **स्कैन** स्टैक, डोमेन, ORM, डेटाबेस, पैकेज मैनेजर ऑटो-डिटेक्ट
24
- 2. **गहन विश्लेषण** — कंट्रोलर पैटर्न, सर्विस लेयर्स, नेमिंग कन्वेंशन, एरर हैंडलिंग, सिक्योरिटी, टेस्टिंग और 50+ कैटेगरी
25
- 3. **जेनरेट** — `CLAUDE.md`, Standards (15–19 फाइलें), Rules, Skills, Guides (9 फाइलें), Master Plans, DB डॉक्स और MCP गाइड का पूरा डॉक्यूमेंटेशन इकोसिस्टम
26
- 4. **वैलिडेट** — 5 बिल्ट-इन वेरिफिकेशन टूल्स कंसिस्टेंसी सुनिश्चित करते हैं
23
+ ### मूल समस्या: LLM अनुमान लगाता है। कोड कन्फर्म करता है।
27
24
 
28
- कुल समय: प्रोजेक्ट साइज़ के अनुसार **5–18 मिनट**। शून्य मैन्युअल कॉन्फ़िगरेशन।
25
+ जब आप Claude से "इस प्रोजेक्ट का विश्लेषण करो" कहते हैं, तो यह स्टैक, ORM, डोमेन स्ट्रक्चर का **अनुमान** लगाता है।
26
+
27
+ **ClaudeOS-Core अनुमान नहीं लगाता।** 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
+ ### परिणाम
36
+
37
+ अन्य टूल "सामान्य रूप से अच्छा" डॉक्यूमेंटेशन बनाते हैं।
38
+ ClaudeOS-Core ऐसा डॉक्यूमेंटेशन बनाता है जो जानता है कि प्रोजेक्ट `ApiResponse.ok()` इस्तेमाल करता है — क्योंकि इसने वास्तविक कोड पढ़ा है।
39
+
40
+ ### Before & After
41
+
42
+ **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
+ **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
+ यह अंतर संचयी है। प्रतिदिन 10 कार्य × 20 मिनट बचत = **प्रतिदिन 3+ घंटे**।
29
59
 
30
60
  ---
31
61
 
@@ -79,6 +109,7 @@ Gradle मल्टी-मॉड्यूल संरचना वाले Kot
79
109
  - **FSD (Feature-Sliced Design)**: `features/*/`, `widgets/*/`, `entities/*/`
80
110
  - **RSC/Client split**: `client.tsx` पैटर्न डिटेक्ट, Server/Client कम्पोनेंट सेपरेशन ट्रैक
81
111
  - **Config fallback**: `package.json` में न होने पर भी config फ़ाइलों से Next.js/Vite/Nuxt डिटेक्ट (monorepo सपोर्ट)
112
+ - **Deep directory fallback**: React/CRA/Vite/Vue/RN प्रोजेक्ट्स के लिए किसी भी गहराई पर `**/components/*/`, `**/views/*/`, `**/screens/*/`, `**/containers/*/`, `**/pages/*/`, `**/routes/*/`, `**/modules/*/`, `**/domains/*/` स्कैन
82
113
 
83
114
  ---
84
115
 
@@ -117,7 +148,7 @@ bash claudeos-core-tools/bootstrap.sh
117
148
 
118
149
  ### आउटपुट भाषा (10 भाषाएँ)
119
150
 
120
- `--lang` के बिना `init` चलाने पर, एरो कीज़ से भाषा चुनने का इंटरैक्टिव सेलेक्टर दिखाई देगा:
151
+ `--lang` के बिना `init` चलाने पर, एरो कीज़ या नंबर कीज़ से भाषा चुनने का इंटरैक्टिव सेलेक्टर दिखाई देगा:
121
152
 
122
153
  ```
123
154
  ╔══════════════════════════════════════════════════╗
@@ -132,10 +163,10 @@ bash claudeos-core-tools/bootstrap.sh
132
163
  ❯ 7. hi — हिन्दी (Hindi)
133
164
  ...
134
165
 
135
- ↑↓ Move Select
166
+ ↑↓ Move 1-0 Jump Enter Select ESC Cancel
136
167
  ```
137
168
 
138
- एरो से मूव करने पर विवरण उस भाषा में बदलता है। सेलेक्टर स्किप करने के लिए:
169
+ सेलेक्शन मूव करने पर विवरण उस भाषा में बदलता है। सेलेक्टर स्किप करने के लिए:
139
170
 
140
171
  ```bash
141
172
  npx claudeos-core init --lang hi # हिन्दी
@@ -455,19 +486,31 @@ npx claudeos-core restore
455
486
 
456
487
  ## क्या अलग है?
457
488
 
458
- | | ClaudeOS-Core | SuperClaude | मैन्युअल CLAUDE.md | जेनेरिक Skills |
459
- |---|---|---|---|---|
460
- | **कोड पढ़ता है** | गहन विश्लेषण (55–95 कैटेगरी) | बिहेवियर इंजेक्शन | मैन्युअल राइटिंग | प्री-बिल्ट टेम्पलेट |
461
- | **प्रोजेक्ट-स्पेसिफिक आउटपुट** | ✅ हर फाइल आपके पैटर्न रिफ्लेक्ट करती है | ❌ जेनेरिक कमांड | आंशिक | वन-साइज़-फिट्स-ऑल |
462
- | **मल्टी-स्टैक** | ऑटो-डिटेक्ट + अलग विश्लेषण | स्टैक-एग्नॉस्टिक | मैन्युअल | अनिश्चित |
463
- | **Kotlin + CQRS/BFF** | मल्टी-मॉड्यूल, Command/Query विभाजन | | | |
464
- | **बहुभाषी** | ✅ 10 भाषाएँ, इंटरैक्टिव सेलेक्टर | ❌ | ❌ | ❌ |
465
- | **सेल्फ-वेरिफाइंग** | 5 वैलिडेशन टूल्स | | | |
466
- | **बैकअप / रीस्टोर** | Master Plan सिस्टम | | | |
467
- | **सेटअप समय** | ~5–18 मिनट (ऑटोमेटेड) | ~5 मिनट (मैन्युअल कॉन्फ़िग) | घंटे–दिन | ~5 मिनट |
489
+ | | ClaudeOS-Core | Everything Claude Code (50K+ ⭐) | Harness | specs-generator | Claude `/init` |
490
+ |---|---|---|---|---|---|
491
+ | **Approach** | Code analyzes first, then LLM generates | Pre-built config presets | LLM designs agent teams | LLM generates spec docs | LLM writes CLAUDE.md |
492
+ | **Reads your source code** | ✅ Deterministic static analysis | | | ❌ (LLM reads) | (LLM reads) |
493
+ | **Stack detection** | Code confirms (ORM, DB, build tool, pkg manager) | N/A (stack-agnostic) | LLM guesses | LLM guesses | LLM guesses |
494
+ | **Domain detection** | Code confirms (Java 5 patterns, Kotlin CQRS, Next.js FSD) | N/A | LLM guesses | N/A | N/A |
495
+ | **Same project → Same result** | ✅ Deterministic analysis | (static files) | ❌ (LLM varies) | ❌ (LLM varies) | ❌ (LLM varies) |
496
+ | **Large project handling** | Domain group splitting (4 domains / 40 files per group) | N/A | No splitting | No splitting | Context window limit |
497
+ | **Output** | CLAUDE.md + Rules + Standards + Skills + Guides + Plans (40-50+ files) | Agents + Skills + Commands + Hooks | Agents + Skills | 6 spec documents | CLAUDE.md (1 file) |
498
+ | **Output location** | `.claude/rules/` (auto-loaded by Claude Code) | `.claude/` various | `.claude/agents/` + `.claude/skills/` | `.claude/steering/` + `specs/` | `CLAUDE.md` |
499
+ | **Post-generation verification** | ✅ 5 automated validators | ❌ | ❌ | ❌ | ❌ |
500
+ | **Multi-language output** | ✅ 10 languages | ❌ | ❌ | ❌ | ❌ |
501
+ | **Multi-stack** | ✅ Backend + Frontend simultaneous | ❌ Stack-agnostic | ❌ | ❌ | Partial |
502
+ | **Agent orchestration** | ❌ | ✅ 28 agents | ✅ 6 patterns | ❌ | ❌ |
468
503
 
469
- ---
504
+ ### Key difference
470
505
 
506
+ **Other tools give Claude "generally good instructions." ClaudeOS-Core gives Claude "instructions extracted from your actual code."**
507
+
508
+ ### Complementary, not competing
509
+
510
+ ClaudeOS-Core: **project-specific rules**. Other tools: **agent orchestration**.
511
+ Use both together.
512
+
513
+ ---
471
514
  ## FAQ
472
515
 
473
516
  **प्र: क्या यह मेरा सोर्स कोड मॉडिफाई करता है?**