@su-record/vibe 2.4.56 → 2.4.58

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.
Files changed (44) hide show
  1. package/CLAUDE.md +7 -18
  2. package/agents/compounder.md +1 -1
  3. package/agents/implementer.md +2 -1
  4. package/agents/simplifier.md +2 -1
  5. package/commands/vibe.run.md +4 -1
  6. package/commands/vibe.spec.md +56 -3
  7. package/dist/cli/index.d.ts.map +1 -1
  8. package/dist/cli/index.js +0 -4
  9. package/dist/cli/index.js.map +1 -1
  10. package/dist/cli/postinstall.js +32 -1
  11. package/dist/cli/postinstall.js.map +1 -1
  12. package/dist/cli/setup.d.ts +18 -4
  13. package/dist/cli/setup.d.ts.map +1 -1
  14. package/dist/cli/setup.js +107 -27
  15. package/dist/cli/setup.js.map +1 -1
  16. package/dist/cli/types.d.ts +6 -0
  17. package/dist/cli/types.d.ts.map +1 -1
  18. package/languages/csharp-unity.md +516 -0
  19. package/languages/gdscript-godot.md +470 -0
  20. package/languages/ruby-rails.md +489 -0
  21. package/languages/typescript-angular.md +433 -0
  22. package/languages/typescript-astro.md +416 -0
  23. package/languages/typescript-electron.md +407 -0
  24. package/languages/typescript-nestjs.md +524 -0
  25. package/languages/typescript-svelte.md +407 -0
  26. package/languages/typescript-tauri.md +366 -0
  27. package/package.json +1 -1
  28. package/skills/vibe-capabilities.md +1 -1
  29. package/vibe/constitution.md +130 -97
  30. package/vibe/rules/core/communication-guide.md +50 -56
  31. package/vibe/rules/core/development-philosophy.md +35 -36
  32. package/vibe/rules/core/quick-start.md +66 -85
  33. package/vibe/rules/quality/bdd-contract-testing.md +94 -89
  34. package/vibe/rules/quality/checklist.md +132 -132
  35. package/vibe/rules/quality/testing-strategy.md +132 -129
  36. package/vibe/rules/standards/anti-patterns.md +74 -74
  37. package/vibe/rules/standards/code-structure.md +44 -44
  38. package/vibe/rules/standards/complexity-metrics.md +63 -62
  39. package/vibe/rules/standards/naming-conventions.md +72 -72
  40. package/vibe/templates/constitution-template.md +153 -95
  41. package/vibe/templates/contract-backend-template.md +41 -32
  42. package/vibe/templates/contract-frontend-template.md +35 -30
  43. package/vibe/templates/feature-template.md +33 -33
  44. package/vibe/templates/spec-template.md +118 -96
@@ -1,8 +1,8 @@
1
- # Feature: {기능명}
1
+ # Feature: {Feature Name}
2
2
 
3
- > 파일은 **품질 보장의 핵심**입니다. 모든 시나리오 통과 = 기능 완성.
3
+ > This file is **the core of quality assurance**. All scenarios passing = feature complete.
4
4
 
5
- **SPEC**: `.claude/vibe/specs/{기능명}.md`
5
+ **SPEC**: `.claude/vibe/specs/{feature-name}.md`
6
6
  **Last verified**: -
7
7
  **Quality score**: -
8
8
 
@@ -10,26 +10,26 @@
10
10
 
11
11
  ## User Story
12
12
 
13
- **As a** {사용자 역할}
14
- **I want** {원하는 기능}
15
- **So that** {이유/가치}
13
+ **As a** {User role}
14
+ **I want** {Desired functionality}
15
+ **So that** {Reason/Value}
16
16
 
17
17
  ---
18
18
 
19
19
  ## Scenarios
20
20
 
21
- > 시나리오가 구현 단위이자 검증 단위입니다.
21
+ > Each scenario is both an implementation unit and a verification unit.
22
22
 
23
- ### Scenario 1: {Happy Path - 정상 케이스}
23
+ ### Scenario 1: {Happy Path - Normal Case}
24
24
 
25
25
  ```gherkin
26
- Scenario: {시나리오 제목}
27
- Given {전제 조건}
28
- # 검증: {무엇을 확인하는가}
29
- When {사용자 행동}
30
- # 검증: {어떤 기능이 실행되는가}
31
- Then {예상 결과}
32
- # 검증: {무엇이 보이거나 반환되는가}
26
+ Scenario: {Scenario title}
27
+ Given {Precondition}
28
+ # Verification: {What to check}
29
+ When {User action}
30
+ # Verification: {What functionality is executed}
31
+ Then {Expected result}
32
+ # Verification: {What is visible or returned}
33
33
  ```
34
34
 
35
35
  **SPEC AC**: #1
@@ -37,13 +37,13 @@ Scenario: {시나리오 제목}
37
37
 
38
38
  ---
39
39
 
40
- ### Scenario 2: {Edge Case - 에러 케이스}
40
+ ### Scenario 2: {Edge Case - Error Case}
41
41
 
42
42
  ```gherkin
43
- Scenario: {에러 시나리오 제목}
44
- Given {전제 조건}
45
- When {잘못된 입력 또는 예외 상황}
46
- Then {에러 메시지 또는 적절한 처리}
43
+ Scenario: {Error scenario title}
44
+ Given {Precondition}
45
+ When {Invalid input or exception}
46
+ Then {Error message or appropriate handling}
47
47
  ```
48
48
 
49
49
  **SPEC AC**: #2
@@ -51,13 +51,13 @@ Scenario: {에러 시나리오 제목}
51
51
 
52
52
  ---
53
53
 
54
- ### Scenario 3: {Boundary Case - 경계 케이스}
54
+ ### Scenario 3: {Boundary Case}
55
55
 
56
56
  ```gherkin
57
- Scenario: {경계값 테스트}
58
- Given {전제 조건}
59
- When {경계값 입력}
60
- Then {적절한 처리}
57
+ Scenario: {Boundary value test}
58
+ Given {Precondition}
59
+ When {Boundary value input}
60
+ Then {Appropriate handling}
61
61
  ```
62
62
 
63
63
  **SPEC AC**: #3
@@ -73,24 +73,24 @@ Scenario: {경계값 테스트}
73
73
  | 2 | {Edge Case} | AC-2 | ⬜ | - |
74
74
  | 3 | {Boundary Case} | AC-3 | ⬜ | - |
75
75
 
76
- **Total**: 0/3 통과 (0%)
76
+ **Total**: 0/3 passed (0%)
77
77
 
78
78
  ---
79
79
 
80
80
  ## Verification Commands
81
81
 
82
82
  ```bash
83
- # 전체 검증
84
- /vibe.verify "{기능명}"
83
+ # Full verification
84
+ /vibe.verify "{feature name}"
85
85
 
86
- # 실패 자동 수정
87
- /vibe.run "{기능명}" --fix
86
+ # Auto-fix on failure
87
+ /vibe.run "{feature name}" --fix
88
88
  ```
89
89
 
90
90
  ---
91
91
 
92
92
  ## Notes
93
93
 
94
- - 시나리오 추가/수정 시 Coverage Summary 함께 업데이트
95
- - Given/When/Then 각각에 검증 포인트 명시
96
- - 모든 시나리오 통과 품질 보장됨
94
+ - Update Coverage Summary when adding/modifying scenarios
95
+ - Specify verification points for each Given/When/Then
96
+ - Quality is assured when all scenarios pass
@@ -1,102 +1,118 @@
1
- # SPEC: {기능명}
1
+ # SPEC: {Feature Name}
2
2
 
3
3
  ## Metadata
4
- - **작성일**: {YYYY-MM-DD}
5
- - **작성자**: {이름}
6
- - **상태**: DRAFT
7
- - **우선순위**: {HIGH | MEDIUM | LOW}
8
- - **언어**: {ko | en}
9
- - **담당 에이전트**: {에이전트명}
10
- - **기술 스택**: {프로젝트 기술 스택 요약}
4
+
5
+ - **Created**: {YYYY-MM-DD}
6
+ - **Author**: {Name}
7
+ - **Status**: DRAFT
8
+ - **Priority**: {HIGH | MEDIUM | LOW}
9
+ - **Language**: {en | ko}
10
+ - **Assigned Agent**: {Agent Name}
11
+ - **Tech Stack**: {Project Tech Stack Summary}
11
12
 
12
13
  ---
13
14
 
14
- ## 1. 기능 개요
15
+ ## 1. Feature Overview
16
+
17
+ {1-2 sentence summary}
18
+
19
+ ### Background
20
+
21
+ {Why is this feature needed}
22
+
23
+ ### Goals
24
+
25
+ - Goal 1
26
+ - Goal 2
15
27
 
16
- {1-2문장으로 요약}
28
+ ### Non-Goals
17
29
 
18
- ### 배경 (Background)
19
- {왜 기능이 필요한가}
30
+ - What we won't do this time 1
31
+ - What we won't do this time 2
20
32
 
21
- ### 목표 (Goals)
22
- - 목표 1
23
- - 목표 2
33
+ ### Tech Stack Context
24
34
 
25
- ### 비목표 (Non-Goals)
26
- - 이번에 하지 않을 것 1
27
- - 이번에 하지 않을 것 2
35
+ **Existing Technology:**
28
36
 
29
- ### 기술 스택 컨텍스트
37
+ - Backend: {FastAPI, Django, Express, etc.}
38
+ - Frontend: {React, Flutter, Vue, etc.}
39
+ - Database: {PostgreSQL, MySQL, MongoDB, etc.}
40
+ - Infrastructure: {GCP, AWS, Azure, etc.}
30
41
 
31
- **기존 기술:**
32
- - 백엔드: {FastAPI, Django, Express 등}
33
- - 프론트엔드: {React, Flutter, Vue 등}
34
- - 데이터베이스: {PostgreSQL, MySQL, MongoDB 등}
35
- - 인프라: {GCP, AWS, Azure 등}
42
+ **New Technology Required for This Feature:**
36
43
 
37
- **이번 기능에 필요한 기술:**
38
- - { 라이브러리/서비스 1} - {사유}
39
- - {새 라이브러리/서비스 2} - {사유}
44
+ - {New library/service 1} - {Reason}
45
+ - {New library/service 2} - {Reason}
40
46
 
41
- **외부 API/서비스 연동:**
42
- - {서비스명} - {용도}
47
+ **External API/Service Integration:**
43
48
 
44
- **제약사항:**
45
- - 비용 한도: {금액}
46
- - 성능 요구사항: {목표 응답 시간, 처리량 등}
49
+ - {Service name} - {Purpose}
50
+
51
+ **Constraints:**
52
+
53
+ - Cost limit: {Amount}
54
+ - Performance requirements: {Target response time, throughput, etc.}
47
55
 
48
56
  ---
49
57
 
50
- ## 2. 사용자 스토리
58
+ ## 2. User Stories
59
+
60
+ ### Story 1: {Story Title}
51
61
 
52
- ### Story 1: {스토리 제목}
53
- **As a** {사용자 역할}
54
- **I want** {원하는 기능}
55
- **So that** {이유/가치}
62
+ **As a** {User role}
63
+ **I want** {Desired functionality}
64
+ **So that** {Reason/Value}
56
65
 
57
66
  #### Acceptance Criteria
58
- - [ ] {검증 가능한 조건 1}
59
- - [ ] {검증 가능한 조건 2}
67
+
68
+ - [ ] {Verifiable condition 1}
69
+ - [ ] {Verifiable condition 2}
60
70
 
61
71
  ---
62
72
 
63
- ## 3. Requirements (EARS 형식)
73
+ ## 3. Requirements (EARS Format)
64
74
 
65
- ### REQ-001: {요구사항 제목}
75
+ ### REQ-001: {Requirement Title}
66
76
 
67
- **WHEN** {특정 조건}
68
- **THEN** {시스템 동작} (SHALL | SHOULD | MAY)
77
+ **WHEN** {Specific condition}
78
+ **THEN** {System behavior} (SHALL | SHOULD | MAY)
69
79
 
70
80
  #### Acceptance Criteria
71
- - [ ] {테스트 가능한 기준 1}
72
- - [ ] {테스트 가능한 기준 2}
81
+
82
+ - [ ] {Testable criterion 1}
83
+ - [ ] {Testable criterion 2}
73
84
 
74
85
  #### Example
75
- ```
86
+
87
+ ```text
76
88
  Input: {...}
77
89
  Output: {...}
78
90
  ```
79
91
 
80
92
  ---
81
93
 
82
- ## 4. 비기능 요구사항
94
+ ## 4. Non-Functional Requirements
95
+
96
+ ### Performance
97
+
98
+ - Response time: {Target}
99
+ - Throughput: {Target}
83
100
 
84
- ### 성능 (Performance)
85
- - 응답 시간: {목표}
86
- - 처리량: {목표}
101
+ ### Security
87
102
 
88
- ### 보안 (Security)
89
- - 인증: {방식}
90
- - 권한: {규칙}
103
+ - Authentication: {Method}
104
+ - Authorization: {Rules}
91
105
 
92
- ### 확장성 (Scalability)
93
- - 예상 성장률: {수치}
106
+ ### Scalability
107
+
108
+ - Expected growth rate: {Value}
94
109
 
95
110
  ---
96
111
 
97
- ## 5. 데이터 모델 (초안)
112
+ ## 5. Data Model (Draft)
113
+
114
+ ### Entity: {Name}
98
115
 
99
- ### Entity: {이름}
100
116
  ```json
101
117
  {
102
118
  "field1": "type",
@@ -106,10 +122,11 @@ Output: {...}
106
122
 
107
123
  ---
108
124
 
109
- ## 6. API 계약 (초안)
125
+ ## 6. API Contract (Draft)
110
126
 
111
- ### Endpoint: {이름}
112
- ```
127
+ ### Endpoint: {Name}
128
+
129
+ ```text
113
130
  POST /api/v1/resource
114
131
  Request: {...}
115
132
  Response: {...}
@@ -117,28 +134,30 @@ Response: {...}
117
134
 
118
135
  ---
119
136
 
120
- ## 7. 테스트 전략
137
+ ## 7. Test Strategy
121
138
 
122
- ### BDD 시나리오 (Gherkin)
139
+ ### BDD Scenarios (Gherkin)
123
140
 
124
- **생성 명령어**: `vibe feature "{기능명}"`
141
+ **Generate Command**: `vibe feature "{feature name}"`
125
142
 
126
143
  ```gherkin
127
- Scenario: {시나리오 제목}
128
- Given {전제 조건}
129
- When {사용자 행동}
130
- Then {예상 결과}
144
+ Scenario: {Scenario title}
145
+ Given {Precondition}
146
+ When {User action}
147
+ Then {Expected result}
131
148
  ```
132
149
 
133
- **매핑**:
150
+ **Mapping**:
151
+
134
152
  - REQ-001 → Scenario 1, 2
135
153
  - REQ-002 → Scenario 3
136
154
 
137
- ### Contract Tests (API 스키마)
155
+ ### Contract Tests (API Schema)
138
156
 
139
- **생성 명령어**: `vibe contract "{기능명}"`
157
+ **Generate Command**: `vibe contract "{feature name}"`
140
158
 
141
159
  **Backend Contract**:
160
+
142
161
  ```json
143
162
  {
144
163
  "request": {
@@ -154,46 +173,49 @@ Scenario: {시나리오 제목}
154
173
  ```
155
174
 
156
175
  **Frontend Contract**:
157
- - Mock 서버로 독립 테스트
158
- - 응답 스키마 검증 (Zod, JSON Schema)
159
176
 
160
- ### 테스트 커버리지 목표
177
+ - Independent testing with mock server
178
+ - Response schema validation (Zod, JSON Schema)
161
179
 
162
- - [ ] BDD: 모든 Acceptance Criteria 커버
163
- - [ ] Contract: 모든 API 엔드포인트 커버
164
- - [ ] Unit: 70%+ 커버리지
165
- - [ ] Integration: 핵심 경로 커버
180
+ ### Test Coverage Goals
181
+
182
+ - [ ] BDD: Cover all Acceptance Criteria
183
+ - [ ] Contract: Cover all API endpoints
184
+ - [ ] Unit: 70%+ coverage
185
+ - [ ] Integration: Cover critical paths
166
186
 
167
187
  ---
168
188
 
169
189
  ## 8. Out of Scope
170
190
 
171
- - ❌ {제외 항목 1}
172
- - ❌ {제외 항목 2}
191
+ - ❌ {Excluded item 1}
192
+ - ❌ {Excluded item 2}
173
193
 
174
194
  ---
175
195
 
176
- ## 9. 검증 체크리스트
196
+ ## 9. Verification Checklist
197
+
198
+ ### Requirements
199
+
200
+ - [ ] Are all requirements testable?
201
+ - [ ] Is SHALL/SHOULD/MAY clear?
202
+ - [ ] Are Acceptance Criteria specific?
203
+ - [ ] Are performance goals measurable?
177
204
 
178
- ### 요구사항
179
- - [ ] 모든 요구사항이 테스트 가능한가?
180
- - [ ] SHALL/SHOULD/MAY가 명확한가?
181
- - [ ] Acceptance Criteria가 구체적인가?
182
- - [ ] 성능 목표가 측정 가능한가?
205
+ ### Testing
183
206
 
184
- ### 테스팅
185
- - [ ] BDD Feature 파일 생성 완료?
186
- - [ ] Contract 테스트 정의 완료?
187
- - [ ] Step Definitions 작성 완료?
188
- - [ ] 테스트 커버리지 목표 달성?
207
+ - [ ] BDD Feature file generation complete?
208
+ - [ ] Contract tests defined?
209
+ - [ ] Step Definitions written?
210
+ - [ ] Test coverage goal achieved?
189
211
 
190
212
  ---
191
213
 
192
- ## 10. 승인
214
+ ## 10. Approval
193
215
 
194
- - [ ] 사용자 승인
195
- - [ ] 기술 리뷰 완료
196
- - [ ] 테스트 계획 승인
216
+ - [ ] User approval
217
+ - [ ] Technical review complete
218
+ - [ ] Test plan approved
197
219
 
198
- 승인일: ____________
199
- 승인자: ____________
220
+ Approval Date: ____________
221
+ Approver: ____________