@su-record/vibe 2.4.70 β 2.4.72
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/commands/vibe.spec.md +69 -16
- package/package.json +1 -1
package/commands/vibe.spec.md
CHANGED
|
@@ -305,6 +305,54 @@ node -e "import('@su-record/vibe/orchestrator').then(o => o.research('passkey au
|
|
|
305
305
|
|
|
306
306
|
### 4. Write SPEC Document (PTCF Structure)
|
|
307
307
|
|
|
308
|
+
#### 4.0 Large Scope Detection & Auto-Split (MANDATORY)
|
|
309
|
+
|
|
310
|
+
**π¨ CRITICAL: Automatically split SPEC when scope is large**
|
|
311
|
+
|
|
312
|
+
**β DO NOT ask user for confirmation - auto-split silently**
|
|
313
|
+
|
|
314
|
+
**Detection criteria (ANY triggers split):**
|
|
315
|
+
|
|
316
|
+
| Criteria | Threshold |
|
|
317
|
+
|----------|-----------|
|
|
318
|
+
| Phases | 5+ phases |
|
|
319
|
+
| Files to create | 15+ files |
|
|
320
|
+
| Platforms | 2+ platforms |
|
|
321
|
+
| Major features | 4+ distinct features |
|
|
322
|
+
|
|
323
|
+
**Auto-split output:**
|
|
324
|
+
|
|
325
|
+
```
|
|
326
|
+
.claude/vibe/specs/{feature-name}/
|
|
327
|
+
βββ _index.md # Master SPEC
|
|
328
|
+
βββ phase-1-setup.md
|
|
329
|
+
βββ phase-2-core.md
|
|
330
|
+
βββ ...
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
**Master SPEC (`_index.md`):**
|
|
334
|
+
|
|
335
|
+
```markdown
|
|
336
|
+
# SPEC: {feature-name} (Master)
|
|
337
|
+
|
|
338
|
+
## Overview
|
|
339
|
+
- Total phases: N
|
|
340
|
+
- Dependencies: [list]
|
|
341
|
+
|
|
342
|
+
## Sub-SPECs
|
|
343
|
+
|
|
344
|
+
| Order | SPEC File | Status |
|
|
345
|
+
|-------|-----------|--------|
|
|
346
|
+
| 1 | phase-1-setup.md | β¬ |
|
|
347
|
+
| 2 | phase-2-core.md | β¬ |
|
|
348
|
+
|
|
349
|
+
## Shared Context
|
|
350
|
+
- Tech Stack: [all phases]
|
|
351
|
+
- Constraints: [all phases]
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
**Small scope (default):**
|
|
355
|
+
|
|
308
356
|
Create `.claude/vibe/specs/{feature-name}.md`:
|
|
309
357
|
|
|
310
358
|
```markdown
|
|
@@ -517,41 +565,46 @@ Self-evaluate against `~/.claude/vibe/rules/quality/checklist.md` (0-100 score)
|
|
|
517
565
|
ββββββββββββββββββββββββββββββββββββββββββββ
|
|
518
566
|
```
|
|
519
567
|
|
|
520
|
-
**MUST: SPEC 리뷰 (νμ)
|
|
568
|
+
**MUST: SPEC 리뷰 (νμ) - GPT + Gemini λ³λ ¬ μ€ν**
|
|
521
569
|
|
|
522
|
-
|
|
570
|
+
π¨ **νμ§λ³΄μ₯μ μν΄ GPTμ Geminiλ₯Ό λ³λ ¬λ‘ μ€ννμ¬ κ΅μ°¨ κ²μ¦**
|
|
523
571
|
|
|
524
|
-
|
|
572
|
+
**λ³λ ¬ μ€ν (2κ°μ Bash νΈμΆμ λμμ):**
|
|
525
573
|
|
|
526
574
|
```bash
|
|
527
|
-
#
|
|
575
|
+
# GPT 리뷰 (μ½λ ν¨ν΄, μν€ν
μ² κ΄μ )
|
|
528
576
|
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "Review SPEC for [κΈ°λ₯λͺ
]. Stack: [μ€ν]. Summary: [μμ½]. Check: completeness, error handling, security, edge cases."
|
|
529
577
|
|
|
530
|
-
#
|
|
531
|
-
node
|
|
532
|
-
|
|
533
|
-
# 컀μ€ν
μμ€ν
ν둬ννΈ μ¬μ© μ
|
|
534
|
-
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gpt orchestrate-json "You are a SPEC reviewer" "[μ§λ¬Έ]"
|
|
578
|
+
# Gemini 리뷰 (μ΅μ λ¬Έμ, λ² μ€νΈ νλν°μ€ κ΄μ )
|
|
579
|
+
node "$APPDATA/vibe/hooks/scripts/llm-orchestrate.js" gemini orchestrate-json "Review SPEC for [κΈ°λ₯λͺ
]. Stack: [μ€ν]. Summary: [μμ½]. Check: completeness, error handling, security, edge cases."
|
|
535
580
|
```
|
|
536
581
|
|
|
537
|
-
**
|
|
582
|
+
**macOS/Linux:**
|
|
538
583
|
|
|
539
584
|
```bash
|
|
540
|
-
#
|
|
541
|
-
node
|
|
585
|
+
# GPT 리뷰
|
|
586
|
+
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gpt orchestrate-json "Review SPEC for [κΈ°λ₯λͺ
]. Stack: [μ€ν]. Summary: [μμ½]. Check: completeness, error handling, security, edge cases."
|
|
542
587
|
|
|
543
|
-
#
|
|
588
|
+
# Gemini 리뷰
|
|
544
589
|
node ~/.config/vibe/hooks/scripts/llm-orchestrate.js gemini orchestrate-json "Review SPEC for [κΈ°λ₯λͺ
]. Stack: [μ€ν]. Summary: [μμ½]. Check: completeness, error handling, security, edge cases."
|
|
545
590
|
```
|
|
546
591
|
|
|
547
592
|
**μ€μ:**
|
|
548
593
|
|
|
549
|
-
-
|
|
550
|
-
-
|
|
594
|
+
- **λ°λμ GPTμ Gemini λ λ€ νΈμΆ** (λ³λ ¬ μ€ν)
|
|
595
|
+
- λ λͺ¨λΈμ νΌλλ°±μ λ³ν©νμ¬ SPECμ λ°μ
|
|
596
|
+
- ν λͺ¨λΈ μ€ν¨ μ λλ¨Έμ§ κ²°κ³Όλ§ λ°μ
|
|
551
597
|
- SPEC μ 체λ₯Ό 보λ΄μ§ λ§κ³ **ν΅μ¬ μμ½**λ§ μ μ‘ (ν ν° μ μ½)
|
|
552
598
|
- JSON μλ΅μ νμ±νμ¬ SPECμ μλ λ°μ
|
|
553
599
|
|
|
554
|
-
|
|
600
|
+
**λ³λ ¬ μ€ν μ΄μ :**
|
|
601
|
+
|
|
602
|
+
| λͺ¨λΈ | κ°μ |
|
|
603
|
+
|------|------|
|
|
604
|
+
| GPT | μ½λ ν¨ν΄, μν€ν
μ², λ‘μ§ κ²μ¦ |
|
|
605
|
+
| Gemini | μ΅μ μΉ μ 보, λ¬Έμ κ²μ, λ² μ€νΈ νλν°μ€ |
|
|
606
|
+
|
|
607
|
+
**κ²°κ³Ό λ³ν©:** λ λͺ¨λΈμ νΌλλ°±μ ν©μ³μ λ μ² μ ν 리뷰
|
|
555
608
|
|
|
556
609
|
**리뷰 νλͺ©:**
|
|
557
610
|
|