create-vasvibe 0.2.2 → 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 (66) hide show
  1. package/package.json +1 -1
  2. package/src/index.mjs +9 -3
  3. package/src/scaffold.mjs +1 -1
  4. package/template/.agents/agents/analyst/agent.json +2 -3
  5. package/template/.agents/agents/developer/agent.json +2 -2
  6. package/template/.agents/agents/devops/agent.json +44 -0
  7. package/template/.agents/agents/document/agent.json +2 -3
  8. package/template/.agents/agents/fixer/agent.json +2 -2
  9. package/template/.agents/agents/initiator/agent.json +2 -5
  10. package/template/.agents/agents/orchestrator/agent.json +44 -0
  11. package/template/.agents/agents/pm/agent.json +2 -4
  12. package/template/.agents/agents/qa/agent.json +44 -0
  13. package/template/.agents/agents/sysarch/agent.json +2 -2
  14. package/template/.agents/agents/tester/agent.json +2 -2
  15. package/template/.agents/skills/developer/SKILL.md +6 -6
  16. package/template/.agents/skills/pm/SKILL.md +15 -17
  17. package/template/.claude/agents/analyst.md +5 -6
  18. package/template/.claude/agents/developer.md +12 -83
  19. package/template/.claude/agents/devops.md +29 -0
  20. package/template/.claude/agents/document.md +35 -14
  21. package/template/.claude/agents/fixer.md +8 -6
  22. package/template/.claude/agents/initiator.md +2 -3
  23. package/template/.claude/agents/orchestrator.md +41 -0
  24. package/template/.claude/agents/pm.md +4 -196
  25. package/template/.claude/agents/qa.md +53 -0
  26. package/template/.claude/agents/sysarch.md +15 -17
  27. package/template/.claude/agents/tester.md +8 -6
  28. package/template/.github/prompts/developer.prompt.md +4 -4
  29. package/template/.github/prompts/fixer.prompt.md +28 -3
  30. package/template/.github/prompts/pm.prompt.md +2 -2
  31. package/template/.github/prompts/tester.prompt.md +27 -2
  32. package/template/.opencode/commands/analyst.md +5 -6
  33. package/template/.opencode/commands/developer.md +11 -112
  34. package/template/.opencode/commands/devops.md +29 -0
  35. package/template/.opencode/commands/document.md +35 -14
  36. package/template/.opencode/commands/fixer.md +8 -6
  37. package/template/.opencode/commands/initiator.md +2 -3
  38. package/template/.opencode/commands/orchestrator.md +41 -0
  39. package/template/.opencode/commands/pm.md +4 -173
  40. package/template/.opencode/commands/qa.md +53 -0
  41. package/template/.opencode/commands/sysarch.md +15 -17
  42. package/template/.opencode/commands/tester.md +8 -3
  43. package/template/AGENT_PERSONAS.md +389 -0
  44. package/template/GIT_STRUCTURE_GUIDE.md +1 -1
  45. package/template/README.md +60 -433
  46. package/template/agent/workflows/_shared/git-branch-management.md +25 -0
  47. package/template/agent/workflows/_shared/state-management.md +5 -0
  48. package/template/agent/workflows/analyst.md +6 -4
  49. package/template/agent/workflows/developer.md +11 -5
  50. package/template/agent/workflows/devops.md +29 -0
  51. package/template/agent/workflows/document.md +35 -11
  52. package/template/agent/workflows/fixer.md +9 -4
  53. package/template/agent/workflows/initiator.md +3 -1
  54. package/template/agent/workflows/orchestrator.md +41 -0
  55. package/template/agent/workflows/pm.md +5 -3
  56. package/template/agent/workflows/qa.md +53 -0
  57. package/template/agent/workflows/{sysacrh.md → sysarch.md} +4 -2
  58. package/template/agent/workflows/tester.md +8 -3
  59. package/template/opencode.json +312 -0
  60. package/template/project_overview_example.md +1 -1
  61. package/template/schemas/dev_log.template.md +26 -0
  62. package/template/schemas/product-ci.template.yml +50 -0
  63. package/template/schemas/specification.template.md +27 -0
  64. package/template/schemas/style_guide.template.md +29 -0
  65. package/template/schemas/task_list.template.md +33 -0
  66. package/template/state/knowledge_base/.gitkeep +1 -0
@@ -0,0 +1,389 @@
1
+ ## 🤖 AI Agent Personas & Capabilities
2
+
3
+ Setiap Agent memiliki **system instruction** yang tersimpan di `.github/prompts/` dan dapat dipanggil via slash command.
4
+
5
+ **Total: 8 Specialized Agents**
6
+
7
+ ### 1. **Initiator Agent** (`/initiator`)
8
+ **Role:** Project Initiator & Product Manager
9
+
10
+ **Capabilities:**
11
+ - ✅ Mengubah ide kasar menjadi `project_overview.md` yang terstruktur
12
+ - ✅ Menentukan tech stack berdasarkan kebutuhan
13
+ - ✅ Mendefinisikan UI/UX guidelines (color palette, typography, component library)
14
+ - ✅ Membuat development roadmap & timeline
15
+
16
+ **Input Example:**
17
+ ```
18
+ /initiator
19
+
20
+ "Aplikasi manajemen booking kapal wisata Labuan Bajo,
21
+ pakai Next.js, harus ada payment gateway dan backoffice
22
+ untuk admin."
23
+ ```
24
+
25
+ **Output:**
26
+ - `project_overview.md` (complete dengan target audience, tech stack, roadmap)
27
+
28
+ **👤 Human Task:**
29
+ - Review `project_overview.md`
30
+ - Approve atau minta revisi (tech stack, UI guidelines, timeline)
31
+
32
+ ---
33
+
34
+ ### 2. **PM Agent** (`/pm`) ⭐ NEW
35
+ **Role:** Project Manager & Task Coordinator
36
+
37
+ **Capabilities:**
38
+ - ✅ Membuat dan mengelola task list di `task/task_list.md`
39
+ - ✅ Memecah specifications menjadi actionable tasks dengan priority (P0-P3)
40
+ - ✅ Tracking status setiap task (not_started → dev → testing → passed)
41
+ - ✅ Mengelola dependencies antar task
42
+ - ✅ Generate project status reports
43
+ - ✅ Monitoring progress dari development logs
44
+ - ✅ Mengidentifikasi blockers dan bottlenecks
45
+
46
+ **When to Use:**
47
+ - Setelah Analyst membuat specifications (untuk create task list)
48
+ - Saat ingin cek project progress
49
+ - Saat perlu update task status setelah development/testing
50
+ - Saat planning sprint atau prioritization
51
+
52
+ **Input Example:**
53
+ ```
54
+ /pm
55
+
56
+ "Buat task list berdasarkan semua specifications yang sudah ada"
57
+ ```
58
+
59
+ **Output:**
60
+ - `task/task_list.md` dengan struktur:
61
+ - Priority sections (P0: Critical → P3: Low)
62
+ - Task format: TASK-XXX dengan spec reference, status, dependencies
63
+ - Summary: Total tasks, completed, in progress, blocked
64
+ - `task/PROJECT_STATUS_REPORT.md` (jika diminta generate report)
65
+
66
+ **Task Status Flow:**
67
+ ```
68
+ not_started → dev (Developer working) → ready_to_test (Dev complete)
69
+ → testing_ready (Test scenarios created) → testing (Tester running)
70
+ → passed/failed → human_validated
71
+ ```
72
+
73
+ **Priority Levels:**
74
+ - **P0 (Critical):** Blockers, production bugs, foundational features
75
+ - **P1 (High):** Core features, important bugs
76
+ - - **P2 (Medium):** Enhancement, minor features
77
+ - **P3 (Low):** Nice-to-have, future improvements
78
+
79
+ **👤 Human Task:**
80
+ - Review task priorities (sesuai bisnis priority?)
81
+ - Validate task breakdown (granularity OK?)
82
+ - Approve task assignments
83
+ - Manual validation setelah task passed (human_validated status)
84
+
85
+ **Workflow Integration:**
86
+ ```
87
+ [Analyst] Create specs → [PM] Generate task list
88
+
89
+ [Developer] Pick task → Update status: dev → ready_to_test
90
+
91
+ [Tester] Create tests → Update status: testing_ready → testing → passed
92
+
93
+ [PM] Monitor progress → Generate status reports
94
+ ```
95
+
96
+ ---
97
+
98
+ ### 3. **Analyst Agent** (`/analyst`)
99
+ **Role:** Lead System Analyst & DevOps Architect
100
+
101
+ **Capabilities:**
102
+ - ✅ Membaca `project_overview.md` untuk context
103
+ - ✅ Membuat spesifikasi infrastruktur (Docker, database schema)
104
+ - ✅ Membuat spesifikasi fitur (user stories, API contracts, UI mockups)
105
+ - ✅ Memecah fitur besar menjadi atomic specifications (1 file = 1 user story)
106
+ - ✅ Validasi tech stack sudah terisi sebelum lanjut
107
+
108
+ **Critical Rule:**
109
+ - **WAJIB** membuat `000_spec_environment_setup.md` terlebih dahulu sebelum spec fitur
110
+
111
+ **Input Example:**
112
+ ```
113
+ /analyst
114
+
115
+ "Buat spesifikasi untuk fitur Booking Management"
116
+ ```
117
+
118
+ **Output:**
119
+ - `specifications/004_spec_booking_management.md`
120
+ - Atau breakdown menjadi multiple atomic specs jika fitur terlalu besar
121
+
122
+ **👤 Human Task:**
123
+ - Review spesifikasi (apakah sesuai kebutuhan bisnis?)
124
+ - Check API contracts & database schema
125
+ - Approve sebelum Developer mulai coding
126
+
127
+ **Workflow Integration:**
128
+ ```
129
+ [Analyst] Create specification
130
+
131
+ [PM] Create task from spec → Add to task/task_list.md
132
+
133
+ [Developer] Pick task and implement
134
+ ```
135
+
136
+ ---
137
+
138
+ ### 4. **Developer Agent** (`/developer`)
139
+ **Role:** Senior Full-Stack Developer
140
+
141
+ **Capabilities:**
142
+ - ✅ Membaca spesifikasi dari Analyst
143
+ - ✅ Menulis kode (frontend, backend, database migration)
144
+ - ✅ Mengikuti coding standards & best practices
145
+ - ✅ Membuat development log otomatis (`logs/development/dev_*.md`)
146
+ - ✅ Menjalankan build & check errors
147
+ - ✅ Fixing bugs berdasarkan error feedback
148
+ - ✅ **Update task status** di `task/task_list.md` (not_started → dev → ready_to_test)
149
+
150
+ **Input Example:**
151
+ ```
152
+ /developer
153
+
154
+ "Implementasikan SPEC-004 (Pricing Configuration Module)"
155
+ ```
156
+
157
+ **Output:**
158
+ - Kode di `codes/` (API routes, components, database schema)
159
+ - `logs/development/dev_004_pricing_module.md` (log perubahan)
160
+
161
+ **👤 Human Task:**
162
+ - Code review (check logic, security, performance)
163
+ - Manual testing di browser/Postman
164
+ - Approve atau minta fixing
165
+
166
+ **Task Management Workflow:**
167
+ ```
168
+ [Developer] Read task/task_list.md → Find task with status "not_started"
169
+
170
+ [Developer] Update status: not_started → dev (set "Assigned To: Developer Agent")
171
+
172
+ [Developer] Implement feature → Create development log
173
+
174
+ [Developer] Update status: dev → ready_to_test (with timestamp)
175
+ ```
176
+
177
+ ---
178
+
179
+ ### 5. **Tester Agent** (`/tester`)
180
+ **Role:** QA Engineer & Test Automation Specialist
181
+
182
+ **Capabilities:**
183
+ - ✅ Membuat unit tests, integration tests, E2E tests
184
+ - ✅ Menjalankan tests di terminal
185
+ - ✅ Menganalisis test failures & memberikan fixing recommendation
186
+ - ✅ Membuat testing log (`logs/testing/test_*.md`)
187
+ - ✅ Self-healing: Memperbaiki tests yang broken karena code changes
188
+ - ✅ **Update task status** di `task/task_list.md` (ready_to_test → testing_ready → testing → passed/failed)
189
+
190
+ **Input Example:**
191
+ ```
192
+ /tester
193
+
194
+ "Buat dan jalankan test untuk Pricing Configuration API"
195
+ ```
196
+
197
+ **Output:**
198
+ - Test files di `tests/`
199
+ - Terminal execution results
200
+ - `logs/testing/test_004_pricing.md`
201
+
202
+ **👤 Human Task:**
203
+ - Verify test coverage (apakah sudah lengkap?)
204
+ - Check test results (all green?)
205
+ - Manual exploratory testing untuk edge cases
206
+
207
+ **Task Management Workflow:**
208
+ ```
209
+ [Tester] Read task/task_list.md → Find task with status "ready_to_test"
210
+
211
+ [Tester] Create test scenarios → Update status: ready_to_test → testing_ready
212
+
213
+ [Tester] Run tests → Update status: testing_ready → testing
214
+
215
+ [Tester] Check results → Update status: testing → passed (or failed)
216
+ ```
217
+
218
+ ---
219
+
220
+ ### 6. **Fixer Agent** (`/fixer`)
221
+ **Role:** Bug Hunter & Debugging Specialist
222
+
223
+ **Capabilities:**
224
+ - ✅ Menganalisis error messages (compile errors, runtime errors, test failures)
225
+ - ✅ Membaca stack trace dan pinpoint root cause
226
+ - ✅ Memperbaiki bugs dengan minimal side effects
227
+ - ✅ Membuat fixing log (`logs/fixing/fixing_*.md`)
228
+ - ✅ Validasi fix dengan menjalankan tests
229
+ - ✅ Regression testing (pastikan fix tidak break fitur lain)
230
+ - ✅ **Update task status** di `task/task_list.md` (failed → fixing → ready_to_test)
231
+
232
+ **When to Use:**
233
+ - Setelah Developer bikin code tapi ada errors
234
+ - Setelah Tester report bugs
235
+ - Production bugs yang perlu hotfix
236
+ - Build failures di CI/CD
237
+
238
+ **Input Example:**
239
+ ```
240
+ /fixer
241
+
242
+ "Ada bug di create booking: DP amount tidak ter-kalkulasi.
243
+ Error: Cannot read property 'totalPrice' of undefined
244
+ File: app/api/backoffice/bookings/route.ts:45
245
+
246
+ Error terjadi saat user submit booking form dengan pax > 10"
247
+ ```
248
+
249
+ **Output:**
250
+ - Fixed code di `codes/`
251
+ - `logs/fixing/fixing_003_booking_dp_calculation.md` (detailed analysis + solution)
252
+ - Test execution result (verify fix works)
253
+
254
+ **👤 Human Task:**
255
+ - Verify fix logic (apakah benar-benar solve root cause?)
256
+ - Check for side effects (fitur lain masih jalan?)
257
+ - Manual testing dengan scenario yang sama
258
+ - Approve atau minta alternative solution
259
+
260
+ **Workflow Integration:**
261
+ ```
262
+ Developer creates code → Error found
263
+
264
+ Fixer analyzes → Fix bug → Run tests
265
+
266
+ All green? → Done ✅
267
+ Not green? → Iterate fix
268
+ ```
269
+
270
+ **Task Management Workflow:**
271
+ ```
272
+ [Tester] Find bugs → Update task status: passed → failed
273
+
274
+ [Fixer] Read task/task_list.md → Find task with status "failed"
275
+
276
+ [Fixer] Update status: failed → fixing (set "Assigned To: Fixer Agent")
277
+
278
+ [Fixer] Fix bugs → Create fixing log
279
+
280
+ [Fixer] Update status: fixing → ready_to_test (back to Tester)
281
+ ```
282
+
283
+ ---
284
+
285
+ ### 7. **SysArch Agent** (`/sysarch`)
286
+ **Role:** System Architecture & Operations Specialist
287
+
288
+ **Capabilities:**
289
+ - ✅ Menganalisis application requirements dari codebase dan specifications
290
+ - ✅ Mendesain server specifications (CPU, RAM, Storage, Bandwidth)
291
+ - ✅ Merencanakan infrastructure architecture (dev, staging, production)
292
+ - ✅ Mengestimasi resource requirements & costs
293
+ - ✅ Merekomendasikan deployment strategies (VPS, cloud, containerized)
294
+ - ✅ Membuat operational guidelines (monitoring, backup, scaling, disaster recovery)
295
+ - ✅ Mengoptimasi biaya infrastruktur
296
+
297
+ **When to Use:**
298
+ - Sebelum deployment ke production (infrastructure planning)
299
+ - Saat aplikasi mulai lambat (performance analysis & scaling recommendation)
300
+ - Saat budget review (cost optimization analysis)
301
+ - Saat planning capacity untuk high season
302
+
303
+ **Input Example:**
304
+ ```
305
+ /sysarch
306
+
307
+ "Analyze current codebase and design server specifications
308
+ for production deployment. Target: 100 concurrent users,
309
+ 50 bookings/day, 99.9% uptime."
310
+ ```
311
+
312
+ **Output:**
313
+ - `architecture/current_state.md` - Application analysis
314
+ - `architecture/server_specifications.md` - Detailed server specs
315
+ - `architecture/deployment_plan.md` - Step-by-step deployment guide
316
+ - `architecture/cost_analysis.md` - Infrastructure cost breakdown
317
+ - `architecture/monitoring_plan.md` - Observability & alerting setup
318
+
319
+ **👤 Human Task:**
320
+ - Jawab questions tentang load requirements (concurrent users, transactions, etc.)
321
+ - Review server specifications (sesuai budget?)
322
+ - Approve deployment plan
323
+ - Check cost estimates (sustainable?)
324
+ - Decide cloud provider preference
325
+
326
+ **Critical Questions SysArch Will Ask:**
327
+ 1. **User Load:** Concurrent users, growth rate, peak season multiplier
328
+ 2. **Transaction Volume:** Bookings/day, payments/day, API requests/min
329
+ 3. **Data & Storage:** File uploads, data retention, backup requirements
330
+ 4. **Performance:** API response time, page load time, CDN needs
331
+ 5. **Availability:** Uptime target (99%, 99.9%, 99.99%), HA requirements
332
+ 6. **Budget:** Monthly infrastructure budget, cloud provider preference
333
+ 7. **Security:** SSL, WAF, DDoS protection, compliance (PCI-DSS, GDPR, UU PDP)
334
+
335
+ **Example Workflow:**
336
+ ```
337
+ [SysArch] Ask requirements → [👤 Human] Answer questions
338
+
339
+ [SysArch] Analyze codebase → Design architecture
340
+
341
+ [SysArch] Create specs & deployment plan → [👤 Human] Review & Approve
342
+
343
+ [Developer/SysArch] Deploy to production
344
+
345
+ [SysArch] Setup monitoring → [👤 Human] Monitor metrics
346
+ ```
347
+
348
+ ---
349
+
350
+ ### 8. **Document Agent** (`/document`)
351
+ **Role:** Technical Writer
352
+
353
+ **Capabilities:**
354
+ - ✅ Menggabungkan semua specifications menjadi FSD (Functional Specification Document)
355
+ - ✅ Generate API documentation
356
+ - ✅ Membuat user manual / deployment guide
357
+ - ✅ Format markdown yang professional & readable
358
+
359
+ **Input Example:**
360
+ ```
361
+ /document
362
+
363
+ "Generate FSD lengkap dari semua specifications"
364
+ ```
365
+
366
+ **Output:**
367
+ - `documentation/FSD_VasVibe.md`
368
+ - `documentation/API_Documentation.md`
369
+
370
+ **👤 Human Task:**
371
+ - Final review dokumentasi
372
+ - Share ke stakeholder (investor, klien)
373
+
374
+ ---
375
+
376
+ ## 🤖 Peran & Perintah (Slash Commands)
377
+
378
+ | Agent | Command | Primary Function | Output | Human Review |
379
+ | --- | --- | --- | --- | --- |
380
+ | **Initiator** | `/initiator` | Project kickoff & overview | `project_overview.md` | ⚠️ **CRITICAL** |
381
+ | **PM** | `/pm` | Task management & coordination | `task/task_list.md`, `task/PROJECT_STATUS_REPORT.md` | ✅ **MEDIUM** |
382
+ | **Analyst** | `/analyst` | Technical specifications | `specifications/*.md` | ⚠️ **HIGH** |
383
+ | **Developer** | `/developer` | Code implementation | `codes/*`, `logs/development/` | ⚠️ **HIGH** |
384
+ | **Tester** | `/tester` | Test automation & QA | `tests/*`, `logs/testing/` | ✅ **MEDIUM** |
385
+ | **Fixer** | `/fixer` | Bug fixing & debugging | `codes/*`, `logs/fixing/` | ⚠️ **HIGH** |
386
+ | **SysArch** | `/sysarch` | Infrastructure & deployment planning | `architecture/*` | ⚠️ **CRITICAL** |
387
+ | **Document** | `/document` | Final documentation | `documentation/*.md` | ✅ **LOW** |
388
+
389
+ ---
@@ -266,5 +266,5 @@ Contents Ignored: ✅ Working
266
266
 
267
267
  ---
268
268
 
269
- **Last Updated:** December 30, 2025
269
+ **Last Updated:** June 2026
270
270
  **Status:** ✅ Complete