@su-record/vibe 2.4.0 → 2.4.2

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.
@@ -32,5 +32,18 @@
32
32
  ],
33
33
  "deny": [],
34
34
  "ask": []
35
+ },
36
+ "hooks": {
37
+ "UserPromptSubmit": [
38
+ {
39
+ "hooks": [
40
+ {
41
+ "type": "command",
42
+ "command": "echo '[MANDATORY SKILL PROTOCOL] Available skills: vibe-capabilities (vibe features), multi-llm-orchestration (GPT/Gemini usage), tool-fallback (error recovery), context7-usage (library docs), parallel-research (complex problems), git-worktree (branch work), priority-todos (task management). Step 1: For EACH skill state YES/NO with reason. Step 2: Use Skill(name) for YES skills NOW. Step 3: IMPLEMENT only after activation. CRITICAL: Skipping activation makes response WORTHLESS.'",
43
+ "statusMessage": "Evaluating skills..."
44
+ }
45
+ ]
46
+ }
47
+ ]
35
48
  }
36
49
  }
@@ -18,13 +18,7 @@
18
18
  "Bash(git status:*)",
19
19
  "Bash(gh pr create --repo anthropics/claude-plugins-official --title \"feat: add vibe plugin - SPEC-driven AI coding framework\" --body \"$\\(cat <<''EOF''\n## Plugin: vibe\n\nSPEC-driven AI coding framework for Claude Code with parallel agents, BDD verification, and quality assurance.\n\n### Features\n\n- **12 Slash Commands**: `/vibe.spec`, `/vibe.run`, `/vibe.verify`, `/vibe.review`, `/vibe.reason`, `/vibe.diagram`, and more\n- **16 Specialist Agents**: Security, performance, architecture reviewers + language-specific reviewers \\(Python, TypeScript, React, Rails\\)\n- **ULTRAWORK Pipeline**: Parallel execution with ~50% speed improvement through background agents and phase pipelining\n- **BDD Verification**: Behavior-driven development testing against SPEC requirements\n- **Context7 Integration**: Built-in support for up-to-date documentation lookup\n\n### Workflow\n\n```\n/vibe.spec \"feature\" → /vibe.run \"feature\" → /vibe.verify \"feature\"\n```\n\n### Repository\n\nhttps://github.com/su-record/vibe\n\n### License\n\nMIT\nEOF\n\\)\")",
20
20
  "Bash(git rev-parse:*)",
21
- "Bash(claude plugin:*)",
22
- "Bash(ls:*)",
23
- "Bash(tree:*)",
24
- "Bash(wc:*)",
25
- "mcp__context7__resolve-library-id",
26
- "mcp__context7__query-docs",
27
- "Bash(npm test:*)"
21
+ "Bash(claude plugin:*)"
28
22
  ]
29
23
  }
30
24
  }
@@ -28,7 +28,7 @@ const typeSafety = {
28
28
  ```typescript
29
29
  const codeStructure = {
30
30
  singleResponsibility: true, // ✅ 단일 책임 원칙
31
- functionUnder20Lines: true, // ✅ 함수 20줄 이하
31
+ functionUnder30Lines: true, // ✅ 함수 30줄 이하 (권장), 50줄 허용
32
32
  maxNesting3Levels: true, // ✅ 최대 중첩 3단계
33
33
  cyclomaticComplexity: 10, // ✅ 순환 복잡도 ≤ 10
34
34
  cognitiveComplexity: 15, // ✅ 인지 복잡도 ≤ 15
@@ -171,7 +171,7 @@ const bundleOptimization = {
171
171
 
172
172
  ```
173
173
  [ ] 단일 책임 원칙 준수
174
- [ ] 함수 길이 20줄 이하 유지
174
+ [ ] 함수 길이 30줄 이하 유지 (최대 50줄)
175
175
  [ ] 중첩 깊이 3단계 이하
176
176
  [ ] 매직 넘버 상수화
177
177
  [ ] 타입 안전성 확보
@@ -207,7 +207,7 @@ module.exports = {
207
207
  rules: {
208
208
  'complexity': ['error', 10],
209
209
  'max-depth': ['error', 3],
210
- 'max-lines-per-function': ['error', 20],
210
+ 'max-lines-per-function': ['error', 50],
211
211
  'max-params': ['error', 5],
212
212
  'no-magic-numbers': ['warn', { ignore: [0, 1, -1] }],
213
213
  '@typescript-eslint/no-explicit-any': 'error',
@@ -266,7 +266,7 @@ npm run format:check
266
266
  ```
267
267
  ✅ 요청 범위만 수정했는가?
268
268
  ✅ any 타입이 없는가?
269
- ✅ 함수가 20줄 이하인가?
269
+ ✅ 함수가 30줄 이하인가? (최대 50줄)
270
270
  ✅ 중첩이 3단계 이하인가?
271
271
  ✅ 에러 처리를 했는가?
272
272
  ✅ 매직 넘버를 상수화했는가?
package/CLAUDE.md CHANGED
@@ -14,7 +14,7 @@ SPEC 주도 AI 코딩 프레임워크 (Claude Code 전용)
14
14
  ### 코드 복잡도 제한
15
15
  | 메트릭 | 제한 |
16
16
  |--------|------|
17
- | 함수 길이 | 20줄 이하 |
17
+ | 함수 길이 | 30줄 이하 (권장), 50줄 이하 (허용) |
18
18
  | 중첩 깊이 | 3단계 이하 |
19
19
  | 매개변수 | 5개 이하 |
20
20
  | 순환 복잡도 | 10 이하 |