@su-record/vibe 3.2.6 → 3.2.7

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 (120) hide show
  1. package/README.en.md +1 -1
  2. package/README.md +1 -1
  3. package/dist/cli/postinstall/constants.d.ts.map +1 -1
  4. package/dist/cli/postinstall/constants.js +10 -9
  5. package/dist/cli/postinstall/constants.js.map +1 -1
  6. package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -3
  7. package/package.json +2 -2
  8. package/skills/vibe/SKILL.md +27 -86
  9. package/skills/vibe/references/routing-examples.md +85 -0
  10. package/skills/vibe.agents-md/SKILL.md +12 -10
  11. package/skills/vibe.analyze/SKILL.md +22 -211
  12. package/skills/vibe.analyze/references/mode1-feature.md +81 -0
  13. package/skills/vibe.analyze/references/mode2-document.md +50 -0
  14. package/skills/vibe.analyze/references/mode3-website.md +47 -0
  15. package/skills/vibe.analyze/references/mode4-quality.md +35 -0
  16. package/skills/vibe.brand-assets/SKILL.md +2 -2
  17. package/skills/vibe.brand-assets/references/mobile-assets.md +6 -0
  18. package/skills/vibe.capability-loop/SKILL.md +14 -80
  19. package/skills/vibe.capability-loop/references/escalate.md +86 -0
  20. package/skills/vibe.chub-usage/SKILL.md +3 -132
  21. package/skills/vibe.clone/SKILL.md +43 -358
  22. package/skills/vibe.clone/references/phase-commands.md +118 -0
  23. package/skills/vibe.clone/references/setup-and-layout.md +34 -0
  24. package/skills/vibe.clone/references/verification-loops.md +64 -0
  25. package/skills/vibe.commit-push-pr/SKILL.md +10 -4
  26. package/skills/vibe.context7-usage/SKILL.md +3 -99
  27. package/skills/vibe.continue/SKILL.md +17 -7
  28. package/skills/{vibe.handoff → vibe.continue}/agents/context-summarizer.md +1 -1
  29. package/skills/{vibe.handoff → vibe.continue}/agents/document-writer.md +1 -1
  30. package/skills/{vibe.handoff → vibe.continue}/agents/state-collector.md +1 -1
  31. package/skills/{vibe.handoff → vibe.continue}/agents/verifier.md +1 -1
  32. package/skills/{vibe.handoff/rubrics/completeness.md → vibe.continue/references/handoff-completeness.md} +1 -1
  33. package/skills/{vibe.handoff/templates → vibe.continue/references}/handoff.md +37 -2
  34. package/skills/vibe.contract/SKILL.md +4 -27
  35. package/skills/vibe.create-prd/SKILL.md +8 -1
  36. package/skills/vibe.design/SKILL.md +18 -5
  37. package/skills/vibe.design/references/design-context.md +184 -0
  38. package/skills/vibe.design-refine/SKILL.md +7 -0
  39. package/skills/vibe.design-review/SKILL.md +7 -0
  40. package/skills/vibe.design-teach/SKILL.md +2 -175
  41. package/skills/vibe.devlog/SKILL.md +14 -11
  42. package/skills/vibe.devlog/references/auto-push.md +10 -0
  43. package/skills/vibe.docs/SKILL.md +27 -198
  44. package/skills/vibe.docs/references/agent.md +55 -0
  45. package/skills/vibe.docs/references/arch.md +28 -0
  46. package/skills/vibe.docs/references/codemaps.md +17 -0
  47. package/skills/vibe.docs/references/diagram.md +24 -0
  48. package/skills/vibe.docs/references/guide.md +23 -0
  49. package/skills/vibe.docs/references/readme.md +45 -0
  50. package/skills/vibe.docs/references/release.md +31 -0
  51. package/skills/vibe.documentation-provider/SKILL.md +22 -0
  52. package/skills/vibe.documentation-provider/references/chub.md +141 -0
  53. package/skills/vibe.documentation-provider/references/context7.md +107 -0
  54. package/skills/vibe.educational-content/SKILL.md +7 -0
  55. package/skills/vibe.event/SKILL.md +47 -146
  56. package/skills/vibe.event/references/comms.md +173 -0
  57. package/skills/vibe.event/references/operations.md +208 -0
  58. package/skills/vibe.event/references/orchestration-legacy.md +97 -0
  59. package/skills/vibe.event/references/planning.md +145 -0
  60. package/skills/vibe.event-comms/SKILL.md +3 -165
  61. package/skills/vibe.event-ops/SKILL.md +3 -200
  62. package/skills/vibe.event-planning/SKILL.md +3 -137
  63. package/skills/vibe.figma/SKILL.md +26 -692
  64. package/skills/vibe.figma/references/branch1-read-convention.md +82 -0
  65. package/skills/vibe.figma/references/branch2-read-standalone.md +69 -0
  66. package/skills/vibe.figma/references/branch3-write.md +122 -0
  67. package/skills/vibe.figma/references/core-implementation.md +453 -0
  68. package/skills/vibe.git-worktree/SKILL.md +2 -6
  69. package/skills/vibe.git-worktree/references/troubleshooting.md +9 -0
  70. package/skills/vibe.handoff/SKILL.md +2 -103
  71. package/skills/vibe.harness/SKILL.md +17 -12
  72. package/skills/vibe.image/SKILL.md +8 -1
  73. package/skills/vibe.llm/SKILL.md +8 -1
  74. package/skills/vibe.loop/SKILL.md +9 -11
  75. package/skills/vibe.loop/references/install-adapters.md +10 -0
  76. package/skills/vibe.presentation/SKILL.md +7 -0
  77. package/skills/vibe.prioritization/SKILL.md +7 -0
  78. package/skills/vibe.priority-todos/SKILL.md +2 -57
  79. package/skills/vibe.react-best-practices/SKILL.md +1 -1
  80. package/skills/vibe.reason/SKILL.md +9 -2
  81. package/skills/vibe.regress/SKILL.md +6 -28
  82. package/skills/vibe.regress/templates/{test-jest.md → test-template.md} +1 -0
  83. package/skills/vibe.review/SKILL.md +35 -38
  84. package/skills/vibe.review/references/priority-todos.md +66 -0
  85. package/skills/vibe.review/references/ui-ux-review.md +39 -0
  86. package/skills/vibe.run/SKILL.md +57 -656
  87. package/skills/vibe.run/references/arch-guard.md +178 -0
  88. package/skills/vibe.run/references/e2e-and-autofix.md +40 -0
  89. package/skills/vibe.run/references/exec-plan.md +145 -0
  90. package/skills/vibe.run/references/guidelines-and-tools.md +84 -0
  91. package/skills/vibe.run/references/process-steps.md +179 -0
  92. package/skills/vibe.run/references/restraint.md +66 -0
  93. package/skills/vibe.scaffold/SKILL.md +9 -13
  94. package/skills/vibe.scaffold/references/clean-architecture.md +17 -0
  95. package/skills/vibe.spec/SKILL.md +12 -8
  96. package/skills/vibe.spec/references/legacy-artifacts.md +6 -0
  97. package/skills/vibe.test/SKILL.md +93 -70
  98. package/skills/vibe.test/references/report-template.md +101 -0
  99. package/skills/vibe.tool-fallback/SKILL.md +10 -32
  100. package/skills/vibe.tool-fallback/references/external-llm.md +10 -0
  101. package/skills/vibe.tool-fallback/references/file-lookup.md +9 -0
  102. package/skills/vibe.tool-fallback/references/web-search.md +11 -0
  103. package/skills/vibe.trace/SKILL.md +2 -264
  104. package/skills/vibe.ui-ux-pro-max/SKILL.md +1 -3
  105. package/skills/vibe.ui-ux-pro-max/references/charts-and-data.md +7 -0
  106. package/skills/vibe.user-personas/SKILL.md +8 -1
  107. package/skills/vibe.verify/SKILL.md +30 -4
  108. package/skills/vibe.verify/references/trace-mode.md +271 -0
  109. package/skills/vibe.regress/templates/test-vitest.md +0 -30
  110. /package/skills/{vibe.design-teach/rubrics → vibe.design/references}/brand-personality.md +0 -0
  111. /package/skills/{vibe.design-teach → vibe.design}/templates/design-context.json +0 -0
  112. /package/skills/{vibe.context7-usage/rubrics/when-to-use.md → vibe.documentation-provider/references/context7-when-to-use.md} +0 -0
  113. /package/skills/{vibe.event-ops/rubrics → vibe.event/references}/contingency.md +0 -0
  114. /package/skills/{vibe.event-ops/templates/d-day-checklist.md → vibe.event/references/d-day-checklist-template.md} +0 -0
  115. /package/skills/{vibe.event-comms/templates/email-invite.md → vibe.event/references/email-invite-template.md} +0 -0
  116. /package/skills/{vibe.event-planning/templates/event-plan.md → vibe.event/references/event-plan-template.md} +0 -0
  117. /package/skills/{vibe.event-comms/templates/sns-post.md → vibe.event/references/sns-post-template.md} +0 -0
  118. /package/skills/{vibe.event-planning/rubrics → vibe.event/references}/timeline.md +0 -0
  119. /package/skills/{vibe.priority-todos/templates/todo-board.md → vibe.review/references/todo-board-template.md} +0 -0
  120. /package/skills/{vibe.priority-todos/rubrics/prioritization.md → vibe.review/references/todo-prioritization.md} +0 -0
@@ -0,0 +1,86 @@
1
+ # Step 4.5 — ESCALATE (VERIFY 실패 시)
2
+
3
+ > vibe.capability-loop SKILL.md Step 4 의 VERIFY 가 **실패했을 때만** 로드한다.
4
+ > VERIFY 가 통과한 호출(정상 경로)은 이 파일을 읽지 않는다.
5
+
6
+ ### Step 4.5: ESCALATE — When VERIFY Fails
7
+
8
+ > **Problem**: The built capability didn't actually prevent the failure. This usually means the initial diagnosis was wrong (picked `Tool` when it needed `Guardrail`), or the failure has multiple missing capabilities.
9
+ >
10
+ > **Do NOT silently proceed** — a sub-standard capability log pollutes `.vibe/capabilities-log.md` and the failure will recur.
11
+
12
+ **Escalation loop:**
13
+
14
+ ```python
15
+ tried = [current_diagnosis.category] # e.g., ["Tool"]
16
+
17
+ while True:
18
+ # Re-diagnose excluding already-tried categories
19
+ next_diagnosis = diagnose(failure, exclude=tried)
20
+
21
+ if next_diagnosis is None:
22
+ # All 5 categories (Tool/Guardrail/Abstraction/Documentation/Feedback) exhausted
23
+ escalate_to_user(failure, tried)
24
+ break
25
+
26
+ if next_diagnosis.category in tried:
27
+ # Stuck: diagnose keeps returning the same category
28
+ escalate_to_user(failure, tried)
29
+ break
30
+
31
+ tried.append(next_diagnosis.category)
32
+ capability = build(next_diagnosis)
33
+
34
+ if verify(capability, failure):
35
+ persist(capability)
36
+ return # Success — go to Step 5
37
+
38
+ # Still failing — next iteration
39
+ ```
40
+
41
+ **User escalation prompt (interactive mode):**
42
+
43
+ ```
44
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
45
+ ⚠️ CAPABILITY LOOP STUCK
46
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
47
+
48
+ Failure: {original failure description}
49
+
50
+ Tried capabilities (all failed to prevent the failure):
51
+ ❌ Tool: {what was built, why it didn't work}
52
+ ❌ Guardrail: {what was built, why it didn't work}
53
+ ❌ Documentation: {what was built, why it didn't work}
54
+
55
+ Automated diagnosis has run out of angles. This failure may require
56
+ human judgment (process issue, cross-category solution, or external factor).
57
+
58
+ How would you like to proceed?
59
+ 1. Suggest a different angle (e.g., "this is a process issue", "needs Tool+Guardrail combination")
60
+ → Attempt custom approach per user instruction, then enter next verify
61
+ 2. "manual" — resolve this failure via manual intervention, end capability loop
62
+ (record "escalated to manual" in capabilities-log.md)
63
+ 3. "abort" — give up, record failure only
64
+ (record "diagnosis exhausted" in capabilities-log.md, do not halt the rest of the workflow)
65
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
66
+ ```
67
+
68
+ **ultrawork mode exception:**
69
+
70
+ ```python
71
+ if ultrawork_mode:
72
+ # Skip user prompt: try all 5 categories in sequence, record final state
73
+ all_tried_exhausted = exhaust_all_categories(failure, tried)
74
+ record_failure_to_log(
75
+ status="diagnosis_exhausted",
76
+ tried=all_tried_exhausted,
77
+ failure=failure
78
+ )
79
+ return # Proceed without blocking downstream workflow
80
+ ```
81
+
82
+ **Rollback of failed builds:**
83
+
84
+ - Each failed capability build should be rolled back before trying the next category (unless it's non-destructive documentation).
85
+ - For code additions (tool/guardrail/abstraction): `git checkout -- {files}` or delete created files.
86
+ - For docs-only additions: leave in place (low risk) but note in escalation prompt.
@@ -1,140 +1,11 @@
1
1
  ---
2
2
  name: vibe.chub-usage
3
+ description: Compatibility alias for chub-based current API documentation lookup. Use when callers invoke vibe.chub-usage directly.
3
4
  invocation: [auto]
4
5
  tier: optional
5
- description: "Context Hub (chub) — fetch vetted, up-to-date API documentation. Write accurate code based on the latest docs instead of training data when working with external APIs/SDKs."
6
6
  triggers: [chub, context hub, API docs, latest API, deprecated API, SDK documentation, api reference, 최신 문서]
7
7
  priority: 60
8
+ user-invocable: true
8
9
  ---
9
10
 
10
- # Context Hub (chub) Usage
11
-
12
- A skill for fetching vetted, up-to-date documentation before writing external API/SDK code.
13
- Solves the knowledge cutoff problem inherent in training data.
14
-
15
- ## Why?
16
-
17
- | Problem | Solution |
18
- |---------|----------|
19
- | Relying on training data → using deprecated APIs | chub get → code based on vetted latest docs |
20
- | Web search → noisy results | chub search → curated docs only |
21
- | Repeating the same mistakes every session | chub annotate → accumulated learnings |
22
-
23
- ## When to Use
24
-
25
- | Situation | Example |
26
- |-----------|---------|
27
- | Writing external API code | "Integrate Stripe payments" |
28
- | Checking latest SDK version | "Call the latest OpenAI model" |
29
- | Need official documentation | "Set up Supabase auth" |
30
- | Preventing deprecated patterns | "Firebase v10 migration" |
31
-
32
- ## Workflow
33
-
34
- ```
35
- Request to write external API/SDK code
36
-
37
- Step 0: Check if chub is installed (auto-install if not)
38
-
39
- Step 1: chub search "<library name>"
40
-
41
- Step 2: chub get <id> --lang ts
42
-
43
- Step 3: Write code based on the docs
44
-
45
- Step 4: chub annotate when a gotcha is discovered
46
- ```
47
-
48
- ## Step 0 — Auto-install
49
-
50
- **Always perform this step before running the skill.**
51
-
52
- ```bash
53
- # 1. Check if chub exists
54
- which chub || command -v chub
55
- ```
56
-
57
- If chub is not found, attempt automatic installation:
58
-
59
- ```bash
60
- npm install -g @aisuite/chub
61
- ```
62
-
63
- If installation fails, fall back to running via `npx @aisuite/chub`:
64
-
65
- ```bash
66
- # search example
67
- npx @aisuite/chub search "stripe"
68
- # get example
69
- npx @aisuite/chub get stripe/api --lang ts
70
- ```
71
-
72
- If `npx` also fails, fall back to context7 or Web Search (see Fallback Chain).
73
-
74
- ## Usage
75
-
76
- ### Step 1 — Search for docs
77
-
78
- ```bash
79
- chub search "stripe"
80
- chub search "openai"
81
- chub search "" # View full list
82
- ```
83
-
84
- ### Step 2 — Fetch latest docs
85
-
86
- ```bash
87
- chub get stripe/api --lang ts
88
- chub get openai/chat --lang py
89
- chub get supabase/auth --lang js
90
- ```
91
-
92
- ### Step 3 — Write code based on the docs
93
-
94
- Write accurate code based on the fetched documentation.
95
- **Never rely on training data. Docs first, code second.**
96
-
97
- ### Step 4 — Record learnings
98
-
99
- Gotchas, workarounds, and version issues discovered during work:
100
-
101
- ```bash
102
- chub annotate stripe/api "pg parameter is required for Korean payments"
103
- chub annotate openai/chat "tool_calls in streaming comes as delta"
104
- chub annotate firebase/auth "getAuth() import path changed in v10"
105
- ```
106
-
107
- Annotations are stored locally and automatically included the next time you run `chub get`.
108
-
109
- ## Implementation Pattern (Subagent)
110
-
111
- Run via subagent to prevent context bloat:
112
-
113
- ```
114
- Task tool call:
115
- - subagent_type: Explore
116
- - model: haiku
117
- - prompt: "Run `chub search <library>` then `chub get <id> --lang <lang>` to fetch latest API documentation for [topic]. Return only the relevant API usage examples, key changes from previous versions, and any annotations."
118
- ```
119
-
120
- The subagent handles the chub calls and returns only a summary — keeping the main context clean.
121
-
122
- ## Supported APIs (1,000+)
123
-
124
- OpenAI, Anthropic, Stripe, Firebase, Supabase, Vercel, AWS S3, Cloudflare Workers, Auth0, Clerk, and more.
125
-
126
- ```bash
127
- chub search # Run without arguments to view the full list
128
- ```
129
-
130
- ## Fallback Chain
131
-
132
- ```
133
- which chub fails
134
-
135
- npm install -g @aisuite/chub (auto attempt)
136
-
137
- On failure: npx @aisuite/chub <command> (temporary execution)
138
-
139
- If npx also fails: context7 or Web Search fallback
140
- ```
11
+ Load `vibe.documentation-provider` and force the chub provider while preserving all arguments.