@su-record/vibe 3.2.6 → 3.2.8

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 (160) hide show
  1. package/CLAUDE.md +5 -2
  2. package/README.en.md +1 -1
  3. package/README.md +1 -1
  4. package/agents/build-error-resolver.md +1 -1
  5. package/agents/code-reviewer.md +1 -1
  6. package/agents/e2e-tester.md +1 -1
  7. package/agents/event/event-ops.md +1 -1
  8. package/agents/event/event-planner.md +1 -1
  9. package/agents/implementer.md +1 -1
  10. package/agents/security-reviewer.md +1 -1
  11. package/agents/tester.md +1 -1
  12. package/agents/ui/design-reviewer.md +1 -1
  13. package/agents/ui/design-system-gen.md +1 -1
  14. package/dist/cli/commands/info.d.ts +9 -0
  15. package/dist/cli/commands/info.d.ts.map +1 -1
  16. package/dist/cli/commands/info.js +32 -0
  17. package/dist/cli/commands/info.js.map +1 -1
  18. package/dist/cli/commands/info.test.js +34 -1
  19. package/dist/cli/commands/info.test.js.map +1 -1
  20. package/dist/cli/commands/upgrade.d.ts +18 -0
  21. package/dist/cli/commands/upgrade.d.ts.map +1 -1
  22. package/dist/cli/commands/upgrade.js +60 -2
  23. package/dist/cli/commands/upgrade.js.map +1 -1
  24. package/dist/cli/commands/upgrade.test.js +51 -1
  25. package/dist/cli/commands/upgrade.test.js.map +1 -1
  26. package/dist/cli/generate-release-notes.js +8 -6
  27. package/dist/cli/generate-release-notes.js.map +1 -1
  28. package/dist/cli/postinstall/claude-agents.d.ts.map +1 -1
  29. package/dist/cli/postinstall/claude-agents.js +3 -1
  30. package/dist/cli/postinstall/claude-agents.js.map +1 -1
  31. package/dist/cli/postinstall/constants.d.ts.map +1 -1
  32. package/dist/cli/postinstall/constants.js +27 -21
  33. package/dist/cli/postinstall/constants.js.map +1 -1
  34. package/dist/tests/curated-release-notes.test.js +55 -1
  35. package/dist/tests/curated-release-notes.test.js.map +1 -1
  36. package/dist/tools/release/releaseNotes.d.ts +22 -0
  37. package/dist/tools/release/releaseNotes.d.ts.map +1 -1
  38. package/dist/tools/release/releaseNotes.js +45 -0
  39. package/dist/tools/release/releaseNotes.js.map +1 -1
  40. package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -3
  41. package/hooks/scripts/__tests__/code-check-detectors.test.js +58 -0
  42. package/hooks/scripts/code-check.js +7 -0
  43. package/package.json +2 -2
  44. package/skills/vibe/SKILL.md +27 -86
  45. package/skills/vibe/references/routing-examples.md +85 -0
  46. package/skills/vibe.agents-md/SKILL.md +12 -10
  47. package/skills/vibe.analyze/SKILL.md +22 -211
  48. package/skills/vibe.analyze/references/mode1-feature.md +81 -0
  49. package/skills/vibe.analyze/references/mode2-document.md +50 -0
  50. package/skills/vibe.analyze/references/mode3-website.md +47 -0
  51. package/skills/vibe.analyze/references/mode4-quality.md +35 -0
  52. package/skills/vibe.analyze/references/output-templates.md +2 -2
  53. package/skills/vibe.brand-assets/SKILL.md +2 -2
  54. package/skills/vibe.brand-assets/references/mobile-assets.md +6 -0
  55. package/skills/vibe.capability-loop/SKILL.md +14 -80
  56. package/skills/vibe.capability-loop/references/escalate.md +86 -0
  57. package/skills/vibe.chub-usage/SKILL.md +3 -132
  58. package/skills/vibe.clone/SKILL.md +43 -358
  59. package/skills/vibe.clone/references/phase-commands.md +118 -0
  60. package/skills/vibe.clone/references/setup-and-layout.md +34 -0
  61. package/skills/vibe.clone/references/verification-loops.md +64 -0
  62. package/skills/vibe.commit-push-pr/SKILL.md +10 -4
  63. package/skills/vibe.context7-usage/SKILL.md +3 -99
  64. package/skills/vibe.continue/SKILL.md +17 -7
  65. package/skills/{vibe.handoff → vibe.continue}/agents/context-summarizer.md +1 -1
  66. package/skills/{vibe.handoff → vibe.continue}/agents/document-writer.md +1 -1
  67. package/skills/{vibe.handoff → vibe.continue}/agents/state-collector.md +1 -1
  68. package/skills/{vibe.handoff → vibe.continue}/agents/verifier.md +1 -1
  69. package/skills/{vibe.handoff/rubrics/completeness.md → vibe.continue/references/handoff-completeness.md} +1 -1
  70. package/skills/{vibe.handoff/templates → vibe.continue/references}/handoff.md +37 -2
  71. package/skills/vibe.contract/SKILL.md +4 -27
  72. package/skills/vibe.create-prd/SKILL.md +8 -1
  73. package/skills/vibe.design/SKILL.md +18 -5
  74. package/skills/vibe.design/references/design-context.md +184 -0
  75. package/skills/vibe.design-refine/SKILL.md +7 -0
  76. package/skills/vibe.design-review/SKILL.md +7 -0
  77. package/skills/vibe.design-teach/SKILL.md +2 -175
  78. package/skills/vibe.devlog/SKILL.md +14 -11
  79. package/skills/vibe.devlog/references/auto-push.md +10 -0
  80. package/skills/vibe.docs/SKILL.md +27 -198
  81. package/skills/vibe.docs/references/agent.md +55 -0
  82. package/skills/vibe.docs/references/arch.md +28 -0
  83. package/skills/vibe.docs/references/codemaps.md +17 -0
  84. package/skills/vibe.docs/references/diagram.md +24 -0
  85. package/skills/vibe.docs/references/guide.md +23 -0
  86. package/skills/vibe.docs/references/readme.md +45 -0
  87. package/skills/vibe.docs/references/release.md +31 -0
  88. package/skills/vibe.documentation-provider/SKILL.md +22 -0
  89. package/skills/vibe.documentation-provider/references/chub.md +141 -0
  90. package/skills/vibe.documentation-provider/references/context7.md +107 -0
  91. package/skills/vibe.educational-content/SKILL.md +7 -0
  92. package/skills/vibe.event/SKILL.md +47 -146
  93. package/skills/vibe.event/references/comms.md +173 -0
  94. package/skills/vibe.event/references/operations.md +208 -0
  95. package/skills/vibe.event/references/orchestration-legacy.md +97 -0
  96. package/skills/vibe.event/references/planning.md +145 -0
  97. package/skills/vibe.event-comms/SKILL.md +3 -165
  98. package/skills/vibe.event-ops/SKILL.md +3 -200
  99. package/skills/vibe.event-planning/SKILL.md +3 -137
  100. package/skills/vibe.figma/SKILL.md +26 -692
  101. package/skills/vibe.figma/references/branch1-read-convention.md +82 -0
  102. package/skills/vibe.figma/references/branch2-read-standalone.md +69 -0
  103. package/skills/vibe.figma/references/branch3-write.md +122 -0
  104. package/skills/vibe.figma/references/core-implementation.md +453 -0
  105. package/skills/vibe.git-worktree/SKILL.md +2 -6
  106. package/skills/vibe.git-worktree/references/troubleshooting.md +9 -0
  107. package/skills/vibe.handoff/SKILL.md +2 -103
  108. package/skills/vibe.harness/SKILL.md +17 -12
  109. package/skills/vibe.image/SKILL.md +8 -1
  110. package/skills/vibe.llm/SKILL.md +8 -1
  111. package/skills/vibe.loop/SKILL.md +9 -11
  112. package/skills/vibe.loop/references/install-adapters.md +10 -0
  113. package/skills/vibe.presentation/SKILL.md +7 -0
  114. package/skills/vibe.prioritization/SKILL.md +7 -0
  115. package/skills/vibe.priority-todos/SKILL.md +2 -57
  116. package/skills/vibe.react-best-practices/SKILL.md +1 -1
  117. package/skills/vibe.reason/SKILL.md +9 -2
  118. package/skills/vibe.regress/SKILL.md +6 -28
  119. package/skills/vibe.regress/templates/{test-jest.md → test-template.md} +1 -0
  120. package/skills/vibe.review/SKILL.md +62 -52
  121. package/skills/vibe.review/references/priority-todos.md +66 -0
  122. package/skills/vibe.review/references/ui-ux-review.md +39 -0
  123. package/skills/vibe.run/SKILL.md +63 -660
  124. package/skills/vibe.run/references/arch-guard.md +178 -0
  125. package/skills/vibe.run/references/e2e-and-autofix.md +40 -0
  126. package/skills/vibe.run/references/exec-plan.md +145 -0
  127. package/skills/vibe.run/references/guidelines-and-tools.md +84 -0
  128. package/skills/vibe.run/references/parallel-agents.md +44 -60
  129. package/skills/vibe.run/references/process-steps.md +179 -0
  130. package/skills/vibe.run/references/restraint.md +66 -0
  131. package/skills/vibe.run/references/ultrawork-mode.md +1 -1
  132. package/skills/vibe.scaffold/SKILL.md +9 -13
  133. package/skills/vibe.scaffold/references/clean-architecture.md +17 -0
  134. package/skills/vibe.spec/SKILL.md +13 -9
  135. package/skills/vibe.spec/references/legacy-artifacts.md +6 -0
  136. package/skills/vibe.test/SKILL.md +93 -70
  137. package/skills/vibe.test/references/report-template.md +101 -0
  138. package/skills/vibe.tool-fallback/SKILL.md +10 -32
  139. package/skills/vibe.tool-fallback/references/external-llm.md +10 -0
  140. package/skills/vibe.tool-fallback/references/file-lookup.md +9 -0
  141. package/skills/vibe.tool-fallback/references/web-search.md +11 -0
  142. package/skills/vibe.trace/SKILL.md +2 -264
  143. package/skills/vibe.ui-ux-pro-max/SKILL.md +1 -3
  144. package/skills/vibe.ui-ux-pro-max/references/charts-and-data.md +7 -0
  145. package/skills/vibe.user-personas/SKILL.md +8 -1
  146. package/skills/vibe.verify/SKILL.md +30 -4
  147. package/skills/vibe.verify/references/trace-mode.md +271 -0
  148. package/vibe/rules/principles/dual-harness-doctrine.md +10 -9
  149. package/skills/vibe.regress/templates/test-vitest.md +0 -30
  150. /package/skills/{vibe.design-teach/rubrics → vibe.design/references}/brand-personality.md +0 -0
  151. /package/skills/{vibe.design-teach → vibe.design}/templates/design-context.json +0 -0
  152. /package/skills/{vibe.context7-usage/rubrics/when-to-use.md → vibe.documentation-provider/references/context7-when-to-use.md} +0 -0
  153. /package/skills/{vibe.event-ops/rubrics → vibe.event/references}/contingency.md +0 -0
  154. /package/skills/{vibe.event-ops/templates/d-day-checklist.md → vibe.event/references/d-day-checklist-template.md} +0 -0
  155. /package/skills/{vibe.event-comms/templates/email-invite.md → vibe.event/references/email-invite-template.md} +0 -0
  156. /package/skills/{vibe.event-planning/templates/event-plan.md → vibe.event/references/event-plan-template.md} +0 -0
  157. /package/skills/{vibe.event-comms/templates/sns-post.md → vibe.event/references/sns-post-template.md} +0 -0
  158. /package/skills/{vibe.event-planning/rubrics → vibe.event/references}/timeline.md +0 -0
  159. /package/skills/{vibe.priority-todos/templates/todo-board.md → vibe.review/references/todo-board-template.md} +0 -0
  160. /package/skills/{vibe.priority-todos/rubrics/prioritization.md → vibe.review/references/todo-prioritization.md} +0 -0
@@ -0,0 +1,85 @@
1
+ # /vibe — Routing Examples & Output Format
2
+
3
+ > vibe SKILL.md 에서 참조. 라우팅 예시 4종과 최종 출력 포맷.
4
+
5
+ ## Routing Examples
6
+
7
+ ### 예시 1: 신규 + figma
8
+
9
+ ```
10
+ 입력: /vibe "https://www.figma.com/design/abc/login 로 로그인 페이지"
11
+
12
+ → Intent: figma-driven UI
13
+ → Resume: 없음
14
+ → Pipeline:
15
+ 1. /vibe.figma (figma Extract + Convert Mode)
16
+ 2. /vibe.spec (생성된 SPEC 자동 보정)
17
+ 3. /vibe.run
18
+ 4. /vibe.verify
19
+ 5. /vibe.trace
20
+ ```
21
+
22
+ ### 예시 2: Resume
23
+
24
+ ```
25
+ 입력: /vibe "이어서" (혹은 빈 호출)
26
+
27
+ → Resume: .vibe/specs/login/ 발견 (3개 phase 파일)
28
+ → .vibe/features/login/ 없음
29
+ → Pipeline:
30
+ 1. /vibe.run (구현부터)
31
+ 2. /vibe.verify
32
+ 3. /vibe.trace
33
+ ```
34
+
35
+ ### 예시 3: Review only
36
+
37
+ ```
38
+ 입력: /vibe "이 코드 리뷰만" + 📎 src/auth/login.ts
39
+
40
+ → Intent: review only
41
+ → Pipeline:
42
+ 1. /vibe.review (단일 phase)
43
+ ```
44
+
45
+ ### 예시 4: automationLevel autonomous (ultrawork 별칭)
46
+
47
+ ```
48
+ 입력: /vibe "결제 API 만들어줘" ultrawork
49
+
50
+ → automationLevel: autonomous 설정 → SPEC 승인 게이트 skip
51
+ → 병렬 ACT 활성화
52
+ → ANCHOR→ACT→JUDGE→RECORD 루프 (게이트 통과까지 자동 반복)
53
+ → stuck 시 TODO 기록 후 루프 종료 (사용자 질문 없음)
54
+ ```
55
+
56
+
57
+ ## Output
58
+
59
+ ```
60
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
61
+ 🎯 /vibe Dynamic Dispatcher
62
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
63
+
64
+ [Phase 0: Input 분석]
65
+ ...
66
+
67
+ [Phase 1: Intent 분류]
68
+ → new feature + figma-driven UI
69
+
70
+ [Phase 2: Resume 감지]
71
+ → 진행 중인 작업 없음
72
+
73
+ [Phase 3: 파이프라인 설계]
74
+ ...
75
+
76
+ [Phase 4: 실행]
77
+ ... (SPEC 승인은 spec 단계 내부의 1회 게이트)
78
+
79
+ [Phase 5: 종료 보고]
80
+ ...
81
+ ```
82
+
83
+ ---
84
+
85
+ ARGUMENTS: {자연어 요구사항 + 첨부}
@@ -3,13 +3,20 @@ name: vibe.agents-md
3
3
  user-invocable: false
4
4
  invocation: [auto, chain]
5
5
  tier: standard
6
- description: "Author and optimize AGENTS.md / CLAUDE.md (same doctrine, different filenames): write new context files from scratch, or strip discoverable info and keep only gotchas. Based on Addy Osmani's AGENTS.md principles + Curse of Instructions research. Activates on agents.md, claude.md, context file authoring/optimization."
6
+ description: "Use when authoring or optimizing AGENTS.md or CLAUDE.md create the context file or remove discoverable detail while preserving project-specific gotchas."
7
7
  triggers: [agents.md, claude.md, context file, optimize agents, optimize claude, write claude.md, create claude.md, project instructions]
8
8
  priority: 50
9
9
  ---
10
10
 
11
11
  # agents-md — Context File Author & Optimizer
12
12
 
13
+ ## Done Criteria
14
+
15
+ - [ ] 요청된 AGENTS.md 또는 CLAUDE.md가 존재한다.
16
+ - [ ] 저장소에서 탐색 가능한 일반 정보가 중복 서술되지 않는다.
17
+ - [ ] 프로젝트 고유 제약과 검증 명령이 남아 있다.
18
+ - [ ] 두 파일을 함께 관리하면 공통 규칙의 의미가 일치한다.
19
+
13
20
  Author and optimize AGENTS.md / CLAUDE.md files. They are the **same doctrine
14
21
  under different filenames** — everything below applies to both.
15
22
  Reference: https://addyosmani.com/blog/agents-md/
@@ -30,13 +37,8 @@ under-weight the middle. Most important rules → top. Frequently violated rules
30
37
 
31
38
  Search project root for these files:
32
39
 
33
- ```
34
- Glob: pattern="AGENTS.md"
35
- Glob: pattern="CLAUDE.md"
36
- Glob: pattern=".cursorrules"
37
- Glob: pattern=".github/copilot-instructions.md"
38
- Glob: pattern=".windsurfrules"
39
- ```
40
+ Use the harness's file-pattern search capability for `AGENTS.md`, `CLAUDE.md`,
41
+ `.cursorrules`, `.github/copilot-instructions.md`, and `.windsurfrules`.
40
42
 
41
43
  If a target exists → optimize it (Steps 2–3). If none exists and the user wants
42
44
  one → author it (Step 1b), then run the same optimization pass on the draft.
@@ -75,7 +77,7 @@ Information the agent can find by exploring the code:
75
77
 
76
78
  | Type | Example | Discovery Path |
77
79
  |------|---------|---------------|
78
- | Directory structure | "Components are in src/" | `ls`, `Glob` |
80
+ | Directory structure | "Components are in src/" | directory listing or file-pattern search |
79
81
  | Tech stack | "Uses React + TypeScript" | `package.json`, file extensions |
80
82
  | Phase/progress tables | "Phase 1 ✅, Phase 2 ✅..." | Just history, not actionable guidance |
81
83
  | Build/test commands | "Run tests with npm test" | `package.json` scripts |
@@ -134,7 +136,7 @@ Rules:
134
136
  - Each gotcha has **bold title + specific do/don't**
135
137
  - "Don't use X" is more useful than "We use X"
136
138
  - Target under 50 lines total; 60–150 acceptable for complex projects; at 300+ the agent ignores half of it
137
- - Don't inline everything — Claude Code follows `@docs/FILE.md` references and loads them on demand (progressive disclosure)
139
+ - Don't inline everything — point to `docs/FILE.md` and load it on demand (progressive disclosure)
138
140
 
139
141
  ## Step 4: CLAUDE.md Separation (if applicable)
140
142
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: vibe.analyze
3
- description: Analyze any target — code, document, website, or Figma design
3
+ description: Use when code, documents, websites, Figma, or project quality must be analyzed into an evidence-backed report.
4
4
  argument-hint: '"feature-name" or file.pdf or https://... or --code or --deps or --arch'
5
5
  user-invocable: true
6
6
  ---
@@ -39,9 +39,9 @@ Determine analysis mode from the argument pattern:
39
39
 
40
40
  ## File Reading Policy (Mandatory)
41
41
 
42
- - **SPEC/Feature files**: Always use `Read` tool for the full file (never Grep for content)
42
+ - **SPEC/Feature files**: Always use the harness's full-file reading capability (never text search for content)
43
43
  - **Source files**: Read the entire file before analyzing (no partial reads)
44
- - **Grep restriction**: Use only for locating files, not for understanding content
44
+ - **Text-search restriction**: Use only for locating files, not for understanding content
45
45
  - **Agent prompts**: Always include "Read target files in full before analyzing"
46
46
  - **No partial analysis**: Never judge a file by a few lines around a Grep match
47
47
 
@@ -55,217 +55,19 @@ Determine analysis mode from the argument pattern:
55
55
 
56
56
  > **Timer**: Record start time at the beginning. Include elapsed time in the final report.
57
57
 
58
- ## Mode 1: Feature/Module Analysis (`/vibe.analyze "feature-name"`)
58
+ ## 모드 라우팅 (하나만 로드)
59
59
 
60
- ### Goal
60
+ 입력 판별 결과에 따라 **아래 reference 중 정확히 하나만** 읽는다. 한 번의 호출은 한 모드만 실행하므로,
61
+ 나머지 셋은 읽지 않는다 — 이것이 이 스킬에서 컨텍스트를 가장 크게 줄이는 지점이다.
61
62
 
62
- Explore all source code related to the requested feature/module and analyze flow to:
63
- 1. Understand current implementation status
64
- 2. Map code structure and dependencies
65
- 3. Build context for future development/modification requests
63
+ | 모드 | 선택 조건 | 본문 |
64
+ |---|---|---|
65
+ | **1** Feature/Module | 인자가 기능·모듈 이름 (코드 분석) | `references/mode1-feature.md` |
66
+ | **2** Document | 인자가 PDF·Markdown·슬라이드 파일 | `references/mode2-document.md` |
67
+ | **3** Website | 인자가 http(s) URL | `references/mode3-website.md` |
68
+ | **4** Project Quality | `--code` / `--deps` / `--arch` 플래그 | `references/mode4-quality.md` |
66
69
 
67
- ### Process
68
-
69
- #### 1. Request Analysis
70
-
71
- Extract keywords from the user request:
72
- - Feature name (e.g., login, feed, payment)
73
- - Action (e.g., create, read, update, delete)
74
- - Scope (e.g., backend only, frontend only, full)
75
-
76
- #### 2. Understand Project Structure
77
-
78
- Read `CLAUDE.md`, `package.json`, `pyproject.toml`, etc. to identify tech stack.
79
-
80
- > Read `references/output-templates.md` for the full backend/frontend stack → directory mapping.
81
-
82
- #### 3. Explore Related Code (Parallel Sub-Agents)
83
-
84
- **MANDATORY: Always use native Explore sub-agents. Never explore in main session.**
85
-
86
- > Why: 3 Explore agents return ~600 tokens of summaries to main session.
87
- > Direct Glob/Grep/Read in main session would add 5-15K tokens of raw content.
88
-
89
- **Parallel exploration (ALL in ONE message):**
90
-
91
- ```text
92
- Agent(subagent_type="Explore", model="haiku",
93
- prompt="Find all [FEATURE] related API endpoints. List file paths, HTTP methods, routes, and auth requirements.")
94
-
95
- Agent(subagent_type="Explore", model="haiku",
96
- prompt="Find all [FEATURE] related services, business logic, and utility functions. Map dependencies.")
97
-
98
- Agent(subagent_type="Explore", model="haiku",
99
- prompt="Find all [FEATURE] related data models, schemas, and database queries. Document relationships and key fields.")
100
- ```
101
-
102
- > Read `references/output-templates.md` for the additional "Scale for large projects (6+ related files)" agent prompts.
103
-
104
- **After all agents return:**
105
- - Synthesize results → proceed to Flow Analysis
106
- - Only Read specific files in main session when agent summaries need clarification
107
-
108
- #### 4. Flow Analysis
109
-
110
- **API Flow:**
111
- - Endpoint URL and HTTP method
112
- - Request/response schema
113
- - Authentication/authorization requirements
114
-
115
- **Business Logic:**
116
- - Core methods and their roles
117
- - Validation rules
118
- - External service integrations
119
-
120
- **Data Flow:**
121
- - Related tables/models
122
- - Relationships (1:N, N:M)
123
- - Key query patterns
124
-
125
- #### 5. Output
126
-
127
- > Read `references/output-templates.md` for the full Mode 1 output format.
128
-
129
- #### 6. Next Steps
130
-
131
- After analysis, suggest mode-specific follow-up actions.
132
-
133
- > Read `references/output-templates.md` for the full Next Steps decision tables (code/feature, document, website).
134
-
135
- Wait for user's choice before proceeding.
136
-
137
- ---
138
-
139
- ## Mode 2: Document Analysis (PDF, Markdown, Slides)
140
-
141
- ### Goal
142
-
143
- Analyze document **structure, key content, quality, and applicability** to:
144
- 1. Extract and organize information from the document
145
- 2. Map relevance to the current project
146
- 3. Suggest follow-up actions (development, improvement, application)
147
-
148
- ### Process
149
-
150
- #### 1. Read Document
151
-
152
- - **PDF**: Use `Read` tool with `pages` parameter (split large documents into chunks of 20 pages)
153
- - **Markdown/Text**: Use `Read` tool for the full file
154
- - **Image-heavy documents**: Analyze visual elements (slides, diagrams) alongside text
155
-
156
- #### 2. Classify Document Type
157
-
158
- > Read `references/output-templates.md` for the full document-type → analysis-focus table.
159
-
160
- #### 3. Analyze Content (Parallel Sub-Agents)
161
-
162
- ```text
163
- Agent(subagent_type="general-purpose", model="haiku",
164
- prompt="Read the document at [PATH] and extract: 1) Section structure / table of contents 2) Key concepts and definitions 3) Main arguments or claims. Use the Read tool with pages parameter for PDFs.")
165
-
166
- Agent(subagent_type="general-purpose", model="haiku",
167
- prompt="Read the document at [PATH] and extract: 1) Actionable recommendations 2) Data points, metrics, examples 3) References to external resources. Use the Read tool with pages parameter for PDFs.")
168
- ```
169
-
170
- #### 4. Project Relevance Analysis
171
-
172
- - Map how document content applies to the current project
173
- - Check if patterns/tools/techniques mentioned are already implemented
174
- - Gap analysis: document recommendations vs current project state
175
-
176
- #### 5. Output
177
-
178
- > Read `references/output-templates.md` for the full Mode 2 output format.
179
-
180
- #### Fallback
181
-
182
- If `Read` fails for a document format:
183
- 1. Check file extension and try alternative parsing
184
- 2. If binary format is unsupported, inform user and suggest converting to PDF/markdown
185
- 3. Never produce an analysis based on partial or failed reads
186
-
187
- ---
188
-
189
- ## Mode 3: Website Analysis (URL)
190
-
191
- ### Goal
192
-
193
- Analyze website **tech stack, UX/UI, SEO, accessibility, and performance** to:
194
- 1. Understand technical implementation
195
- 2. Identify improvement opportunities
196
- 3. Collect benchmarking insights
197
-
198
- ### Process
199
-
200
- #### 1. Fetch Website
201
-
202
- - Use `WebFetch` tool to retrieve HTML
203
- - Fetch key pages (home, main feature pages, login, etc.)
204
-
205
- #### 2. Analyze (Parallel Sub-Agents)
206
-
207
- ```text
208
- Agent(subagent_type="general-purpose", model="haiku",
209
- prompt="Analyze the HTML from [URL] (use WebFetch). Extract: 1) Tech stack (framework, meta tags, scripts) 2) Page structure (header, nav, main sections, footer) 3) SEO elements (title, meta description, OG tags, structured data)")
210
-
211
- Agent(subagent_type="general-purpose", model="haiku",
212
- prompt="Analyze the HTML from [URL] (use WebFetch). Extract: 1) Accessibility (ARIA labels, semantic HTML, alt texts, heading hierarchy) 2) Performance hints (script loading, image optimization) 3) Mobile responsiveness (viewport meta, media queries)")
213
-
214
- Agent(subagent_type="general-purpose", model="haiku",
215
- prompt="Analyze the HTML from [URL] (use WebFetch). Extract: 1) UX patterns (navigation, CTA placement, form design) 2) Design system hints (CSS variables, component patterns) 3) Content strategy (copywriting tone, information hierarchy)")
216
- ```
217
-
218
- #### 3. Figma URL Handling
219
-
220
- If a Figma URL is detected, switch to **Figma-specific analysis**:
221
- - Use `get_design_context` or `get_screenshot` to collect design data
222
- - Analyze component structure, design tokens, layout patterns
223
- - Compare design intent with current project code
224
-
225
- #### 4. Output
226
-
227
- > Read `references/output-templates.md` for the full Mode 3 output format.
228
-
229
- #### Fallback
230
-
231
- If `WebFetch` fails:
232
- 1. Retry once with a simplified URL (strip query params)
233
- 2. If still failing, inform user of the error (timeout, DNS, etc.)
234
- 3. Suggest user provide HTML file directly: `/vibe.analyze page.html`
235
-
236
- ---
237
-
238
- ## Mode 4: Project Quality Analysis (--code/--deps/--arch)
239
-
240
- ### Scope
241
-
242
- - **Default** (`/vibe.analyze`): Full analysis (code + dependencies + architecture)
243
- - `--code`: Code quality only
244
- - `--deps`: Dependency analysis only
245
- - `--arch`: Architecture analysis only
246
-
247
- ### Code Quality (--code)
248
-
249
- - Cyclomatic complexity analysis
250
- - Code quality validation
251
- - Coupling/cohesion assessment
252
-
253
- ### Dependencies (--deps)
254
-
255
- - Read `package.json` / `pyproject.toml` / `pubspec.yaml`
256
- - Detect version conflicts, security vulnerabilities, outdated packages
257
-
258
- ### Architecture (--arch)
259
-
260
- - Identify core modules
261
- - Map module dependencies
262
- - Detect circular dependencies and layer violations
263
-
264
- ### Report
265
-
266
- Save to `.vibe/reports/analysis-{date}.md`:
267
-
268
- > Read `references/output-templates.md` for the full Mode 4 report format.
70
+ 모드가 동시에 해당하면 사용자에게 어느 쪽인지 묻는다 — 임의로 고르지 않는다.
269
71
 
270
72
  ## Core Tools (Semantic Analysis)
271
73
 
@@ -294,3 +96,12 @@ Each mode has a weighted completeness checklist. Score = sum(checked items × we
294
96
  ---
295
97
 
296
98
  ARGUMENTS: $ARGUMENTS
99
+
100
+ ## Done Criteria
101
+
102
+ - [ ] The report records the target and selected mode.
103
+ - [ ] Every material finding has a file/line, URL, or source-location citation.
104
+ - [ ] The selected mode's minimum depth and quality score pass.
105
+ - [ ] The specified `.vibe/reports/` output exists.
106
+
107
+ ARGUMENTS: $ARGUMENTS
@@ -0,0 +1,81 @@
1
+ # Mode 1: Feature/Module Analysis
2
+
3
+ > vibe.analyze SKILL.md 의 모드 라우팅에서 **이 모드가 선택됐을 때만** 로드한다.
4
+
5
+ ## Mode 1: Feature/Module Analysis (`/vibe.analyze "feature-name"`)
6
+
7
+ ### Goal
8
+
9
+ Explore all source code related to the requested feature/module and analyze flow to:
10
+ 1. Understand current implementation status
11
+ 2. Map code structure and dependencies
12
+ 3. Build context for future development/modification requests
13
+
14
+ ### Process
15
+
16
+ #### 1. Request Analysis
17
+
18
+ Extract keywords from the user request:
19
+ - Feature name (e.g., login, feed, payment)
20
+ - Action (e.g., create, read, update, delete)
21
+ - Scope (e.g., backend only, frontend only, full)
22
+
23
+ #### 2. Understand Project Structure
24
+
25
+ Read `CLAUDE.md`, `package.json`, `pyproject.toml`, etc. to identify tech stack.
26
+
27
+ > Read `references/output-templates.md` for the full backend/frontend stack → directory mapping.
28
+
29
+ #### 3. Explore Related Code (Parallel Sub-Agents)
30
+
31
+ **MANDATORY: Delegate independent exploration through the harness's native collaboration capability. Never explore all branches in the coordinator session.**
32
+
33
+ > Why: 3 Explore agents return ~600 tokens of summaries to main session.
34
+ > Direct file-pattern search, text search, and full-file reading in the coordinator session would add 5-15K tokens of raw content.
35
+
36
+ **Harness adapter:** Claude Code maps each worker to Task/Agent; Codex maps each
37
+ worker to native collaboration. Inherit the session model by default. Dispatch
38
+ the following independent workers concurrently when capacity permits:
39
+
40
+ ```text
41
+ - Worker: find all [FEATURE] related API endpoints; list paths, methods, routes, and auth requirements.
42
+ - Worker: find all [FEATURE] related services, business logic, utilities, and dependencies.
43
+ - Worker: find all [FEATURE] related data models, schemas, queries, relationships, and key fields.
44
+ ```
45
+
46
+ > Read `references/output-templates.md` for the additional "Scale for large projects (6+ related files)" agent prompts.
47
+
48
+ **After all agents return:**
49
+ - Synthesize results → proceed to Flow Analysis
50
+ - Only Read specific files in main session when agent summaries need clarification
51
+
52
+ #### 4. Flow Analysis
53
+
54
+ **API Flow:**
55
+ - Endpoint URL and HTTP method
56
+ - Request/response schema
57
+ - Authentication/authorization requirements
58
+
59
+ **Business Logic:**
60
+ - Core methods and their roles
61
+ - Validation rules
62
+ - External service integrations
63
+
64
+ **Data Flow:**
65
+ - Related tables/models
66
+ - Relationships (1:N, N:M)
67
+ - Key query patterns
68
+
69
+ #### 5. Output
70
+
71
+ > Read `references/output-templates.md` for the full Mode 1 output format.
72
+
73
+ #### 6. Next Steps
74
+
75
+ After analysis, suggest mode-specific follow-up actions.
76
+
77
+ > Read `references/output-templates.md` for the full Next Steps decision tables (code/feature, document, website).
78
+
79
+ Wait for user's choice before proceeding.
80
+
81
+ ---
@@ -0,0 +1,50 @@
1
+ # Mode 2: Document Analysis (PDF, Markdown, Slides)
2
+
3
+ > vibe.analyze SKILL.md 의 모드 라우팅에서 **이 모드가 선택됐을 때만** 로드한다.
4
+
5
+ ## Mode 2: Document Analysis (PDF, Markdown, Slides)
6
+
7
+ ### Goal
8
+
9
+ Analyze document **structure, key content, quality, and applicability** to:
10
+ 1. Extract and organize information from the document
11
+ 2. Map relevance to the current project
12
+ 3. Suggest follow-up actions (development, improvement, application)
13
+
14
+ ### Process
15
+
16
+ #### 1. Read Document
17
+
18
+ - **PDF**: Use `Read` tool with `pages` parameter (split large documents into chunks of 20 pages)
19
+ - **Markdown/Text**: Use `Read` tool for the full file
20
+ - **Image-heavy documents**: Analyze visual elements (slides, diagrams) alongside text
21
+
22
+ #### 2. Classify Document Type
23
+
24
+ > Read `references/output-templates.md` for the full document-type → analysis-focus table.
25
+
26
+ #### 3. Analyze Content (Parallel Sub-Agents)
27
+
28
+ ```text
29
+ - Worker: read [PATH] in full (page ranges for PDFs) and extract section structure, key concepts, definitions, and claims.
30
+ - Worker: read [PATH] in full (page ranges for PDFs) and extract recommendations, data points, examples, and references.
31
+ ```
32
+
33
+ #### 4. Project Relevance Analysis
34
+
35
+ - Map how document content applies to the current project
36
+ - Check if patterns/tools/techniques mentioned are already implemented
37
+ - Gap analysis: document recommendations vs current project state
38
+
39
+ #### 5. Output
40
+
41
+ > Read `references/output-templates.md` for the full Mode 2 output format.
42
+
43
+ #### Fallback
44
+
45
+ If `Read` fails for a document format:
46
+ 1. Check file extension and try alternative parsing
47
+ 2. If binary format is unsupported, inform user and suggest converting to PDF/markdown
48
+ 3. Never produce an analysis based on partial or failed reads
49
+
50
+ ---
@@ -0,0 +1,47 @@
1
+ # Mode 3: Website Analysis (URL)
2
+
3
+ > vibe.analyze SKILL.md 의 모드 라우팅에서 **이 모드가 선택됐을 때만** 로드한다.
4
+
5
+ ## Mode 3: Website Analysis (URL)
6
+
7
+ ### Goal
8
+
9
+ Analyze website **tech stack, UX/UI, SEO, accessibility, and performance** to:
10
+ 1. Understand technical implementation
11
+ 2. Identify improvement opportunities
12
+ 3. Collect benchmarking insights
13
+
14
+ ### Process
15
+
16
+ #### 1. Fetch Website
17
+
18
+ - Use the harness's web-page retrieval capability to retrieve HTML
19
+ - Fetch key pages (home, main feature pages, login, etc.)
20
+
21
+ #### 2. Analyze (Parallel Sub-Agents)
22
+
23
+ ```text
24
+ - Worker: retrieve and analyze [URL] for tech stack, page structure, and SEO elements.
25
+ - Worker: retrieve and analyze [URL] for accessibility, performance hints, and responsiveness.
26
+ - Worker: retrieve and analyze [URL] for UX patterns, design-system signals, and content strategy.
27
+ ```
28
+
29
+ #### 3. Figma URL Handling
30
+
31
+ If a Figma URL is detected, switch to **Figma-specific analysis**:
32
+ - Use `get_design_context` or `get_screenshot` to collect design data
33
+ - Analyze component structure, design tokens, layout patterns
34
+ - Compare design intent with current project code
35
+
36
+ #### 4. Output
37
+
38
+ > Read `references/output-templates.md` for the full Mode 3 output format.
39
+
40
+ #### Fallback
41
+
42
+ If web-page retrieval fails:
43
+ 1. Retry once with a simplified URL (strip query params)
44
+ 2. If still failing, inform user of the error (timeout, DNS, etc.)
45
+ 3. Suggest user provide HTML file directly: `/vibe.analyze page.html`
46
+
47
+ ---
@@ -0,0 +1,35 @@
1
+ # Mode 4: Project Quality Analysis (--code/--deps/--arch)
2
+
3
+ > vibe.analyze SKILL.md 의 모드 라우팅에서 **이 모드가 선택됐을 때만** 로드한다.
4
+
5
+ ## Mode 4: Project Quality Analysis (--code/--deps/--arch)
6
+
7
+ ### Scope
8
+
9
+ - **Default** (`/vibe.analyze`): Full analysis (code + dependencies + architecture)
10
+ - `--code`: Code quality only
11
+ - `--deps`: Dependency analysis only
12
+ - `--arch`: Architecture analysis only
13
+
14
+ ### Code Quality (--code)
15
+
16
+ - Cyclomatic complexity analysis
17
+ - Code quality validation
18
+ - Coupling/cohesion assessment
19
+
20
+ ### Dependencies (--deps)
21
+
22
+ - Read `package.json` / `pyproject.toml` / `pubspec.yaml`
23
+ - Detect version conflicts, security vulnerabilities, outdated packages
24
+
25
+ ### Architecture (--arch)
26
+
27
+ - Identify core modules
28
+ - Map module dependencies
29
+ - Detect circular dependencies and layer violations
30
+
31
+ ### Report
32
+
33
+ Save to `.vibe/reports/analysis-{date}.md`:
34
+
35
+ > Read `references/output-templates.md` for the full Mode 4 report format.
@@ -15,10 +15,10 @@
15
15
  ## Mode 1: Scale for Large Projects (6+ related files) — Additional Agent Prompts
16
16
 
17
17
  ```text
18
- Agent(subagent_type="Explore", model="haiku",
18
+ Agent(subagent_type="Explore",
19
19
  prompt="Find all test files related to [FEATURE]. Identify tested vs untested paths.")
20
20
 
21
- Agent(subagent_type="Explore", model="haiku",
21
+ Agent(subagent_type="Explore",
22
22
  prompt="Analyze [FEATURE] configuration, environment variables, and external integrations.")
23
23
  ```
24
24
 
@@ -32,8 +32,8 @@ Auto-generate app icons and favicons based on SPEC brand information.
32
32
  - `android-chrome-512x512.png`
33
33
 
34
34
  ### Mobile (if applicable)
35
- - iOS: `AppIcon.appiconset/` with all sizes
36
- - Android: `mipmap-*/` adaptive icons
35
+
36
+ For native iOS or Android targets only, read `references/mobile-assets.md`. Web-only favicon/OG calls do not load it.
37
37
 
38
38
  ## SPEC Brand Section
39
39
 
@@ -0,0 +1,6 @@
1
+ # Native Mobile Brand Assets
2
+
3
+ Load only when the target includes a native iOS or Android app.
4
+
5
+ - iOS: `AppIcon.appiconset/` with all sizes
6
+ - Android: `mipmap-*/` adaptive icons