vibesuite 1.0.0

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 (117) hide show
  1. package/.agent/skills/agent-recovery/SKILL.md +147 -0
  2. package/.agent/skills/code-review/SKILL.md +81 -0
  3. package/.agent/skills/component-analysis/SKILL.md +103 -0
  4. package/.agent/skills/git-worktree/SKILL.md +78 -0
  5. package/.agent/skills/github-ops/SKILL.md +220 -0
  6. package/.agent/skills/github-ops/scripts/publish_issues.ps1 +443 -0
  7. package/.agent/skills/github-ops/scripts/smart-ops.ps1 +128 -0
  8. package/.agent/skills/github-ops/scripts/smart-ops.sh +130 -0
  9. package/.agent/skills/google-trends/SKILL.md +157 -0
  10. package/.agent/skills/google-trends/scripts/node_modules/.modules.yaml +21 -0
  11. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/LICENSE +22 -0
  12. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/Readme.md +1157 -0
  13. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/esm.mjs +16 -0
  14. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/index.js +24 -0
  15. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/argument.js +149 -0
  16. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/command.js +2509 -0
  17. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/error.js +39 -0
  18. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/help.js +520 -0
  19. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/option.js +330 -0
  20. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/suggestSimilar.js +101 -0
  21. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/package-support.json +16 -0
  22. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/package.json +84 -0
  23. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/typings/esm.d.mts +3 -0
  24. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/commander@12.1.0/node_modules/commander/typings/index.d.ts +969 -0
  25. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/CHANGES.md +132 -0
  26. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/LICENSE +21 -0
  27. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/README.md +561 -0
  28. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/lib/google-trends-api.min.js +2 -0
  29. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/package.json +68 -0
  30. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/api.js +18 -0
  31. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/index.js +27 -0
  32. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/request.js +69 -0
  33. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/google-trends-api@4.9.2/node_modules/google-trends-api/src/utilities.js +395 -0
  34. package/.agent/skills/google-trends/scripts/node_modules/.pnpm/lock.yaml +31 -0
  35. package/.agent/skills/google-trends/scripts/node_modules/.pnpm-workspace-state-v1.json +25 -0
  36. package/.agent/skills/google-trends/scripts/package.json +17 -0
  37. package/.agent/skills/google-trends/scripts/pnpm-lock.yaml +31 -0
  38. package/.agent/skills/google-trends/scripts/search.js +168 -0
  39. package/.agent/skills/high-fidelity-extraction/SKILL.md +59 -0
  40. package/.agent/skills/prime-agent/SKILL.md +97 -0
  41. package/.agent/skills/security-audit/SKILL.md +81 -0
  42. package/.agent/skills/seo-ready/SKILL.md +133 -0
  43. package/.agent/skills/spawn-task/SKILL.md +130 -0
  44. package/.agent/skills/sync-docs/SKILL.md +88 -0
  45. package/.agent/skills/vercel-ai-sdk/SKILL.md +34083 -0
  46. package/.agent/skills/youtube-pipeline/SKILL.md +194 -0
  47. package/.agent/skills/youtube-pipeline/resources/youtube-phase1-strategy.md +224 -0
  48. package/.agent/skills/youtube-pipeline/resources/youtube-phase2-packaging.md +148 -0
  49. package/.agent/skills/youtube-pipeline/resources/youtube-phase3-scripting.md +197 -0
  50. package/.agent/skills/youtube-pipeline/resources/youtube-phase3.5-shorts.md +271 -0
  51. package/.agent/skills/youtube-pipeline/resources/youtube-phase4-production.md +193 -0
  52. package/.agent/skills/youtube-pipeline/resources/youtube-phase5-repurposing.md +159 -0
  53. package/.agent/skills/youtube-pipeline/resources/youtube-pipeline.md +161 -0
  54. package/.agent/skills/youtube-pipeline/scripts/parse_yt_studio.ps1 +150 -0
  55. package/.agent/workflows/LEGACY/ANTIGRAVITY_TOOLBOX.md +200 -0
  56. package/.agent/workflows/LEGACY/analyze_component.md +141 -0
  57. package/.agent/workflows/LEGACY/build_vibecode_project.md +154 -0
  58. package/.agent/workflows/LEGACY/deep_code_audit.md +79 -0
  59. package/.agent/workflows/LEGACY/gemini-orchestrate.md +63 -0
  60. package/.agent/workflows/LEGACY/git_worktree.md +71 -0
  61. package/.agent/workflows/LEGACY/init_smart_ops.md +101 -0
  62. package/.agent/workflows/LEGACY/multi_agent_strategy.md +62 -0
  63. package/.agent/workflows/LEGACY/orchestrate.md +321 -0
  64. package/.agent/workflows/LEGACY/seo_ready.md +249 -0
  65. package/.agent/workflows/LEGACY/vibe-orchestrator.md +305 -0
  66. package/.agent/workflows/LEGACY/youtube-phase1-strategy.md +224 -0
  67. package/.agent/workflows/LEGACY/youtube-phase2-packaging.md +148 -0
  68. package/.agent/workflows/LEGACY/youtube-phase3-scripting.md +197 -0
  69. package/.agent/workflows/LEGACY/youtube-phase3.5-shorts.md +271 -0
  70. package/.agent/workflows/LEGACY/youtube-phase4-production.md +193 -0
  71. package/.agent/workflows/LEGACY/youtube-phase5-repurposing.md +159 -0
  72. package/.agent/workflows/LEGACY/youtube-pipeline.md +161 -0
  73. package/.agent/workflows/README.md +349 -0
  74. package/.agent/workflows/Vercel Ai SDK.md +34083 -0
  75. package/.agent/workflows/agent_reset.md +138 -0
  76. package/.agent/workflows/build_vibecode_project_v2.md +158 -0
  77. package/.agent/workflows/escalate.md +112 -0
  78. package/.agent/workflows/init_vibecode_design.md +98 -0
  79. package/.agent/workflows/init_vibecode_genesis.md +137 -0
  80. package/.agent/workflows/migrate.md +135 -0
  81. package/.agent/workflows/prime_agent.md +211 -0
  82. package/.agent/workflows/reverse_genesis.md +132 -0
  83. package/.agent/workflows/review_code.md +133 -0
  84. package/.agent/workflows/spawn-jstar-code-review.md +121 -0
  85. package/.agent/workflows/spawn_task.md +187 -0
  86. package/.agent/workflows/sync_docs.md +90 -0
  87. package/Legacy (Manual Method)/0 VibeCode User Manual.md +173 -0
  88. package/Legacy (Manual Method)/1 Project Genesis Protocol The VibeCode Workflow.md +89 -0
  89. package/Legacy (Manual Method)/2/342/234/250 ULTIMATE ORCHESTRATION PROMPT/342/234/250.md" +114 -0
  90. package/Legacy (Manual Method)/3 Design System Genesis Protocol.md +75 -0
  91. package/Legacy (Manual Method)/3.1.1 my_design_system_rules.md +177 -0
  92. package/Legacy (Manual Method)/3.1.2 Material You M3 Genesis Protocol.md +73 -0
  93. package/Legacy (Manual Method)/4 The Ultimate GitHub Issue Meta-Prompt Template.md +54 -0
  94. package/Legacy (Manual Method)/5 The Escalation & Handoff Protocol.md +97 -0
  95. package/Legacy (Manual Method)/8 The Seamless Migration Meta-Prompt (Your Reusable Tool).md +38 -0
  96. package/Legacy (Manual Method)/9 The Reverse Genesis Protocol.md +75 -0
  97. package/README.md +209 -0
  98. package/VibeCode-Agents (e.g Kilo-code)/README.md +142 -0
  99. package/VibeCode-Agents (e.g Kilo-code)/vibe-analyzer.yaml +254 -0
  100. package/VibeCode-Agents (e.g Kilo-code)/vibe-architect.yaml +397 -0
  101. package/VibeCode-Agents (e.g Kilo-code)/vibe-auditor.yaml +325 -0
  102. package/VibeCode-Agents (e.g Kilo-code)/vibe-builder.yaml +472 -0
  103. package/VibeCode-Agents (e.g Kilo-code)/vibe-designer.yaml +305 -0
  104. package/VibeCode-Agents (e.g Kilo-code)/vibe-documentor.yaml +222 -0
  105. package/VibeCode-Agents (e.g Kilo-code)/vibe-escalator.yaml +255 -0
  106. package/VibeCode-Agents (e.g Kilo-code)/vibe-isolator.yaml +332 -0
  107. package/VibeCode-Agents (e.g Kilo-code)/vibe-onboarder.yaml +335 -0
  108. package/VibeCode-Agents (e.g Kilo-code)/vibe-orchestrator.yaml +365 -0
  109. package/VibeCode-Agents (e.g Kilo-code)/vibe-orchestrator_legacy.yaml +284 -0
  110. package/VibeCode-Agents (e.g Kilo-code)/vibe-orchestrator_v1.yaml +336 -0
  111. package/VibeCode-Agents (e.g Kilo-code)/vibe-primer.yaml +213 -0
  112. package/VibeCode-Agents (e.g Kilo-code)/vibe-reviewer.yaml +233 -0
  113. package/VibeCode-Agents (e.g Kilo-code)/vibe-spawner.yaml +259 -0
  114. package/bin/vibesuite.js +2 -0
  115. package/package.json +43 -0
  116. package/src/cli.js +159 -0
  117. package/src/utils.js +76 -0
@@ -0,0 +1,159 @@
1
+ ---
2
+ description: Phase 5 of YouTube Pipeline - Repurposing & Distribution. Cross-post content to all platforms with strategic scheduling.
3
+ ---
4
+
5
+ # YouTube Phase 5: Repurposing & Distribution
6
+
7
+ > **Your Role**: You are the Distribution Strategist. You ensure every piece of content reaches every platform, maximizing reach from a single filming session.
8
+
9
+ ## When to Run This
10
+
11
+ Run this **after Phase 4 (Production)** when the main video and shorts are ready for upload.
12
+
13
+ ---
14
+
15
+ ## The 2-Week Content Calendar
16
+
17
+ After filming one main video, you have **7 pieces of content** to distribute:
18
+
19
+ | Day | YouTube | TikTok | Instagram | LinkedIn |
20
+ |-----|---------|--------|-----------|----------|
21
+ | **Monday (Day 1)** | Main Video + Topic Short 1 | Topic Short 1 | Topic Short 1 (Reel) | Topic Short 1 + Text Post 1 |
22
+ | **Wednesday** | Topic Short 2 | Topic Short 2 | Topic Short 2 (Reel) | Topic Short 2 |
23
+ | **Friday** | Topic Short 3 | Topic Short 3 | Topic Short 3 (Reel) | Topic Short 3 + Text Post 2 |
24
+ | **Next Monday** | Extract Short 1 | Extract Short 1 | Extract Short 1 (Reel) | Extract Short 1 |
25
+ | **Next Wednesday** | Extract Short 2 | Extract Short 2 | Extract Short 2 (Reel) | Extract Short 2 + Text Post 3 |
26
+ | **Next Friday** | Extract Short 3 | Extract Short 3 | Extract Short 3 (Reel) | Extract Short 3 |
27
+
28
+ ---
29
+
30
+ ## Platform-Specific Notes
31
+
32
+ ### YouTube
33
+ - Main video: Full description, tags, end screen, cards
34
+ - Shorts: Post to YouTube Shorts naturally (under 60 seconds, vertical)
35
+
36
+ ### TikTok & Instagram Reels
37
+ - **Same content as YouTube Shorts** — just repost
38
+ - Remove any YouTube-specific CTAs (like "link in description")
39
+ - Use platform-native captions/hashtags
40
+
41
+ ### LinkedIn (Multi-Format)
42
+
43
+ LinkedIn gets the **most content variety**:
44
+
45
+ | Content Type | Quantity | Schedule |
46
+ |--------------|----------|----------|
47
+ | **Video Shorts** | All 6 | Same schedule as YouTube |
48
+ | **Text Posts** | 3 | Mon/Fri/Wed of Week 1 and Week 2 |
49
+ | **Stories** | As available | Behind-the-scenes, teasers |
50
+
51
+ #### LinkedIn Text Post Templates
52
+
53
+ **Post 1: The Hook/Pain (Monday with main video)**
54
+ ```
55
+ [Attention-grabbing first line about the problem]
56
+
57
+ Here's what most people get wrong about [topic]:
58
+ - [Mistake 1]
59
+ - [Mistake 2]
60
+ - [Mistake 3]
61
+
62
+ I just dropped a full breakdown on this.
63
+
64
+ [Link to main video]
65
+
66
+ #YourHashtags
67
+ ```
68
+
69
+ **Post 2: The Insight (Friday Week 1)**
70
+ ```
71
+ 💡 [Key insight from the video]
72
+
73
+ [2-3 sentences expanding on the insight]
74
+
75
+ This changed how I approach [topic].
76
+
77
+ Full breakdown here: [Link]
78
+ ```
79
+
80
+ **Post 3: The Result/CTA (Wednesday Week 2)**
81
+ ```
82
+ [Result or outcome statement]
83
+
84
+ If you're struggling with [pain point], this will help:
85
+ → [Key takeaway 1]
86
+ → [Key takeaway 2]
87
+ → [Key takeaway 3]
88
+
89
+ Link to watch: [Link]
90
+ ```
91
+
92
+ ---
93
+
94
+ ## Step 1: Prepare Assets
95
+
96
+ **Ask the user:**
97
+ 1. "Do you have all 6 Shorts exported in vertical (9:16) format?"
98
+ 2. "Is the main video fully uploaded and scheduled on YouTube?"
99
+ 3. "Do you have the LinkedIn text posts drafted?"
100
+
101
+ **Checklist:**
102
+ - [ ] Main video uploaded (YouTube)
103
+ - [ ] 3x Topic Shorts exported
104
+ - [ ] 3x Extract Shorts exported
105
+ - [ ] 3x LinkedIn text posts written
106
+
107
+ ---
108
+
109
+ ## Step 2: Schedule Cross-Platform Posts
110
+
111
+ **Recommended Tools:**
112
+ - **Later** or **Buffer** for TikTok/Instagram scheduling
113
+ - **LinkedIn native** for LinkedIn posts
114
+ - **YouTube Studio** for Shorts scheduling
115
+
116
+ **Or Manual:** Post at these times:
117
+ - YouTube/TikTok/IG: Post at your peak audience time (check analytics)
118
+ - LinkedIn: Best times are Tue-Thu, 8-10am or 12pm
119
+
120
+ ---
121
+
122
+ ## Step 3: Optional Bonus Content
123
+
124
+ If time allows, capture these during filming:
125
+
126
+ | Content | What It Is | Platform |
127
+ |---------|------------|----------|
128
+ | **Behind-the-scenes photo** | You filming, setup shot | LinkedIn, Instagram Stories |
129
+ | **B-Roll clips** | 15-second "day in the life" | Instagram Stories, TikTok |
130
+ | **Blooper reel** | Funny outtakes | TikTok, Instagram Reels |
131
+
132
+ ---
133
+
134
+ ## Step 4: Lock Phase 5 Output
135
+
136
+ ```
137
+ 📌 PHASE 5 OUTPUT: DISTRIBUTION COMPLETE
138
+
139
+ Main Video: [YouTube URL]
140
+ Shorts Posted:
141
+ - [ ] Topic Short 1: YT / TikTok / IG / LinkedIn
142
+ - [ ] Topic Short 2: YT / TikTok / IG / LinkedIn
143
+ - [ ] Topic Short 3: YT / TikTok / IG / LinkedIn
144
+ - [ ] Extract Short 1: YT / TikTok / IG / LinkedIn
145
+ - [ ] Extract Short 2: YT / TikTok / IG / LinkedIn
146
+ - [ ] Extract Short 3: YT / TikTok / IG / LinkedIn
147
+
148
+ LinkedIn Text Posts:
149
+ - [ ] Post 1 (Hook/Pain)
150
+ - [ ] Post 2 (Insight)
151
+ - [ ] Post 3 (Result/CTA)
152
+ ```
153
+
154
+ ---
155
+
156
+ ## Interaction Rules
157
+ - **If user only wants YouTube:** "You're leaving views on the table. At minimum, repost Shorts to TikTok—it's literally the same file."
158
+ - **If user doesn't use LinkedIn:** "Skip the text posts, but still post the Shorts there. LinkedIn video is underrated."
159
+ - **If user is overwhelmed:** "Focus on YouTube + TikTok first. Add Instagram/LinkedIn once those are habit."
@@ -0,0 +1,161 @@
1
+ ---
2
+ description: Master orchestrator for the complete YouTube video pipeline. Chains through all 6 phases from ideation to distribution.
3
+ ---
4
+
5
+ # YouTube Pipeline - Master Orchestrator
6
+
7
+ > **Your Role**: You are the brutal expert YouTube strategist guiding the user through the entire video creation process. You manage state, track progress, and ensure no step is skipped.
8
+
9
+ ## How This Works
10
+ This workflow chains through 6 phases:
11
+ 1. **Phase 1: Strategy Engine** - Find a mathematically proven topic (3-source validation)
12
+ 2. **Phase 2: Packaging Lab** - Engineer title & thumbnail
13
+ 3. **Phase 3: Scripting Forge** - Write a retention-optimized script
14
+ 4. **Phase 3.5: Shorts Bridge** - Create 6 Shorts (3 Topic + 3 Extract)
15
+ 5. **Phase 4: Production** - Film, edit, polish
16
+ 6. **Phase 5: Repurposing** - Distribute to all platforms
17
+
18
+ You can start from Phase 1, or resume from any phase if you've already completed earlier ones.
19
+
20
+ ---
21
+
22
+ ## Entry Point
23
+
24
+ Ask the user:
25
+ "Where are we starting?
26
+ 1. **Fresh start** - Phase 1 (I have nothing yet)
27
+ 2. **I have a topic** - Phase 2 (Skip to packaging)
28
+ 3. **I have title & thumbnail** - Phase 3 (Skip to scripting)
29
+ 4. **I have a script** - Phase 4 (Skip to production)
30
+ 5. **Resume** - Pick up where we left off"
31
+
32
+ ---
33
+
34
+ ## State Tracking
35
+ Maintain and display progress after each phase:
36
+
37
+ ```
38
+ 📊 PIPELINE STATUS
39
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
40
+ Phase 1: Strategy [✅ COMPLETE / 🔄 IN PROGRESS / ⬜ NOT STARTED]
41
+ Phase 2: Packaging [✅ COMPLETE / 🔄 IN PROGRESS / ⬜ NOT STARTED]
42
+ Phase 3: Scripting [✅ COMPLETE / 🔄 IN PROGRESS / ⬜ NOT STARTED]
43
+ Phase 3.5: Shorts [✅ COMPLETE / 🔄 IN PROGRESS / ⬜ NOT STARTED]
44
+ Phase 4: Production [✅ COMPLETE / 🔄 IN PROGRESS / ⬜ NOT STARTED]
45
+ Phase 5: Repurposing [✅ COMPLETE / 🔄 IN PROGRESS / ⬜ NOT STARTED]
46
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
47
+ ```
48
+
49
+ ---
50
+
51
+ ## Phase Handoffs
52
+
53
+ ### After Phase 1 → Phase 2
54
+ Confirm outputs before proceeding:
55
+ ```
56
+ 📌 PHASE 1 OUTPUT
57
+ - Topic: [locked]
58
+ - Format: [locked]
59
+ - Outlier Link: [locked]
60
+ - Market Gap: [locked]
61
+ ```
62
+ Then invoke: `/youtube-phase2-packaging`
63
+
64
+ ### After Phase 2 → Phase 3
65
+ Confirm outputs before proceeding:
66
+ ```
67
+ 📌 PHASE 2 OUTPUT
68
+ - Title: [locked]
69
+ - Thumbnail Concept: [locked]
70
+ - Thumbnail Image: [generated/prompt provided]
71
+ - Avatar: [locked]
72
+ - Stakes: [locked]
73
+ ```
74
+ Then invoke: `/youtube-phase3-scripting`
75
+
76
+ ### After Phase 3 → Phase 3.5
77
+ Confirm outputs before proceeding:
78
+ ```
79
+ 📌 PHASE 3 OUTPUT
80
+ - Full Script: [locked]
81
+ - Hook: [locked]
82
+ - Main Points: [locked]
83
+ - Outro CTA: [locked]
84
+ ```
85
+
86
+ Ask: "Do you want to extract Shorts from this video? (Phase 3.5)"
87
+ - If yes → invoke: `/youtube-phase3.5-shorts`
88
+ - If no → skip to Phase 4
89
+
90
+ ### After Phase 3.5 → Phase 4
91
+ Confirm outputs before proceeding:
92
+ ```
93
+ 📌 PHASE 3.5 OUTPUT (6 SHORTS)
94
+ - Topic Short 1 (Hot Take): Script
95
+ - Topic Short 2 (Quick Win): Script
96
+ - Topic Short 3 (Story Hook): Script
97
+ - Extract Short 1 (Result): Timestamp + Hook + CTA
98
+ - Extract Short 2 (Pain): Timestamp + Hook + CTA
99
+ - Extract Short 3 (Value): Timestamp + Hook + CTA
100
+ ```
101
+ Then invoke: `/youtube-phase4-production`
102
+
103
+ ### After Phase 4 → Phase 5
104
+ Confirm outputs before proceeding:
105
+ ```
106
+ 📌 PHASE 4 OUTPUT
107
+ - Main Video: [exported/uploaded]
108
+ - 6 Shorts: [exported]
109
+ - Thumbnail: [final]
110
+ ```
111
+ Then invoke: `/youtube-phase5-repurposing`
112
+
113
+ ### After Phase 5 → Complete
114
+ ```
115
+ 📌 PIPELINE COMPLETE
116
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
117
+ Main Video: [YouTube URL]
118
+ Shorts: 6 posted (YouTube + TikTok + IG + LinkedIn)
119
+ LinkedIn Posts: 3 published
120
+ Status: FULLY DISTRIBUTED
121
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
122
+ ```
123
+
124
+ ---
125
+
126
+ ## Phase Workflow References
127
+ Each phase has its own detailed workflow:
128
+ - Phase 1: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\.agent\workflows\youtube-phase1-strategy.md`
129
+ - Phase 2: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\.agent\workflows\youtube-phase2-packaging.md`
130
+ - Phase 3: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\.agent\workflows\youtube-phase3-scripting.md`
131
+ - Phase 3.5: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\.agent\workflows\youtube-phase3.5-shorts.md`
132
+ - Phase 4: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\.agent\workflows\youtube-phase4-production.md`
133
+ - Phase 5: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\.agent\workflows\youtube-phase5-repurposing.md`
134
+
135
+ Each workflow also reads from source knowledge:
136
+ - Source 1: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\📂 Processed_Notes\Workflow\Phase 1.md`
137
+ - Source 2: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\📂 Processed_Notes\Workflow\Phase 2.md`
138
+ - Source 3: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\📂 Processed_Notes\Workflow\Phase 3.md`
139
+ - Source 4: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\📂 Processed_Notes\Workflow\Phase 4.md`
140
+ - Research: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\📂 Processed_Notes\Workflow\Research.md`
141
+ - Repurposing: `c:\CreativeOS\Creator_Command_Hub_Obsidian\📁 YouTube Brain\📂 Processed_Notes\Workflow\Repurposing.md`
142
+
143
+ ---
144
+
145
+ ## Interaction Mode Selection
146
+ At start, ask:
147
+ "How do you want to work?
148
+ - **Guided** (default): I generate everything, you pick and refine
149
+ - **Manual**: You do the work, I critique ruthlessly"
150
+
151
+ User can switch modes at any step.
152
+
153
+ ---
154
+
155
+ ## Rules for the Brutal Expert
156
+ - Never yes-man. Weak ideas get called out.
157
+ - Demand proof for "viral" claims.
158
+ - Teach the "why" behind every step.
159
+ - Generate outputs for user to pick from.
160
+ - Never let user skip steps without justification.
161
+ - Track state across phases. Don't lose context.
@@ -0,0 +1,349 @@
1
+ ---
2
+ description: A Detailed Explanation of what the vibe code protocol is
3
+ ---
4
+
5
+ # VibeCode Workflow Guide
6
+
7
+ This document explains how all workflows in `.agent/workflows/` relate to each other, which ones are "parent" workflows, and the recommended order of operations.
8
+
9
+ ---
10
+
11
+ ## Workflow Hierarchy
12
+
13
+ ```
14
+ ┌──────────────────────────────────────────────────────────────────────────────┐
15
+ │ PROJECT LIFECYCLE │
16
+ ├──────────────────────────────────────────────────────────────────────────────┤
17
+ │ │
18
+ │ ┌─────────────────────────────────────────────────────────────────────────┐ │
19
+ │ │ 🧠 /VIBE-ORCHESTRATOR — THE BRAIN (Autonomous Mode) │ │
20
+ │ │ Understands all workflows. Spawns sub-agents. Builds full projects. │ │
21
+ │ └─────────────────────────────────────────────────────────────────────────┘ │
22
+ │ │ │
23
+ │ ┌───────────────┴───────────────┐ │
24
+ │ ▼ ▼ │
25
+ │ NEW PROJECT EXISTING PROJECT │
26
+ │ │ │ │
27
+ │ ▼ ▼ │
28
+ │ /init_vibecode_genesis ──────────► /reverse_genesis │
29
+ │ │ │ │
30
+ │ ▼ │ │
31
+ │ /init_vibecode_design │ │
32
+ │ │ │ │
33
+ │ ▼ │ │
34
+ │ /build_vibecode_project ◄─────────────────┘ │
35
+ │ │ │
36
+ │ ├───► /init_smart_ops (bootstraps smart_start/complete) │
37
+ │ │ │
38
+ │ ├───► /spawn-jstar-code-review (adds J-Star Reviewer) │
39
+ │ │ │
40
+ │ ▼ │
41
+ │ ┌────────────────────────────────────────────────────────────────────────┐ │
42
+ │ │ DAILY DEVELOPMENT LOOP │ │
43
+ │ │ ┌──────────────────────────────────────────────────────────────────┐ │ │
44
+ │ │ │ /prime_agent ──► /smart_start ──► WORK ──► /smart_complete │ │ │
45
+ │ │ └──────────────────────────────────────────────────────────────────┘ │ │
46
+ │ │ │ │ │
47
+ │ │ ▼ │ │
48
+ │ │ /spawn_task (for complex features) │ │
49
+ │ │ /analyze_component (for refactoring) │ │
50
+ │ │ /review_code (for quality gates) │ │
51
+ │ │ /sync_docs (keep docs updated) │ │
52
+ │ └────────────────────────────────────────────────────────────────────────┘ │
53
+ │ │
54
+ │ PARALLEL DEVELOPMENT QUALITY ASSURANCE │
55
+ │ │ │ │
56
+ │ ▼ ▼ │
57
+ │ /git_worktree ◄──────────────► /deep_code_audit │
58
+ │ │ │ │
59
+ │ ▼ ▼ │
60
+ │ /vibe-orchestrator ◄─────────► /review_code │
61
+ │ │
62
+ │ WHEN STUCK WHEN CHAT GETS STALE │
63
+ │ │ │ │
64
+ │ ▼ ▼ │
65
+ │ /escalate /migrate │
66
+ │ │
67
+ └──────────────────────────────────────────────────────────────────────────────┘
68
+ ```
69
+
70
+ ---
71
+
72
+ ## Workflow Categories
73
+
74
+ ### 🏗️ Project Initialization (Run Once)
75
+
76
+ | Workflow | Purpose | When to Use | Generates |
77
+ |----------|---------|-------------|-----------|
78
+ | `/init_vibecode_genesis` | The Architect — Plans a new project | Starting a brand new project | `docs/Project_Requirements.md`, `docs/Coding_Guidelines.md`, `docs/Builder_Prompt.md`, GitHub Issues |
79
+ | `/init_vibecode_design` | The Designer — Creates visual system | After Genesis, before Build | `docs/design/design-system.html`, `docs/mockups/*.html` |
80
+ | `/build_vibecode_project` | The Builder — Scaffolds and builds | After Genesis (and optionally Design) | Project structure, MUS features, `docs/Builder_Handoff_Report.md` |
81
+ | `/build_vibecode_project_v2` | The Builder v2 — pnpm + PowerShell safe | Same as above, Windows-optimized | Same as above |
82
+ | `/init_smart_ops` | Bootstraps GitHub integration | After Build, when project has `src/` | `src/scripts/smart-ops.ts`, `smart_start.md`, `smart_complete.md` |
83
+ | `/reverse_genesis` | Onboards to existing codebase | Joining an existing project | `docs/autopsy_report.md` |
84
+ | `/spawn-jstar-code-review` | Adds J-Star Reviewer to project | Any project needing code review | `.jstar/` directory, `.env.example` |
85
+
86
+ ### 🔄 Daily Development (Run Often)
87
+
88
+ | Workflow | Purpose | When to Use |
89
+ |----------|---------|-------------|
90
+ | `/prime_agent` | Load project context | Start of session, before complex work |
91
+ | `/smart_start` | Start work on a feature/bug | Beginning any task |
92
+ | `/smart_complete` | Mark work as done | Finishing any task |
93
+ | `/spawn_task` | Create detailed task prompt | Complex features needing breakdown |
94
+ | `/analyze_component` | Audit component quality | Refactoring, code review |
95
+ | `/sync_docs` | Update feature documentation | After completing code changes |
96
+
97
+ ### 🔍 Code Quality & Review
98
+
99
+ | Workflow | Purpose | When to Use |
100
+ |----------|---------|-------------|
101
+ | `/review_code` | Run J-Star review loop | Before commits, quality gates |
102
+ | `/deep_code_audit` | Manual security & logic audit | Major releases, security review |
103
+ | `/Vercel Ai SDK` | Learn AI SDK patterns | Building AI-powered features |
104
+
105
+ ### 🔀 Parallel Development (Multi-Agent)
106
+
107
+ | Workflow | Purpose | When to Use |
108
+ |----------|---------|-------------|
109
+ | `/git_worktree` | Manage isolated dev environments | Multiple agents on same repo |
110
+ | `/vibe-orchestrator` | **The Brain** — Autonomous full project builds | Kilo Code, automated pipelines |
111
+ | `/multi_agent_strategy` | Architecture docs for multi-agent | Planning parallel execution |
112
+
113
+ ### 🆘 Recovery & Migration
114
+
115
+ | Workflow | Purpose | When to Use |
116
+ |----------|---------|-------------|
117
+ | `/escalate` | Generate handoff report | Agent is stuck, need fresh perspective |
118
+ | `/migrate` | Transfer context to new chat | Chat is stale, losing context |
119
+
120
+ ---
121
+
122
+ ## Recommended Flows
123
+
124
+ ### Flow 1: New Project (Full VibeCode)
125
+
126
+ ```
127
+ 1. /init_vibecode_genesis → Get PRD, Guidelines, Issues
128
+ 2. /init_vibecode_design → Get design system, mockups (UI projects)
129
+ 3. /build_vibecode_project → Scaffold and build MUS
130
+ 4. /spawn-jstar-code-review → Add code review tooling
131
+ 5. /init_smart_ops → Set up GitHub automation
132
+ 6. /prime_agent → Start daily work loop
133
+ ```
134
+
135
+ ### Flow 2: Joining Existing Project
136
+
137
+ ```
138
+ 1. /reverse_genesis → Generate autopsy report
139
+ 2. /prime_agent → Load coding/styling context
140
+ 3. /smart_start → Pick up first task
141
+ ```
142
+
143
+ ### Flow 3: Daily Work Session
144
+
145
+ ```
146
+ 1. /prime_agent → (Optional) Refresh context
147
+ 2. /smart_start → Declare what you're working on
148
+ 3. ... do the work ...
149
+ 4. /review_code → Check code quality before commit
150
+ 5. /smart_complete → Close out the task
151
+ ```
152
+
153
+ ### Flow 4: Complex Feature Implementation
154
+
155
+ ```
156
+ 1. /spawn_task → Generate detailed task prompt
157
+ 2. /smart_start → Link to GitHub issue
158
+ 3. ... implement phases ...
159
+ 4. /analyze_component → Audit any large components
160
+ 5. /review_code → Quality gate before merge
161
+ 6. /sync_docs → Update feature documentation
162
+ 7. /smart_complete → Mark as done
163
+ ```
164
+
165
+ ### Flow 5: Agent Recovery
166
+
167
+ ```
168
+ # If agent is stuck:
169
+ /escalate → Generate damage report for fresh agent
170
+
171
+ # If chat is stale:
172
+ /migrate → Generate state snapshot for new session
173
+ ```
174
+
175
+ ### Flow 6: Code Review Loop (Quality Gate)
176
+
177
+ ```
178
+ 1. git add . → Stage changes
179
+ 2. /review_code → Run J-Star review
180
+ 3. Fix P0/P1 issues → Address critical findings
181
+ 4. Repeat until clean → Max 3 loops
182
+ 5. Commit → Code is ready
183
+ ```
184
+
185
+ ### Flow 7: Deep Security Audit
186
+
187
+ ```
188
+ 1. /deep_code_audit → Full manual audit
189
+ 2. Define scope (FULL/FEATURE/DIFF)
190
+ 3. Phase 1: Static analysis (Detective)
191
+ 4. Phase 2: Data flow tracing (Graph)
192
+ 5. Phase 3: Spec vs Code (Auditor)
193
+ 6. Phase 4: Logic probing (Judge)
194
+ 7. Phase 5: Quality checks (Architect)
195
+ 8. Generate report → .jstar/audit_report.md
196
+ 9. Fix CRITICAL/HIGH issues
197
+ ```
198
+
199
+ ### Flow 8: Parallel Development (Multi-Agent)
200
+
201
+ ```
202
+ 1. /git_worktree → Choose [NEW] to create agent environment
203
+ 2. Name the agent → e.g., "feat-auth", "agent-2"
204
+ 3. Copy .env + DB → Migrate context to worktree
205
+ 4. pnpm install → Bootstrap dependencies
206
+ 5. Work in isolation → Each agent has own directory
207
+ 6. /review_code → Quality check in worktree
208
+ 7. Merge to main → Via PR or direct merge
209
+ 8. /git_worktree → Choose [KILL] to teardown
210
+ ```
211
+
212
+ ### Flow 9: Documentation Sync
213
+
214
+ ```
215
+ 1. Complete code changes → Feature/fix is done
216
+ 2. /sync_docs → Identify impacted docs
217
+ 3. UPDATE or CREATE → Modify existing or add new doc
218
+ 4. Follow template → Consistent structure
219
+ 5. Verify file paths → Ensure links work
220
+ ```
221
+
222
+ ---
223
+
224
+ ## Parent-Child Relationships
225
+
226
+ ### `/init_vibecode_genesis` is Parent of:
227
+ - `/init_vibecode_design` (uses the PRD)
228
+ - `/build_vibecode_project` (uses PRD, Guidelines, Builder Prompt)
229
+
230
+ ### `/build_vibecode_project` is Parent of:
231
+ - `/init_smart_ops` (needs `src/` to exist)
232
+ - `/spawn-jstar-code-review` (needs project structure)
233
+
234
+ ### `/init_smart_ops` Generates:
235
+ - `/smart_start` (the actual workflow used daily)
236
+ - `/smart_complete` (the actual workflow used daily)
237
+
238
+ ### `/spawn-jstar-code-review` Enables:
239
+ - `/review_code` (requires J-Star to be set up)
240
+
241
+ ### `/git_worktree` Enables:
242
+ - `/multi_agent_strategy` (parallel execution depends on isolation)
243
+
244
+ ### Standalone (No Parent):
245
+ - `/prime_agent` — Can run anytime
246
+ - `/analyze_component` — Can run anytime
247
+ - `/spawn_task` — Can run anytime
248
+ - `/deep_code_audit` — Can run anytime
249
+ - `/sync_docs` — Can run anytime
250
+ - `/escalate` — Run when stuck
251
+ - `/migrate` — Run when chat stale
252
+ - `/reverse_genesis` — Alternative to Genesis for existing projects
253
+ - `/Vercel Ai SDK` — Reference documentation
254
+
255
+ ---
256
+
257
+ ## Stack-Specific Notes
258
+
259
+ ### Universal Shell Script (All Stacks)
260
+ The Smart Ops system now uses a **universal shell script** (`scripts/smart-ops.sh`) that works with ANY project stack:
261
+
262
+ | Stack | Works? | Notes |
263
+ |-------|--------|-------|
264
+ | Node.js/TypeScript | ✅ | Shell script runs in any terminal |
265
+ | Python | ✅ | Shell script works |
266
+ | Rust | ✅ | Shell script works |
267
+ | Go | ✅ | Shell script works |
268
+ | Any Unix/Linux/macOS | ✅ | Native bash |
269
+ | Windows | ✅ | Git Bash, WSL, or PowerShell with bash |
270
+
271
+ ### J-Star Code Reviewer (All Languages)
272
+ The J-Star Reviewer works with **any programming language**:
273
+
274
+ | Language | Works? | Notes |
275
+ |----------|--------|-------|
276
+ | TypeScript/JavaScript | ✅ | Full support |
277
+ | Python | ✅ | Full support |
278
+ | Rust | ✅ | Full support |
279
+ | Go | ✅ | Full support |
280
+ | Any other | ✅ | Uses Gemini for analysis |
281
+
282
+ ---
283
+
284
+ ## Timeline Tracking (GitHub Projects)
285
+
286
+ The Smart Ops system supports **timeline tracking** for GitHub Projects:
287
+
288
+ ### Features:
289
+ - **Start Date** — Automatically set when moving to "In Progress"
290
+ - **Target Date** — Set when creating issues (based on estimate)
291
+ - **Duration Tracking** — Calculate actual vs estimated time on completion
292
+ - **Timeline View** — View in GitHub Projects Roadmap/Timeline
293
+
294
+ ### Setup:
295
+ 1. In your GitHub Project, create these fields:
296
+ - "Start Date" (Date type)
297
+ - "Target Date" (Date type)
298
+ 2. Run `/init_smart_ops` to detect field IDs
299
+ 3. The script will auto-populate dates
300
+
301
+ ### Workflow:
302
+ ```
303
+ /smart_start → "How long will this take?" → Sets target date
304
+ ... work ...
305
+ /smart_complete → Calculates actual duration → Reports variance
306
+ ```
307
+
308
+ ### Commands:
309
+ ```bash
310
+ # Create issue with 7-day estimate
311
+ ./scripts/smart-ops.sh create "Fix login" "Description" "bug" 7
312
+
313
+ # Set target date manually
314
+ ./scripts/smart-ops.sh target <item_id> 14 # 14 days from now
315
+ ./scripts/smart-ops.sh target <item_id> 2024-12-25 # Specific date
316
+
317
+ # Set start date
318
+ ./scripts/smart-ops.sh started <item_id> # Today
319
+ ./scripts/smart-ops.sh started <item_id> 2024-12-10 # Specific date
320
+ ```
321
+
322
+ ---
323
+
324
+ ## Quick Reference
325
+
326
+ | I want to... | Use this workflow |
327
+ |--------------|-------------------|
328
+ | Start a new project | `/init_vibecode_genesis` |
329
+ | Design the UI | `/init_vibecode_design` |
330
+ | Build the foundation | `/build_vibecode_project` |
331
+ | Add code review tooling | `/spawn-jstar-code-review` |
332
+ | Set up GitHub automation | `/init_smart_ops` |
333
+ | Join an existing project | `/reverse_genesis` |
334
+ | Brief the agent on rules | `/prime_agent` |
335
+ | Start a work session | `/smart_start` |
336
+ | End a work session | `/smart_complete` |
337
+ | Break down a complex feature | `/spawn_task` |
338
+ | Audit a component | `/analyze_component` |
339
+ | Run code review | `/review_code` |
340
+ | Deep security audit | `/deep_code_audit` |
341
+ | Update documentation | `/sync_docs` |
342
+ | Set up parallel agents | `/git_worktree` |
343
+ | **Build full project autonomously** | `/vibe-orchestrator` |
344
+ | Plan multi-agent architecture | `/multi_agent_strategy` |
345
+ | Hand off to fresh agent | `/escalate` |
346
+ | Move to new chat | `/migrate` |
347
+ | Learn AI SDK patterns | `/Vercel Ai SDK` |
348
+ | Set issue target date | `./scripts/smart-ops.sh target` |
349
+ | Track work duration | `/smart_complete` (auto) |