create-vasvibe 2.4.0 โ†’ 2.5.1

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 (286) hide show
  1. package/README.md +170 -167
  2. package/bin/cli.mjs +9 -9
  3. package/package.json +45 -45
  4. package/src/git.mjs +47 -47
  5. package/src/index.mjs +228 -228
  6. package/src/prompts.mjs +113 -113
  7. package/src/scaffold.mjs +74 -74
  8. package/src/upgrade.mjs +121 -121
  9. package/src/utils.mjs +91 -91
  10. package/template/.agents/agents/analyst/agent.json +43 -43
  11. package/template/.agents/agents/backend/agent.json +44 -44
  12. package/template/.agents/agents/data-architect/agent.json +43 -43
  13. package/template/.agents/agents/devops/agent.json +44 -44
  14. package/template/.agents/agents/discovery/agent.json +43 -43
  15. package/template/.agents/agents/document/agent.json +43 -43
  16. package/template/.agents/agents/explorer/agent.json +43 -43
  17. package/template/.agents/agents/fixer/agent.json +44 -44
  18. package/template/.agents/agents/frontend/agent.json +44 -44
  19. package/template/.agents/agents/fullstack/agent.json +44 -44
  20. package/template/.agents/agents/initiator/agent.json +41 -41
  21. package/template/.agents/agents/logger/agent.json +43 -43
  22. package/template/.agents/agents/manual-tester/agent.json +44 -0
  23. package/template/.agents/agents/orchestrator/agent.json +44 -44
  24. package/template/.agents/agents/pm/agent.json +42 -42
  25. package/template/.agents/agents/qa/agent.json +44 -44
  26. package/template/.agents/agents/reliability/agent.json +44 -44
  27. package/template/.agents/agents/security/agent.json +44 -44
  28. package/template/.agents/agents/sysarch/agent.json +44 -44
  29. package/template/.agents/agents/tester/agent.json +44 -44
  30. package/template/.agents/agents/toolsmith/agent.json +44 -44
  31. package/template/.agents/agents/ux-designer/agent.json +43 -43
  32. package/template/.agents/skills/find-skills/SKILL.md +142 -142
  33. package/template/.agents/skills/fullstack/SKILL.md +89 -89
  34. package/template/.agents/skills/penetration-testing/SKILL.md +94 -94
  35. package/template/.agents/skills/penetration-testing/references/automated-penetration-testing-framework.md +328 -328
  36. package/template/.agents/skills/penetration-testing/references/burp-suite-automation-script.md +135 -135
  37. package/template/.agents/skills/penetration-testing/scripts/security-checklist.sh +30 -30
  38. package/template/.agents/skills/pm/SKILL.md +170 -170
  39. package/template/.agents/skills/ui-ux-pro-max/SKILL.md +658 -658
  40. package/template/.agents/skills/ui-ux-pro-max/data/_sync_all.py +414 -414
  41. package/template/.agents/skills/ui-ux-pro-max/data/app-interface.csv +30 -30
  42. package/template/.agents/skills/ui-ux-pro-max/data/design.csv +1775 -1775
  43. package/template/.agents/skills/ui-ux-pro-max/data/draft.csv +1778 -1778
  44. package/template/.agents/skills/ui-ux-pro-max/data/icons.csv +105 -105
  45. package/template/.agents/skills/ui-ux-pro-max/data/products.csv +162 -162
  46. package/template/.agents/skills/ui-ux-pro-max/data/react-performance.csv +45 -45
  47. package/template/.agents/skills/ui-ux-pro-max/data/stacks/angular.csv +51 -51
  48. package/template/.agents/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -54
  49. package/template/.agents/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -53
  50. package/template/.agents/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -56
  51. package/template/.agents/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -53
  52. package/template/.agents/skills/ui-ux-pro-max/data/stacks/laravel.csv +51 -51
  53. package/template/.agents/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -53
  54. package/template/.agents/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -51
  55. package/template/.agents/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -59
  56. package/template/.agents/skills/ui-ux-pro-max/data/stacks/react.csv +54 -54
  57. package/template/.agents/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -61
  58. package/template/.agents/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -54
  59. package/template/.agents/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -51
  60. package/template/.agents/skills/ui-ux-pro-max/data/stacks/threejs.csv +54 -54
  61. package/template/.agents/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -50
  62. package/template/.agents/skills/ui-ux-pro-max/data/typography.csv +74 -74
  63. package/template/.agents/skills/ui-ux-pro-max/scripts/core.py +262 -262
  64. package/template/.agents/skills/ui-ux-pro-max/scripts/design_system.py +1148 -1148
  65. package/template/.agents/workflows/build-feature.md +21 -21
  66. package/template/.agents/workflows/build-prototype.md +32 -32
  67. package/template/.agents/workflows/daily-standup.md +16 -16
  68. package/template/.agents/workflows/deliver-feature.md +16 -16
  69. package/template/.agents/workflows/explorer.md +78 -78
  70. package/template/.agents/workflows/harden-release.md +21 -21
  71. package/template/.agents/workflows/logger.md +117 -117
  72. package/template/.agents/workflows/plan-feature.md +30 -30
  73. package/template/.agents/workflows/plan-project.md +25 -25
  74. package/template/.agents/workflows/release.md +18 -18
  75. package/template/.agents/workflows/security-audit.md +19 -19
  76. package/template/.agents/workflows/setup-workspace.md +21 -21
  77. package/template/.agents/workflows/start-fix.md +18 -18
  78. package/template/.agents/workflows/test-feature.md +17 -17
  79. package/template/.claude/agents/analyst.md +109 -109
  80. package/template/.claude/agents/backend.md +61 -61
  81. package/template/.claude/agents/data-architect.md +43 -43
  82. package/template/.claude/agents/devops.md +44 -43
  83. package/template/.claude/agents/discovery.md +51 -51
  84. package/template/.claude/agents/document.md +51 -51
  85. package/template/.claude/agents/explorer.md +138 -138
  86. package/template/.claude/agents/fixer.md +87 -86
  87. package/template/.claude/agents/frontend.md +65 -65
  88. package/template/.claude/agents/fullstack.md +91 -90
  89. package/template/.claude/agents/initiator.md +74 -74
  90. package/template/.claude/agents/logger.md +143 -143
  91. package/template/.claude/agents/manual-tester.md +108 -0
  92. package/template/.claude/agents/orchestrator.md +138 -137
  93. package/template/.claude/agents/pm.md +199 -199
  94. package/template/.claude/agents/qa.md +66 -65
  95. package/template/.claude/agents/reliability.md +48 -47
  96. package/template/.claude/agents/security.md +107 -106
  97. package/template/.claude/agents/sysarch.md +301 -301
  98. package/template/.claude/agents/tester.md +100 -100
  99. package/template/.claude/agents/toolsmith.md +77 -76
  100. package/template/.claude/agents/ux-designer.md +45 -45
  101. package/template/.claude/commands/build-feature.md +22 -22
  102. package/template/.claude/commands/build-prototype.md +33 -33
  103. package/template/.claude/commands/daily-standup.md +16 -16
  104. package/template/.claude/commands/deliver-feature.md +17 -17
  105. package/template/.claude/commands/harden-release.md +22 -22
  106. package/template/.claude/commands/manual-test.md +19 -0
  107. package/template/.claude/commands/plan-feature.md +31 -31
  108. package/template/.claude/commands/plan-project.md +26 -26
  109. package/template/.claude/commands/release.md +19 -19
  110. package/template/.claude/commands/security-audit.md +20 -20
  111. package/template/.claude/commands/setup-workspace.md +22 -22
  112. package/template/.claude/commands/start-fix.md +19 -19
  113. package/template/.claude/commands/test-feature.md +18 -18
  114. package/template/.claude/skills/find-skills/SKILL.md +142 -142
  115. package/template/.claude/skills/penetration-testing/SKILL.md +94 -94
  116. package/template/.claude/skills/penetration-testing/references/automated-penetration-testing-framework.md +328 -328
  117. package/template/.claude/skills/penetration-testing/references/burp-suite-automation-script.md +135 -135
  118. package/template/.claude/skills/penetration-testing/scripts/security-checklist.sh +30 -30
  119. package/template/.claude/skills/ui-ux-pro-max/SKILL.md +658 -658
  120. package/template/.claude/skills/ui-ux-pro-max/data/_sync_all.py +414 -414
  121. package/template/.claude/skills/ui-ux-pro-max/data/app-interface.csv +30 -30
  122. package/template/.claude/skills/ui-ux-pro-max/data/design.csv +1775 -1775
  123. package/template/.claude/skills/ui-ux-pro-max/data/draft.csv +1778 -1778
  124. package/template/.claude/skills/ui-ux-pro-max/data/icons.csv +105 -105
  125. package/template/.claude/skills/ui-ux-pro-max/data/products.csv +162 -162
  126. package/template/.claude/skills/ui-ux-pro-max/data/react-performance.csv +45 -45
  127. package/template/.claude/skills/ui-ux-pro-max/data/stacks/angular.csv +51 -51
  128. package/template/.claude/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -54
  129. package/template/.claude/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -53
  130. package/template/.claude/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -56
  131. package/template/.claude/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -53
  132. package/template/.claude/skills/ui-ux-pro-max/data/stacks/laravel.csv +51 -51
  133. package/template/.claude/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -53
  134. package/template/.claude/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -51
  135. package/template/.claude/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -59
  136. package/template/.claude/skills/ui-ux-pro-max/data/stacks/react.csv +54 -54
  137. package/template/.claude/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -61
  138. package/template/.claude/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -54
  139. package/template/.claude/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -51
  140. package/template/.claude/skills/ui-ux-pro-max/data/stacks/threejs.csv +54 -54
  141. package/template/.claude/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -50
  142. package/template/.claude/skills/ui-ux-pro-max/data/typography.csv +74 -74
  143. package/template/.claude/skills/ui-ux-pro-max/scripts/core.py +262 -262
  144. package/template/.claude/skills/ui-ux-pro-max/scripts/design_system.py +1148 -1148
  145. package/template/.github/prompts/analyst.prompt.md +104 -104
  146. package/template/.github/prompts/backend.prompt.md +44 -44
  147. package/template/.github/prompts/data-architect.prompt.md +38 -38
  148. package/template/.github/prompts/devops.prompt.md +32 -32
  149. package/template/.github/prompts/discovery.prompt.md +39 -39
  150. package/template/.github/prompts/document.prompt.md +14 -14
  151. package/template/.github/prompts/explorer.prompt.md +133 -133
  152. package/template/.github/prompts/fixer.prompt.md +82 -81
  153. package/template/.github/prompts/frontend.prompt.md +60 -60
  154. package/template/.github/prompts/fullstack.prompt.md +86 -86
  155. package/template/.github/prompts/initiator.prompt.md +55 -55
  156. package/template/.github/prompts/logger.prompt.md +138 -138
  157. package/template/.github/prompts/manual-tester.prompt.md +103 -0
  158. package/template/.github/prompts/orchestrator.prompt.md +133 -133
  159. package/template/.github/prompts/pm.prompt.md +186 -186
  160. package/template/.github/prompts/qa.prompt.md +57 -57
  161. package/template/.github/prompts/reliability.prompt.md +44 -44
  162. package/template/.github/prompts/security.prompt.md +41 -41
  163. package/template/.github/prompts/sysarch.prompt.md +351 -351
  164. package/template/.github/prompts/tester.prompt.md +107 -107
  165. package/template/.github/prompts/toolsmith.prompt.md +46 -46
  166. package/template/.github/prompts/ux-designer.prompt.md +41 -41
  167. package/template/.opencode/agents/analyst.md +108 -108
  168. package/template/.opencode/agents/backend.md +61 -61
  169. package/template/.opencode/agents/data-architect.md +43 -43
  170. package/template/.opencode/agents/devops.md +44 -44
  171. package/template/.opencode/agents/discovery.md +51 -51
  172. package/template/.opencode/agents/document.md +51 -51
  173. package/template/.opencode/agents/explorer.md +137 -137
  174. package/template/.opencode/agents/fixer.md +86 -85
  175. package/template/.opencode/agents/frontend.md +64 -64
  176. package/template/.opencode/agents/fullstack.md +90 -89
  177. package/template/.opencode/agents/initiator.md +74 -74
  178. package/template/.opencode/agents/logger.md +142 -142
  179. package/template/.opencode/agents/manual-tester.md +107 -0
  180. package/template/.opencode/agents/orchestrator.md +137 -133
  181. package/template/.opencode/agents/pm.md +199 -199
  182. package/template/.opencode/agents/qa.md +66 -65
  183. package/template/.opencode/agents/reliability.md +48 -48
  184. package/template/.opencode/agents/security.md +107 -107
  185. package/template/.opencode/agents/sysarch.md +301 -301
  186. package/template/.opencode/agents/tester.md +100 -100
  187. package/template/.opencode/agents/toolsmith.md +77 -77
  188. package/template/.opencode/agents/ux-designer.md +45 -45
  189. package/template/.opencode/commands/build-feature.md +21 -21
  190. package/template/.opencode/commands/build-prototype.md +32 -32
  191. package/template/.opencode/commands/daily-standup.md +16 -16
  192. package/template/.opencode/commands/deliver-feature.md +16 -16
  193. package/template/.opencode/commands/harden-release.md +21 -21
  194. package/template/.opencode/commands/manual-test.md +18 -0
  195. package/template/.opencode/commands/plan-feature.md +30 -30
  196. package/template/.opencode/commands/plan-project.md +25 -25
  197. package/template/.opencode/commands/release.md +18 -18
  198. package/template/.opencode/commands/security-audit.md +19 -19
  199. package/template/.opencode/commands/setup-workspace.md +21 -21
  200. package/template/.opencode/commands/start-fix.md +18 -18
  201. package/template/.opencode/commands/test-feature.md +17 -17
  202. package/template/.opencode/skills/penetration-testing/SKILL.md +94 -94
  203. package/template/.opencode/skills/penetration-testing/references/automated-penetration-testing-framework.md +328 -328
  204. package/template/.opencode/skills/penetration-testing/references/burp-suite-automation-script.md +135 -135
  205. package/template/.opencode/skills/penetration-testing/scripts/security-checklist.sh +30 -30
  206. package/template/.opencode/skills/ui-ux-pro-max/SKILL.md +658 -658
  207. package/template/.opencode/skills/ui-ux-pro-max/data/_sync_all.py +414 -414
  208. package/template/.opencode/skills/ui-ux-pro-max/data/app-interface.csv +30 -30
  209. package/template/.opencode/skills/ui-ux-pro-max/data/design.csv +1775 -1775
  210. package/template/.opencode/skills/ui-ux-pro-max/data/draft.csv +1778 -1778
  211. package/template/.opencode/skills/ui-ux-pro-max/data/icons.csv +105 -105
  212. package/template/.opencode/skills/ui-ux-pro-max/data/products.csv +162 -162
  213. package/template/.opencode/skills/ui-ux-pro-max/data/react-performance.csv +45 -45
  214. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/angular.csv +51 -51
  215. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -54
  216. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -53
  217. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -56
  218. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -53
  219. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/laravel.csv +51 -51
  220. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -53
  221. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -51
  222. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -59
  223. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/react.csv +54 -54
  224. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -61
  225. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -54
  226. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -51
  227. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/threejs.csv +54 -54
  228. package/template/.opencode/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -50
  229. package/template/.opencode/skills/ui-ux-pro-max/data/typography.csv +74 -74
  230. package/template/.opencode/skills/ui-ux-pro-max/scripts/core.py +262 -262
  231. package/template/.opencode/skills/ui-ux-pro-max/scripts/design_system.py +1148 -1148
  232. package/template/AGENT_PERSONAS.md +595 -551
  233. package/template/GIT_STRUCTURE_GUIDE.md +270 -270
  234. package/template/PROJECT_README.example.md +81 -81
  235. package/template/QUICK-START.md +134 -131
  236. package/template/README.md +1942 -1919
  237. package/template/_gitignore +138 -138
  238. package/template/agent/workflows/_shared/change-management.md +70 -70
  239. package/template/agent/workflows/_shared/git-branch-management.md +25 -25
  240. package/template/agent/workflows/_shared/phases.md +88 -88
  241. package/template/agent/workflows/_shared/state-management.md +87 -87
  242. package/template/agent/workflows/_shared/work-depth.md +46 -46
  243. package/template/agent/workflows/analyst.md +104 -104
  244. package/template/agent/workflows/backend.md +61 -61
  245. package/template/agent/workflows/data-architect.md +43 -43
  246. package/template/agent/workflows/devops.md +44 -44
  247. package/template/agent/workflows/discovery.md +51 -51
  248. package/template/agent/workflows/document.md +51 -51
  249. package/template/agent/workflows/explorer.md +133 -133
  250. package/template/agent/workflows/fixer.md +82 -81
  251. package/template/agent/workflows/frontend.md +60 -60
  252. package/template/agent/workflows/fullstack.md +86 -86
  253. package/template/agent/workflows/initiator.md +74 -74
  254. package/template/agent/workflows/logger.md +138 -138
  255. package/template/agent/workflows/manual-tester.md +103 -0
  256. package/template/agent/workflows/orchestrator.md +133 -133
  257. package/template/agent/workflows/pm.md +199 -199
  258. package/template/agent/workflows/qa.md +66 -66
  259. package/template/agent/workflows/reliability.md +48 -48
  260. package/template/agent/workflows/security.md +107 -107
  261. package/template/agent/workflows/sysarch.md +301 -301
  262. package/template/agent/workflows/tester.md +100 -100
  263. package/template/agent/workflows/toolsmith.md +77 -77
  264. package/template/agent/workflows/ux-designer.md +45 -45
  265. package/template/codes/.gitkeep +1 -1
  266. package/template/project_overview_example.md +54 -54
  267. package/template/schemas/adr.template.md +36 -36
  268. package/template/schemas/changelog.template.md +34 -34
  269. package/template/schemas/data-model.template.md +57 -57
  270. package/template/schemas/design-system.template.md +63 -63
  271. package/template/schemas/dev_log.template.md +20 -20
  272. package/template/schemas/product-ci.template.yml +50 -50
  273. package/template/schemas/requirements.template.md +64 -64
  274. package/template/schemas/security-standards.template.md +58 -58
  275. package/template/schemas/security_report.template.md +89 -89
  276. package/template/schemas/specification.template.md +71 -71
  277. package/template/schemas/style_guide.template.md +29 -29
  278. package/template/schemas/task_list.template.md +28 -28
  279. package/template/schemas/workspace-manifest.template.json +24 -24
  280. package/template/schemas/workspace-registry.json +95 -95
  281. package/template/skills-lock.json +11 -11
  282. package/template/specifications/.gitkeep +3 -3
  283. package/template/state/knowledge_base/.gitkeep +1 -1
  284. package/template/state/knowledge_base/requirements/.gitkeep +1 -1
  285. package/template/tests/.gitkeep +1 -1
  286. package/template/.claude/settings.local.json +0 -44
@@ -1,551 +1,595 @@
1
- ## ๐Ÿค– AI Agent Personas & Capabilities
2
-
3
- Setiap Agent memiliki **system instruction** dan dapat dipanggil via slash command.
4
-
5
- **Total: 19 Specialized Agents**
6
-
7
- ---
8
-
9
- ## ๐Ÿ”„ Workflow 4 Fase (v2.0)
10
-
11
- Pengerjaan proyek dibagi ke **4 fase** dengan gerbang human di tiap transisi. Detail: `agent/workflows/_shared/phases.md`.
12
-
13
- | Fase | Agen | Output (acuan) | Gate |
14
- |------|------|----------------|------|
15
- | **1 ยท Perencanaan** | **Discovery** (wawancara human), Initiator, **Toolsmith**, SysArch, Data Architect, UX Designer, Security (Mode S), Analyst | requirements, overview, **workspace-manifest**, architecture, data-model, design-system, security-standards, **API Contract** | requirements sign-off โ†’ Blueprint disetujui |
16
- | **2 ยท Pengerjaan** | Analyst (spec-lock), Backend Engineer โˆฅ Frontend Engineer (atau Developer @ `fast`), QA | kode + unit test + review | Code review lulus |
17
- | **3 ยท Testing** | Tester, Fixer | E2E hijau | Fungsional hijau |
18
- | **4 ยท Hardening** (per-release) | Security (A/B/C/D), Reliability, Fixer | security & reliability report | Siap produksi |
19
-
20
- **Lintas fase:** PM (koordinasi), Orchestrator (gerbang fase), **Toolsmith (provisioning workspace agentik)**, DevOps (CI/CD), Document (dokumentasi).
21
-
22
- **Komunikasi rigid โ€” "No Silent Changes":** setiap perubahan dari user WAJIB ditulis ke dokumen acuan + dicatat (ADR jika perlu) + agen hilir di-notify. Detail: `agent/workflows/_shared/change-management.md`.
23
-
24
- **Pemisahan spesialis:** Backend Engineer (API/logic/DB) dan Frontend Engineer (UI/UX/integrasi) bekerja paralel, disatukan oleh **API Contract**. Pada `depth=fast` keduanya digabung jadi satu Developer fullstack.
25
-
26
- ### 0. **Discovery Agent** (`/discovery`) โ€” Fase Perencanaan (paling hulu)
27
- **Role:** Product Discovery Lead & Business Analyst
28
-
29
- - โœ… **Mewawancarai human** secara interaktif (tanya-jawab bertahap) untuk menggali kebutuhan
30
- - โœ… Menggali: masalah & metrik sukses, persona, scope (must/nice/out), non-functional, constraint, data & integrasi, risiko & asumsi
31
- - โœ… Reflect-back untuk validasi; berhenti saat cukup; sign-off human
32
- - **Output:** `state/knowledge_base/requirements/requirements.md` ยท **Acuan untuk:** Initiator
33
- - โš ๏ธ Berjalan di **thread utama** (interaktif), bukan subagent. Tidak membuat `project_overview.md`.
34
-
35
- ---
36
-
37
- ### 1. **Initiator Agent** (`/initiator`)
38
- **Role:** Project Initiator & Product Manager
39
-
40
- **Capabilities:**
41
- - โœ… Mengubah ide kasar menjadi `project_overview.md` yang terstruktur
42
- - โœ… Menentukan tech stack berdasarkan kebutuhan
43
- - โœ… Mendefinisikan UI/UX guidelines (color palette, typography, component library)
44
- - โœ… Membuat development roadmap & timeline
45
-
46
- **Input Example:**
47
- ```
48
- /initiator
49
-
50
- "Aplikasi manajemen booking kapal wisata Labuan Bajo,
51
- pakai Next.js, harus ada payment gateway dan backoffice
52
- untuk admin."
53
- ```
54
-
55
- **Output:**
56
- - `project_overview.md` (complete dengan target audience, tech stack, roadmap)
57
-
58
- **๐Ÿ‘ค Human Task:**
59
- - Review `project_overview.md`
60
- - Approve atau minta revisi (tech stack, UI guidelines, timeline)
61
-
62
- ---
63
-
64
- ### 1b. **Toolsmith Agent** (`/setup-workspace`) โญ NEW โ€” Lintas Fase
65
- **Role:** Agentic Workspace Provisioner
66
-
67
- **Capabilities:**
68
- - โœ… Menyiapkan **perkakas si AI agent** (skills + MCP) โ€” bukan infra produk (itu DevOps)
69
- - โœ… Memutuskan skill/MCP dari tech stack (hybrid: registry kurasi `schemas/workspace-registry.json` + augmentasi `find-skills`)
70
- - โœ… Menulis **MCP config declarative** per tool: `.mcp.json` (Claude), `opencode.json` (OpenCode), `.vscode/mcp.json` (Copilot), `.agents/mcp.json` (Antigravity)
71
- - โœ… Install skills ke `skillsDir` tiap platform via `npx skills add`
72
- - โœ… **Re-callable saat pindah tool** โ€” manifest persist, tinggal re-apply ke format tool baru (mode `switch`)
73
-
74
- **Mode:** `init` (provisioning awal) ยท `switch` (pindah tool) ยท `sync` (perbaiki drift)
75
-
76
- **Input Example:**
77
- ```
78
- /setup-workspace init
79
- /setup-workspace switch tool=opencode # saat pindah dari Claude Code ke OpenCode
80
- ```
81
-
82
- **Output:**
83
- - `state/workspace-manifest.json` (desired-state: daftar skill + MCP, platform-agnostic)
84
- - Config MCP per tool + skills terpasang
85
-
86
- **๐Ÿ‘ค Human Task:**
87
- - Review ringkasan skill/MCP sebelum apply
88
- - Isi env var sensitif (mis. `POSTGRES_URL`) yang ditulis sebagai placeholder `${VAR}`
89
-
90
- โš ๏ธ Otomatis dipanggil Orchestrator di Fase 1 (setelah tech stack) & Fase 2 (sebelum coding), tapi bisa dipanggil manual kapan saja.
91
-
92
- ---
93
-
94
- ### 2. **PM Agent** (`/pm`) โญ NEW
95
- **Role:** Project Manager & Task Coordinator
96
-
97
- **Capabilities:**
98
- - โœ… Membuat dan mengelola task list di `task/task_list.md`
99
- - โœ… Memecah specifications menjadi actionable tasks dengan priority (P0-P3)
100
- - โœ… Tracking status setiap task (not_started โ†’ dev โ†’ testing โ†’ passed)
101
- - โœ… Mengelola dependencies antar task
102
- - โœ… Generate project status reports
103
- - โœ… Monitoring progress dari development logs
104
- - โœ… Mengidentifikasi blockers dan bottlenecks
105
-
106
- **When to Use:**
107
- - Setelah Analyst membuat specifications (untuk create task list)
108
- - Saat ingin cek project progress
109
- - Saat perlu update task status setelah development/testing
110
- - Saat planning sprint atau prioritization
111
-
112
- **Input Example:**
113
- ```
114
- /pm
115
-
116
- "Buat task list berdasarkan semua specifications yang sudah ada"
117
- ```
118
-
119
- **Output:**
120
- - `task/task_list.md` dengan struktur:
121
- - Priority sections (P0: Critical โ†’ P3: Low)
122
- - Task format: TASK-XXX dengan spec reference, status, dependencies
123
- - Summary: Total tasks, completed, in progress, blocked
124
- - `task/PROJECT_STATUS_REPORT.md` (jika diminta generate report)
125
-
126
- **Task Status Flow:**
127
- ```
128
- not_started โ†’ dev (Developer working) โ†’ ready_to_test (Dev complete)
129
- โ†’ testing_ready (Test scenarios created) โ†’ testing (Tester running)
130
- โ†’ passed/failed โ†’ human_validated
131
- ```
132
-
133
- **Priority Levels:**
134
- - **P0 (Critical):** Blockers, production bugs, foundational features
135
- - **P1 (High):** Core features, important bugs
136
- - - **P2 (Medium):** Enhancement, minor features
137
- - **P3 (Low):** Nice-to-have, future improvements
138
-
139
- **๐Ÿ‘ค Human Task:**
140
- - Review task priorities (sesuai bisnis priority?)
141
- - Validate task breakdown (granularity OK?)
142
- - Approve task assignments
143
- - Manual validation setelah task passed (human_validated status)
144
-
145
- **Workflow Integration:**
146
- ```
147
- [Analyst] Create specs โ†’ [PM] Generate task list
148
- โ†“
149
- [Developer] Pick task โ†’ Update status: dev โ†’ ready_to_test
150
- โ†“
151
- [Tester] Create tests โ†’ Update status: testing_ready โ†’ testing โ†’ passed
152
- โ†“
153
- [PM] Monitor progress โ†’ Generate status reports
154
- ```
155
-
156
- ---
157
-
158
- ### 3. **Analyst Agent** (`/analyst`)
159
- **Role:** Lead System Analyst & DevOps Architect
160
-
161
- **Capabilities:**
162
- - โœ… Membaca `project_overview.md` untuk context
163
- - โœ… Membuat spesifikasi infrastruktur (Docker, database schema)
164
- - โœ… Membuat spesifikasi fitur (user stories, API contracts, UI mockups)
165
- - โœ… Memecah fitur besar menjadi atomic specifications (1 file = 1 user story)
166
- - โœ… Validasi tech stack sudah terisi sebelum lanjut
167
-
168
- **Critical Rule:**
169
- - **WAJIB** membuat `000_spec_environment_setup.md` terlebih dahulu sebelum spec fitur
170
-
171
- **Input Example:**
172
- ```
173
- /analyst
174
-
175
- "Buat spesifikasi untuk fitur Booking Management"
176
- ```
177
-
178
- **Output:**
179
- - `specifications/004_spec_booking_management.md`
180
- - Atau breakdown menjadi multiple atomic specs jika fitur terlalu besar
181
-
182
- **๐Ÿ‘ค Human Task:**
183
- - Review spesifikasi (apakah sesuai kebutuhan bisnis?)
184
- - Check API contracts & database schema
185
- - Approve sebelum Developer mulai coding
186
-
187
- **Workflow Integration:**
188
- ```
189
- [Analyst] Create specification
190
- โ†“
191
- [PM] Create task from spec โ†’ Add to task/task_list.md
192
- โ†“
193
- [Developer] Pick task and implement
194
- ```
195
-
196
- ---
197
-
198
- ### 4. **Developer Agent** (`/developer`)
199
- **Role:** Senior Full-Stack Developer
200
-
201
- **Capabilities:**
202
- - โœ… Membaca spesifikasi dari Analyst
203
- - โœ… Menulis kode (frontend, backend, database migration)
204
- - โœ… Mengikuti coding standards & best practices
205
- - โœ… Membuat development log otomatis (`logs/development/dev_*.md`)
206
- - โœ… Menjalankan build & check errors
207
- - โœ… Fixing bugs berdasarkan error feedback
208
- - โœ… **Update task status** di `task/task_list.md` (not_started โ†’ dev โ†’ ready_to_test)
209
-
210
- **Input Example:**
211
- ```
212
- /developer
213
-
214
- "Implementasikan SPEC-004 (Pricing Configuration Module)"
215
- ```
216
-
217
- **Output:**
218
- - Kode di `codes/` (API routes, components, database schema)
219
- - `logs/development/dev_004_pricing_module.md` (log perubahan)
220
-
221
- **๐Ÿ‘ค Human Task:**
222
- - Code review (check logic, security, performance)
223
- - Manual testing di browser/Postman
224
- - Approve atau minta fixing
225
-
226
- **Task Management Workflow:**
227
- ```
228
- [Developer] Read task/task_list.md โ†’ Find task with status "not_started"
229
- โ†“
230
- [Developer] Update status: not_started โ†’ dev (set "Assigned To: Developer Agent")
231
- โ†“
232
- [Developer] Implement feature โ†’ Create development log
233
- โ†“
234
- [Developer] Update status: dev โ†’ ready_to_test (with timestamp)
235
- ```
236
-
237
- ---
238
-
239
- ### 5. **Tester Agent** (`/tester`)
240
- **Role:** QA Engineer & Test Automation Specialist
241
-
242
- **Capabilities:**
243
- - โœ… Membuat unit tests, integration tests, E2E tests
244
- - โœ… Menjalankan tests di terminal
245
- - โœ… Menganalisis test failures & memberikan fixing recommendation
246
- - โœ… Membuat testing log (`logs/testing/test_*.md`)
247
- - โœ… Self-healing: Memperbaiki tests yang broken karena code changes
248
- - โœ… **Update task status** di `task/task_list.md` (ready_to_test โ†’ testing_ready โ†’ testing โ†’ passed/failed)
249
-
250
- **Input Example:**
251
- ```
252
- /tester
253
-
254
- "Buat dan jalankan test untuk Pricing Configuration API"
255
- ```
256
-
257
- **Output:**
258
- - Test files di `tests/`
259
- - Terminal execution results
260
- - `logs/testing/test_004_pricing.md`
261
-
262
- **๐Ÿ‘ค Human Task:**
263
- - Verify test coverage (apakah sudah lengkap?)
264
- - Check test results (all green?)
265
- - Manual exploratory testing untuk edge cases
266
-
267
- **Task Management Workflow:**
268
- ```
269
- [Tester] Read task/task_list.md โ†’ Find task with status "ready_to_test"
270
- โ†“
271
- [Tester] Create test scenarios โ†’ Update status: ready_to_test โ†’ testing_ready
272
- โ†“
273
- [Tester] Run tests โ†’ Update status: testing_ready โ†’ testing
274
- โ†“
275
- [Tester] Check results โ†’ Update status: testing โ†’ passed (or failed)
276
- ```
277
-
278
- ---
279
-
280
- ### 6. **Fixer Agent** (`/fixer`)
281
- **Role:** Bug Hunter & Debugging Specialist
282
-
283
- **Capabilities:**
284
- - โœ… Menganalisis error messages (compile errors, runtime errors, test failures)
285
- - โœ… Membaca stack trace dan pinpoint root cause
286
- - โœ… Memperbaiki bugs dengan minimal side effects
287
- - โœ… Membuat fixing log (`logs/fixing/fixing_*.md`)
288
- - โœ… Validasi fix dengan menjalankan tests
289
- - โœ… Regression testing (pastikan fix tidak break fitur lain)
290
- - โœ… **Update task status** di `task/task_list.md` (failed โ†’ fixing โ†’ ready_to_test)
291
-
292
- **When to Use:**
293
- - Setelah Developer bikin code tapi ada errors
294
- - Setelah Tester report bugs
295
- - Production bugs yang perlu hotfix
296
- - Build failures di CI/CD
297
-
298
- **Input Example:**
299
- ```
300
- /fixer
301
-
302
- "Ada bug di create booking: DP amount tidak ter-kalkulasi.
303
- Error: Cannot read property 'totalPrice' of undefined
304
- File: app/api/backoffice/bookings/route.ts:45
305
-
306
- Error terjadi saat user submit booking form dengan pax > 10"
307
- ```
308
-
309
- **Output:**
310
- - Fixed code di `codes/`
311
- - `logs/fixing/fixing_003_booking_dp_calculation.md` (detailed analysis + solution)
312
- - Test execution result (verify fix works)
313
-
314
- **๐Ÿ‘ค Human Task:**
315
- - Verify fix logic (apakah benar-benar solve root cause?)
316
- - Check for side effects (fitur lain masih jalan?)
317
- - Manual testing dengan scenario yang sama
318
- - Approve atau minta alternative solution
319
-
320
- **Workflow Integration:**
321
- ```
322
- Developer creates code โ†’ Error found
323
- โ†“
324
- Fixer analyzes โ†’ Fix bug โ†’ Run tests
325
- โ†“
326
- All green? โ†’ Done โœ…
327
- Not green? โ†’ Iterate fix
328
- ```
329
-
330
- **Task Management Workflow:**
331
- ```
332
- [Tester] Find bugs โ†’ Update task status: passed โ†’ failed
333
- โ†“
334
- [Fixer] Read task/task_list.md โ†’ Find task with status "failed"
335
- โ†“
336
- [Fixer] Update status: failed โ†’ fixing (set "Assigned To: Fixer Agent")
337
- โ†“
338
- [Fixer] Fix bugs โ†’ Update spesifikasi terkait fitur yang difixing (jika ada penyesuaian scope) โ†’ Create fixing log
339
- โ†“
340
- [Fixer] Update status: fixing โ†’ ready_to_test (back to Tester)
341
- ```
342
-
343
- ---
344
-
345
- ### 7. **SysArch Agent** (`/sysarch`)
346
- **Role:** System Architecture & Operations Specialist
347
-
348
- **Capabilities:**
349
- - โœ… Menganalisis application requirements dari codebase dan specifications
350
- - โœ… Mendesain server specifications (CPU, RAM, Storage, Bandwidth)
351
- - โœ… Merencanakan infrastructure architecture (dev, staging, production)
352
- - โœ… Mengestimasi resource requirements & costs
353
- - โœ… Merekomendasikan deployment strategies (VPS, cloud, containerized)
354
- - โœ… Membuat operational guidelines (monitoring, backup, scaling, disaster recovery)
355
- - โœ… Mengoptimasi biaya infrastruktur
356
-
357
- **When to Use:**
358
- - Sebelum deployment ke production (infrastructure planning)
359
- - Saat aplikasi mulai lambat (performance analysis & scaling recommendation)
360
- - Saat budget review (cost optimization analysis)
361
- - Saat planning capacity untuk high season
362
-
363
- **Input Example:**
364
- ```
365
- /sysarch
366
-
367
- "Analyze current codebase and design server specifications
368
- for production deployment. Target: 100 concurrent users,
369
- 50 bookings/day, 99.9% uptime."
370
- ```
371
-
372
- **Output:**
373
- - `architecture/current_state.md` - Application analysis
374
- - `architecture/server_specifications.md` - Detailed server specs
375
- - `architecture/deployment_plan.md` - Step-by-step deployment guide
376
- - `architecture/cost_analysis.md` - Infrastructure cost breakdown
377
- - `architecture/monitoring_plan.md` - Observability & alerting setup
378
-
379
- **๐Ÿ‘ค Human Task:**
380
- - Jawab questions tentang load requirements (concurrent users, transactions, etc.)
381
- - Review server specifications (sesuai budget?)
382
- - Approve deployment plan
383
- - Check cost estimates (sustainable?)
384
- - Decide cloud provider preference
385
-
386
- **Critical Questions SysArch Will Ask:**
387
- 1. **User Load:** Concurrent users, growth rate, peak season multiplier
388
- 2. **Transaction Volume:** Bookings/day, payments/day, API requests/min
389
- 3. **Data & Storage:** File uploads, data retention, backup requirements
390
- 4. **Performance:** API response time, page load time, CDN needs
391
- 5. **Availability:** Uptime target (99%, 99.9%, 99.99%), HA requirements
392
- 6. **Budget:** Monthly infrastructure budget, cloud provider preference
393
- 7. **Security:** SSL, WAF, DDoS protection, compliance (PCI-DSS, GDPR, UU PDP)
394
-
395
- **Example Workflow:**
396
- ```
397
- [SysArch] Ask requirements โ†’ [๐Ÿ‘ค Human] Answer questions
398
- โ†“
399
- [SysArch] Analyze codebase โ†’ Design architecture
400
- โ†“
401
- [SysArch] Create specs & deployment plan โ†’ [๐Ÿ‘ค Human] Review & Approve
402
- โ†“
403
- [Developer/SysArch] Deploy to production
404
- โ†“
405
- [SysArch] Setup monitoring โ†’ [๐Ÿ‘ค Human] Monitor metrics
406
- ```
407
-
408
- ---
409
-
410
- ### 8. **Security Expert Agent** (`/security`)
411
- **Role:** Application Security Expert
412
-
413
- **Capabilities:**
414
- - โœ… Threat modeling menggunakan metodologi STRIDE
415
- - โœ… OWASP Top 10 vulnerability scanning
416
- - โœ… Secrets dan hardcoded credential detection
417
- - โœ… Dependency vulnerability scan (`npm audit`, dll)
418
- - โœ… Implementasi security fix (input validation, parameterized queries, header hardening)
419
- - โœ… Pre-release security audit
420
-
421
- **4 Mode Kerja:**
422
- - **Mode A โ€” Threat Model:** Identifikasi attack surface dan threat berdasarkan arsitektur
423
- - **Mode B โ€” Vulnerability Scan:** OWASP Top 10 check + dependency scan + secrets check
424
- - **Mode C โ€” Security Fix:** Implementasi patch untuk temuan CRITICAL dan HIGH
425
- - **Mode D โ€” Pre-release Audit:** Quick scan perubahan sejak release terakhir
426
-
427
- **When to Use:**
428
- - Pipeline `/security-audit` untuk full audit manual
429
- - Otomatis di `/start-feature` saat `depth=deep`
430
- - Otomatis di `/release` (Mode D, selalu)
431
-
432
- **Input Example:**
433
- ```
434
- /security
435
-
436
- "Mode B: Lakukan vulnerability scan pada fitur authentication dan payment"
437
- ```
438
-
439
- **Output:**
440
- - `task/[TASK-ID]/security_threat_model.md` (Mode A)
441
- - `task/[TASK-ID]/security_report.md` (Mode B/C/D)
442
-
443
- **๐Ÿ‘ค Human Task:**
444
- - Review temuan dan tentukan mana yang perlu di-fix vs accepted risk
445
- - Approve sebelum Security Fix diimplementasi (untuk CRITICAL)
446
- - Final sign-off setelah semua fix diverifikasi
447
-
448
- ---
449
-
450
- ### 9. **Data Architect Agent** (`/data-architect`) โ€” Fase Perencanaan
451
- **Role:** Data Architect
452
-
453
- - โœ… Merancang data model, ERD, skema per-entity, indexing
454
- - โœ… Data governance: PII, retention, encryption at rest, audit
455
- - โœ… Migration strategy sesuai tooling stack
456
- - **Output:** `state/knowledge_base/data-model/` ยท **Acuan untuk:** Backend Engineer
457
-
458
- ---
459
-
460
- ### 10. **UX Designer Agent** (`/ux-designer`) โ€” Fase Perencanaan
461
- **Role:** UX/UI Designer
462
-
463
- - โœ… Design system: color palette, tipografi, spacing, spec komponen, motion
464
- - โœ… Memakai skill `ui-ux-pro-max`
465
- - โœ… Accessibility & responsive guidelines
466
- - **Output:** `state/knowledge_base/design-system/` ยท **Acuan untuk:** Frontend Engineer
467
-
468
- ---
469
-
470
- ### 11. **Backend Engineer Agent** (`/backend`) โ€” Fase Pengerjaan
471
- **Role:** Senior Backend Engineer (`depth=standard|deep`)
472
-
473
- - โœ… Implementasi API, business logic, akses DB **sesuai API Contract**
474
- - โœ… Honor `data-model/` dan `security-standards.md`
475
- - โœ… Unit test + propagasi perubahan contract ke Frontend
476
- - **Output:** `codes/*` (server) ยท **Paralel dengan:** Frontend Engineer
477
-
478
- ---
479
-
480
- ### 12. **Frontend Engineer Agent** (`/frontend`) โ€” Fase Pengerjaan
481
- **Role:** Senior Frontend Engineer & UI Specialist (`depth=standard|deep`)
482
-
483
- - โœ… Implementasi UI **sesuai design-system** + integrasi **API Contract**
484
- - โœ… Memakai skill `ui-ux-pro-max`; handle semua state (loading/empty/error)
485
- - โœ… Component test + a11y
486
- - **Output:** `codes/*` (client) ยท **Paralel dengan:** Backend Engineer
487
-
488
- ---
489
-
490
- ### 13. **Reliability Engineer Agent** (`/reliability`) โ€” Fase Hardening
491
- **Role:** Reliability & Performance Engineer (per-release)
492
-
493
- - โœ… Performance review (N+1, indexing, caching, payload)
494
- - โœ… Resilience: error handling, timeout/retry, graceful degradation
495
- - โœ… Load test + observability audit
496
- - **Output:** `task/[RELEASE]/reliability_report.md`
497
-
498
- ---
499
-
500
- ### 14. **Document Agent** (`/document`)
501
- **Role:** Technical Writer
502
-
503
- **Capabilities:**
504
- - โœ… Menggabungkan semua specifications menjadi FSD (Functional Specification Document)
505
- - โœ… Generate API documentation
506
- - โœ… Membuat user manual / deployment guide
507
- - โœ… Format markdown yang professional & readable
508
-
509
- **Input Example:**
510
- ```
511
- /document
512
-
513
- "Generate FSD lengkap dari semua specifications"
514
- ```
515
-
516
- **Output:**
517
- - `documentation/FSD_VasVibe.md`
518
- - `documentation/API_Documentation.md`
519
-
520
- **๐Ÿ‘ค Human Task:**
521
- - Final review dokumentasi
522
- - Share ke stakeholder (investor, klien)
523
-
524
- ---
525
-
526
- ## ๐Ÿค– Peran & Perintah (Slash Commands)
527
-
528
- | Agent | Command | Primary Function | Output | Human Review |
529
- | --- | --- | --- | --- | --- |
530
- | Agen | Command | Fase | Primary Function | Output |
531
- | --- | --- | --- | --- | --- |
532
- | **Discovery** | `/discovery` | Perencanaan | Requirement gathering (wawancara human) | `state/knowledge_base/requirements/` |
533
- | **Initiator** | `/initiator` | Perencanaan | Project overview (sintesis requirements) | `project_overview.md` |
534
- | **SysArch** | `/sysarch` | Perencanaan | Infrastructure & deployment planning | `state/knowledge_base/architecture/` |
535
- | **Data Architect** | `/data-architect` | Perencanaan | Data model & governance | `state/knowledge_base/data-model/` |
536
- | **UX Designer** | `/ux-designer` | Perencanaan | Design system & UI guidelines | `state/knowledge_base/design-system/` |
537
- | **Security** | `/security` | Perencanaan + Hardening | Standards, threat model, OWASP, fix | `state/knowledge_base/security/`, `task/[ID]/security_report.md` |
538
- | **Analyst** | `/analyst` | Perencanaan | User story, **API Contract**, spec-lock | `specifications/*.md` |
539
- | **PM** | `/pm` | Lintas fase | Task management & coordination | `task/task_list.md` |
540
- | **Backend Engineer** | `/backend` | Pengerjaan | Server API, logic, DB (std/deep) | `codes/*` |
541
- | **Frontend Engineer** | `/frontend` | Pengerjaan | UI/UX & API integration (std/deep) | `codes/*` |
542
- | **Developer** | `/developer` | Pengerjaan | Fullstack tunggal (`depth=fast`) | `codes/*` |
543
- | **QA** | `/qa` | Pengerjaan | Static review & unit test | `task/[ID]/qa_report.md` |
544
- | **Tester** | `/tester` | Testing | E2E test automation | `tests/*` |
545
- | **Fixer** | `/fixer` | Testing + Hardening | Bug fixing & debugging | `codes/*` |
546
- | **Reliability** | `/reliability` | Hardening | Performance, resilience, load | `task/[RELEASE]/reliability_report.md` |
547
- | **DevOps** | `/devops` | Lintas fase | Docker, CI/CD, deployment | `Dockerfile`, `.github/workflows/` |
548
- | **Document** | `/document` | Lintas fase | Final documentation | `documentation/*.md` |
549
- | **Orchestrator** | `/plan-project`, `/build-feature`, dll | Lintas fase | Pipeline & phase gates | `state/pipeline_log.md` |
550
-
551
- ---
1
+ ## ๐Ÿค– AI Agent Personas & Capabilities
2
+
3
+ Setiap Agent memiliki **system instruction** dan dapat dipanggil via slash command.
4
+
5
+ **Total: 20 Specialized Agents**
6
+
7
+ ---
8
+
9
+ ## ๐Ÿ”„ Workflow 4 Fase (v2.0)
10
+
11
+ Pengerjaan proyek dibagi ke **4 fase** dengan gerbang human di tiap transisi. Detail: `agent/workflows/_shared/phases.md`.
12
+
13
+ | Fase | Agen | Output (acuan) | Gate |
14
+ |------|------|----------------|------|
15
+ | **1 ยท Perencanaan** | **Discovery** (wawancara human), Initiator, **Toolsmith**, SysArch, Data Architect, UX Designer, Security (Mode S), Analyst | requirements, overview, **workspace-manifest**, architecture, data-model, design-system, security-standards, **API Contract** | requirements sign-off โ†’ Blueprint disetujui |
16
+ | **2 ยท Pengerjaan** | Analyst (spec-lock), Backend Engineer โˆฅ Frontend Engineer (atau Developer @ `fast`), QA | kode + unit test + review | Code review lulus |
17
+ | **3 ยท Testing** | Tester, **Manual Tester** (opsional), Fixer | E2E hijau | Fungsional hijau |
18
+ | **4 ยท Hardening** (per-release) | Security (A/B/C/D), Reliability, Fixer | security & reliability report | Siap produksi |
19
+
20
+ **Lintas fase:** PM (koordinasi), Orchestrator (gerbang fase), **Toolsmith (provisioning workspace agentik)**, DevOps (CI/CD), Document (dokumentasi).
21
+
22
+ **Komunikasi rigid โ€” "No Silent Changes":** setiap perubahan dari user WAJIB ditulis ke dokumen acuan + dicatat (ADR jika perlu) + agen hilir di-notify. Detail: `agent/workflows/_shared/change-management.md`.
23
+
24
+ **Pemisahan spesialis:** Backend Engineer (API/logic/DB) dan Frontend Engineer (UI/UX/integrasi) bekerja paralel, disatukan oleh **API Contract**. Pada `depth=fast` keduanya digabung jadi satu Developer fullstack.
25
+
26
+ ### 0. **Discovery Agent** (`/discovery`) โ€” Fase Perencanaan (paling hulu)
27
+ **Role:** Product Discovery Lead & Business Analyst
28
+
29
+ - โœ… **Mewawancarai human** secara interaktif (tanya-jawab bertahap) untuk menggali kebutuhan
30
+ - โœ… Menggali: masalah & metrik sukses, persona, scope (must/nice/out), non-functional, constraint, data & integrasi, risiko & asumsi
31
+ - โœ… Reflect-back untuk validasi; berhenti saat cukup; sign-off human
32
+ - **Output:** `state/knowledge_base/requirements/requirements.md` ยท **Acuan untuk:** Initiator
33
+ - โš ๏ธ Berjalan di **thread utama** (interaktif), bukan subagent. Tidak membuat `project_overview.md`.
34
+
35
+ ---
36
+
37
+ ### 1. **Initiator Agent** (`/initiator`)
38
+ **Role:** Project Initiator & Product Manager
39
+
40
+ **Capabilities:**
41
+ - โœ… Mengubah ide kasar menjadi `project_overview.md` yang terstruktur
42
+ - โœ… Menentukan tech stack berdasarkan kebutuhan
43
+ - โœ… Mendefinisikan UI/UX guidelines (color palette, typography, component library)
44
+ - โœ… Membuat development roadmap & timeline
45
+
46
+ **Input Example:**
47
+ ```
48
+ /initiator
49
+
50
+ "Aplikasi manajemen booking kapal wisata Labuan Bajo,
51
+ pakai Next.js, harus ada payment gateway dan backoffice
52
+ untuk admin."
53
+ ```
54
+
55
+ **Output:**
56
+ - `project_overview.md` (complete dengan target audience, tech stack, roadmap)
57
+
58
+ **๐Ÿ‘ค Human Task:**
59
+ - Review `project_overview.md`
60
+ - Approve atau minta revisi (tech stack, UI guidelines, timeline)
61
+
62
+ ---
63
+
64
+ ### 1b. **Toolsmith Agent** (`/setup-workspace`) โญ NEW โ€” Lintas Fase
65
+ **Role:** Agentic Workspace Provisioner
66
+
67
+ **Capabilities:**
68
+ - โœ… Menyiapkan **perkakas si AI agent** (skills + MCP) โ€” bukan infra produk (itu DevOps)
69
+ - โœ… Memutuskan skill/MCP dari tech stack (hybrid: registry kurasi `schemas/workspace-registry.json` + augmentasi `find-skills`)
70
+ - โœ… Menulis **MCP config declarative** per tool: `.mcp.json` (Claude), `opencode.json` (OpenCode), `.vscode/mcp.json` (Copilot), `.agents/mcp.json` (Antigravity)
71
+ - โœ… Install skills ke `skillsDir` tiap platform via `npx skills add`
72
+ - โœ… **Re-callable saat pindah tool** โ€” manifest persist, tinggal re-apply ke format tool baru (mode `switch`)
73
+
74
+ **Mode:** `init` (provisioning awal) ยท `switch` (pindah tool) ยท `sync` (perbaiki drift)
75
+
76
+ **Input Example:**
77
+ ```
78
+ /setup-workspace init
79
+ /setup-workspace switch tool=opencode # saat pindah dari Claude Code ke OpenCode
80
+ ```
81
+
82
+ **Output:**
83
+ - `state/workspace-manifest.json` (desired-state: daftar skill + MCP, platform-agnostic)
84
+ - Config MCP per tool + skills terpasang
85
+
86
+ **๐Ÿ‘ค Human Task:**
87
+ - Review ringkasan skill/MCP sebelum apply
88
+ - Isi env var sensitif (mis. `POSTGRES_URL`) yang ditulis sebagai placeholder `${VAR}`
89
+
90
+ โš ๏ธ Otomatis dipanggil Orchestrator di Fase 1 (setelah tech stack) & Fase 2 (sebelum coding), tapi bisa dipanggil manual kapan saja.
91
+
92
+ ---
93
+
94
+ ### 2. **PM Agent** (`/pm`) โญ NEW
95
+ **Role:** Project Manager & Task Coordinator
96
+
97
+ **Capabilities:**
98
+ - โœ… Membuat dan mengelola task list di `task/task_list.md`
99
+ - โœ… Memecah specifications menjadi actionable tasks dengan priority (P0-P3)
100
+ - โœ… Tracking status setiap task (not_started โ†’ dev โ†’ testing โ†’ passed)
101
+ - โœ… Mengelola dependencies antar task
102
+ - โœ… Generate project status reports
103
+ - โœ… Monitoring progress dari development logs
104
+ - โœ… Mengidentifikasi blockers dan bottlenecks
105
+
106
+ **When to Use:**
107
+ - Setelah Analyst membuat specifications (untuk create task list)
108
+ - Saat ingin cek project progress
109
+ - Saat perlu update task status setelah development/testing
110
+ - Saat planning sprint atau prioritization
111
+
112
+ **Input Example:**
113
+ ```
114
+ /pm
115
+
116
+ "Buat task list berdasarkan semua specifications yang sudah ada"
117
+ ```
118
+
119
+ **Output:**
120
+ - `task/task_list.md` dengan struktur:
121
+ - Priority sections (P0: Critical โ†’ P3: Low)
122
+ - Task format: TASK-XXX dengan spec reference, status, dependencies
123
+ - Summary: Total tasks, completed, in progress, blocked
124
+ - `task/PROJECT_STATUS_REPORT.md` (jika diminta generate report)
125
+
126
+ **Task Status Flow:**
127
+ ```
128
+ not_started โ†’ dev (Developer working) โ†’ ready_to_test (Dev complete)
129
+ โ†’ testing_ready (Test scenarios created) โ†’ testing (Tester running)
130
+ โ†’ passed/failed โ†’ human_validated
131
+ ```
132
+
133
+ **Priority Levels:**
134
+ - **P0 (Critical):** Blockers, production bugs, foundational features
135
+ - **P1 (High):** Core features, important bugs
136
+ - - **P2 (Medium):** Enhancement, minor features
137
+ - **P3 (Low):** Nice-to-have, future improvements
138
+
139
+ **๐Ÿ‘ค Human Task:**
140
+ - Review task priorities (sesuai bisnis priority?)
141
+ - Validate task breakdown (granularity OK?)
142
+ - Approve task assignments
143
+ - Manual validation setelah task passed (human_validated status)
144
+
145
+ **Workflow Integration:**
146
+ ```
147
+ [Analyst] Create specs โ†’ [PM] Generate task list
148
+ โ†“
149
+ [Developer] Pick task โ†’ Update status: dev โ†’ ready_to_test
150
+ โ†“
151
+ [Tester] Create tests โ†’ Update status: testing_ready โ†’ testing โ†’ passed
152
+ โ†“
153
+ [PM] Monitor progress โ†’ Generate status reports
154
+ ```
155
+
156
+ ---
157
+
158
+ ### 3. **Analyst Agent** (`/analyst`)
159
+ **Role:** Lead System Analyst & DevOps Architect
160
+
161
+ **Capabilities:**
162
+ - โœ… Membaca `project_overview.md` untuk context
163
+ - โœ… Membuat spesifikasi infrastruktur (Docker, database schema)
164
+ - โœ… Membuat spesifikasi fitur (user stories, API contracts, UI mockups)
165
+ - โœ… Memecah fitur besar menjadi atomic specifications (1 file = 1 user story)
166
+ - โœ… Validasi tech stack sudah terisi sebelum lanjut
167
+
168
+ **Critical Rule:**
169
+ - **WAJIB** membuat `000_spec_environment_setup.md` terlebih dahulu sebelum spec fitur
170
+
171
+ **Input Example:**
172
+ ```
173
+ /analyst
174
+
175
+ "Buat spesifikasi untuk fitur Booking Management"
176
+ ```
177
+
178
+ **Output:**
179
+ - `specifications/004_spec_booking_management.md`
180
+ - Atau breakdown menjadi multiple atomic specs jika fitur terlalu besar
181
+
182
+ **๐Ÿ‘ค Human Task:**
183
+ - Review spesifikasi (apakah sesuai kebutuhan bisnis?)
184
+ - Check API contracts & database schema
185
+ - Approve sebelum Developer mulai coding
186
+
187
+ **Workflow Integration:**
188
+ ```
189
+ [Analyst] Create specification
190
+ โ†“
191
+ [PM] Create task from spec โ†’ Add to task/task_list.md
192
+ โ†“
193
+ [Developer] Pick task and implement
194
+ ```
195
+
196
+ ---
197
+
198
+ ### 4. **Developer Agent** (`/developer`)
199
+ **Role:** Senior Full-Stack Developer
200
+
201
+ **Capabilities:**
202
+ - โœ… Membaca spesifikasi dari Analyst
203
+ - โœ… Menulis kode (frontend, backend, database migration)
204
+ - โœ… Mengikuti coding standards & best practices
205
+ - โœ… Membuat development log otomatis (`logs/development/dev_*.md`)
206
+ - โœ… Menjalankan build & check errors
207
+ - โœ… Fixing bugs berdasarkan error feedback
208
+ - โœ… **Update task status** di `task/task_list.md` (not_started โ†’ dev โ†’ ready_to_test)
209
+
210
+ **Input Example:**
211
+ ```
212
+ /developer
213
+
214
+ "Implementasikan SPEC-004 (Pricing Configuration Module)"
215
+ ```
216
+
217
+ **Output:**
218
+ - Kode di `codes/` (API routes, components, database schema)
219
+ - `logs/development/dev_004_pricing_module.md` (log perubahan)
220
+
221
+ **๐Ÿ‘ค Human Task:**
222
+ - Code review (check logic, security, performance)
223
+ - Manual testing di browser/Postman
224
+ - Approve atau minta fixing
225
+
226
+ **Task Management Workflow:**
227
+ ```
228
+ [Developer] Read task/task_list.md โ†’ Find task with status "not_started"
229
+ โ†“
230
+ [Developer] Update status: not_started โ†’ dev (set "Assigned To: Developer Agent")
231
+ โ†“
232
+ [Developer] Implement feature โ†’ Create development log
233
+ โ†“
234
+ [Developer] Update status: dev โ†’ ready_to_test (with timestamp)
235
+ ```
236
+
237
+ ---
238
+
239
+ ### 5. **Tester Agent** (`/tester`)
240
+ **Role:** QA Engineer & Test Automation Specialist
241
+
242
+ **Capabilities:**
243
+ - โœ… Membuat unit tests, integration tests, E2E tests
244
+ - โœ… Menjalankan tests di terminal
245
+ - โœ… Menganalisis test failures & memberikan fixing recommendation
246
+ - โœ… Membuat testing log (`logs/testing/test_*.md`)
247
+ - โœ… Self-healing: Memperbaiki tests yang broken karena code changes
248
+ - โœ… **Update task status** di `task/task_list.md` (ready_to_test โ†’ testing_ready โ†’ testing โ†’ passed/failed)
249
+
250
+ **Input Example:**
251
+ ```
252
+ /tester
253
+
254
+ "Buat dan jalankan test untuk Pricing Configuration API"
255
+ ```
256
+
257
+ **Output:**
258
+ - Test files di `tests/`
259
+ - Terminal execution results
260
+ - `logs/testing/test_004_pricing.md`
261
+
262
+ **๐Ÿ‘ค Human Task:**
263
+ - Verify test coverage (apakah sudah lengkap?)
264
+ - Check test results (all green?)
265
+ - Manual exploratory testing untuk edge cases
266
+
267
+ **Task Management Workflow:**
268
+ ```
269
+ [Tester] Read task/task_list.md โ†’ Find task with status "ready_to_test"
270
+ โ†“
271
+ [Tester] Create test scenarios โ†’ Update status: ready_to_test โ†’ testing_ready
272
+ โ†“
273
+ [Tester] Run tests โ†’ Update status: testing_ready โ†’ testing
274
+ โ†“
275
+ [Tester] Check results โ†’ Update status: testing โ†’ passed (or failed)
276
+ ```
277
+
278
+ ---
279
+
280
+ ### 5b. **Manual Tester Agent** (`/manual-test`) โญ NEW
281
+ **Role:** Manual/UAT Tester (Headful Playwright)
282
+
283
+ **Capabilities:**
284
+ - โœ… Menyusun **scenario matrix** per fitur/fungsi โ€” minimal 1 Normal case + 1 Abnormal case masing-masing
285
+ - โœ… Eksekusi **headful** Playwright (browser terlihat) โ€” tidak ada mode headless
286
+ - โœ… Screenshot bukti untuk setiap skenario (`tests/screenshots/[TASK-ID]/iteration-[N]/`)
287
+ - โœ… Update Pass/Fail per skenario, triase temuan gagal sebagai **Major** atau **Minor**
288
+ - โœ… Sheet **Summary** agregat (total skenario, pass, fail, major, minor, pass rate) + sheet **Detail** (langkah, ekspektasi, aktual, screenshot, catatan) โ€” keduanya markdown table dalam satu laporan
289
+ - โœ… **Retest iterasi** โ€” histori tiap iterasi tetap tersimpan (append, bukan overwrite), nomor iterasi tercatat di laporan
290
+ - โœ… **Append-only** ke `Status Logs:` โ€” tidak pernah mengubah `Current Status` milik pipeline Tester/Fixer, sehingga bisa dipanggil kapan saja tanpa bentrok status
291
+
292
+ **Berbeda dari Tester Agent:** Tester = scripted E2E (assertion-based, cocok CI). Manual Tester = bergaya human UAT (bukti visual + defect log untuk stakeholder/klien). Keduanya independen, bisa dipakai berdampingan.
293
+
294
+ **Input Example:**
295
+ ```
296
+ /manual-test
297
+
298
+ "Buat dan jalankan manual UAT test untuk fitur Booking Management"
299
+ ```
300
+
301
+ **Output:**
302
+ - `tests/screenshots/[TASK-ID]/iteration-[N]/*.png`
303
+ - `task/[TASK-ID]_[nama-task]/manual_test_report.md` (Summary + Scenario Detail, bertambah tiap iterasi retest)
304
+
305
+ **๐Ÿ‘ค Human Task:**
306
+ - Review temuan Major โ†’ putuskan apakah lanjut ke Fixer
307
+ - Review temuan Minor โ†’ terima sebagai known-issue atau minta perbaikan juga
308
+ - Approve saat semua skenario Pass (atau Minor yang tersisa sudah didokumentasikan)
309
+
310
+ **Retest Workflow:**
311
+ ```
312
+ [Manual Tester] Iteration 1 โ†’ 3 Fail (1 Major, 2 Minor) โ†’ notify Fixer
313
+ โ†“
314
+ [Fixer] Fix bug โ†’ Ready to test
315
+ โ†“
316
+ [Manual Tester] Iteration 2 (retest skenario yang Fail) โ†’ semua Pass
317
+ โ†“
318
+ ๐Ÿ‘ค Human approve UAT
319
+ ```
320
+
321
+ ---
322
+
323
+ ### 6. **Fixer Agent** (`/fixer`)
324
+ **Role:** Bug Hunter & Debugging Specialist
325
+
326
+ **Capabilities:**
327
+ - โœ… Menganalisis error messages (compile errors, runtime errors, test failures)
328
+ - โœ… Membaca stack trace dan pinpoint root cause
329
+ - โœ… Memperbaiki bugs dengan minimal side effects
330
+ - โœ… Membuat fixing log (`logs/fixing/fixing_*.md`)
331
+ - โœ… Validasi fix dengan menjalankan tests
332
+ - โœ… Regression testing (pastikan fix tidak break fitur lain)
333
+ - โœ… **Update task status** di `task/task_list.md` (failed โ†’ fixing โ†’ ready_to_test)
334
+
335
+ **When to Use:**
336
+ - Setelah Developer bikin code tapi ada errors
337
+ - Setelah Tester report bugs
338
+ - Production bugs yang perlu hotfix
339
+ - Build failures di CI/CD
340
+
341
+ **Input Example:**
342
+ ```
343
+ /fixer
344
+
345
+ "Ada bug di create booking: DP amount tidak ter-kalkulasi.
346
+ Error: Cannot read property 'totalPrice' of undefined
347
+ File: app/api/backoffice/bookings/route.ts:45
348
+
349
+ Error terjadi saat user submit booking form dengan pax > 10"
350
+ ```
351
+
352
+ **Output:**
353
+ - Fixed code di `codes/`
354
+ - `logs/fixing/fixing_003_booking_dp_calculation.md` (detailed analysis + solution)
355
+ - Test execution result (verify fix works)
356
+
357
+ **๐Ÿ‘ค Human Task:**
358
+ - Verify fix logic (apakah benar-benar solve root cause?)
359
+ - Check for side effects (fitur lain masih jalan?)
360
+ - Manual testing dengan scenario yang sama
361
+ - Approve atau minta alternative solution
362
+
363
+ **Workflow Integration:**
364
+ ```
365
+ Developer creates code โ†’ Error found
366
+ โ†“
367
+ Fixer analyzes โ†’ Fix bug โ†’ Run tests
368
+ โ†“
369
+ All green? โ†’ Done โœ…
370
+ Not green? โ†’ Iterate fix
371
+ ```
372
+
373
+ **Task Management Workflow:**
374
+ ```
375
+ [Tester] Find bugs โ†’ Update task status: passed โ†’ failed
376
+ โ†“
377
+ [Fixer] Read task/task_list.md โ†’ Find task with status "failed"
378
+ โ†“
379
+ [Fixer] Update status: failed โ†’ fixing (set "Assigned To: Fixer Agent")
380
+ โ†“
381
+ [Fixer] Fix bugs โ†’ Update spesifikasi terkait fitur yang difixing (jika ada penyesuaian scope) โ†’ Create fixing log
382
+ โ†“
383
+ [Fixer] Update status: fixing โ†’ ready_to_test (back to Tester)
384
+ ```
385
+
386
+ ---
387
+
388
+ ### 7. **SysArch Agent** (`/sysarch`)
389
+ **Role:** System Architecture & Operations Specialist
390
+
391
+ **Capabilities:**
392
+ - โœ… Menganalisis application requirements dari codebase dan specifications
393
+ - โœ… Mendesain server specifications (CPU, RAM, Storage, Bandwidth)
394
+ - โœ… Merencanakan infrastructure architecture (dev, staging, production)
395
+ - โœ… Mengestimasi resource requirements & costs
396
+ - โœ… Merekomendasikan deployment strategies (VPS, cloud, containerized)
397
+ - โœ… Membuat operational guidelines (monitoring, backup, scaling, disaster recovery)
398
+ - โœ… Mengoptimasi biaya infrastruktur
399
+
400
+ **When to Use:**
401
+ - Sebelum deployment ke production (infrastructure planning)
402
+ - Saat aplikasi mulai lambat (performance analysis & scaling recommendation)
403
+ - Saat budget review (cost optimization analysis)
404
+ - Saat planning capacity untuk high season
405
+
406
+ **Input Example:**
407
+ ```
408
+ /sysarch
409
+
410
+ "Analyze current codebase and design server specifications
411
+ for production deployment. Target: 100 concurrent users,
412
+ 50 bookings/day, 99.9% uptime."
413
+ ```
414
+
415
+ **Output:**
416
+ - `architecture/current_state.md` - Application analysis
417
+ - `architecture/server_specifications.md` - Detailed server specs
418
+ - `architecture/deployment_plan.md` - Step-by-step deployment guide
419
+ - `architecture/cost_analysis.md` - Infrastructure cost breakdown
420
+ - `architecture/monitoring_plan.md` - Observability & alerting setup
421
+
422
+ **๐Ÿ‘ค Human Task:**
423
+ - Jawab questions tentang load requirements (concurrent users, transactions, etc.)
424
+ - Review server specifications (sesuai budget?)
425
+ - Approve deployment plan
426
+ - Check cost estimates (sustainable?)
427
+ - Decide cloud provider preference
428
+
429
+ **Critical Questions SysArch Will Ask:**
430
+ 1. **User Load:** Concurrent users, growth rate, peak season multiplier
431
+ 2. **Transaction Volume:** Bookings/day, payments/day, API requests/min
432
+ 3. **Data & Storage:** File uploads, data retention, backup requirements
433
+ 4. **Performance:** API response time, page load time, CDN needs
434
+ 5. **Availability:** Uptime target (99%, 99.9%, 99.99%), HA requirements
435
+ 6. **Budget:** Monthly infrastructure budget, cloud provider preference
436
+ 7. **Security:** SSL, WAF, DDoS protection, compliance (PCI-DSS, GDPR, UU PDP)
437
+
438
+ **Example Workflow:**
439
+ ```
440
+ [SysArch] Ask requirements โ†’ [๐Ÿ‘ค Human] Answer questions
441
+ โ†“
442
+ [SysArch] Analyze codebase โ†’ Design architecture
443
+ โ†“
444
+ [SysArch] Create specs & deployment plan โ†’ [๐Ÿ‘ค Human] Review & Approve
445
+ โ†“
446
+ [Developer/SysArch] Deploy to production
447
+ โ†“
448
+ [SysArch] Setup monitoring โ†’ [๐Ÿ‘ค Human] Monitor metrics
449
+ ```
450
+
451
+ ---
452
+
453
+ ### 8. **Security Expert Agent** (`/security`)
454
+ **Role:** Application Security Expert
455
+
456
+ **Capabilities:**
457
+ - โœ… Threat modeling menggunakan metodologi STRIDE
458
+ - โœ… OWASP Top 10 vulnerability scanning
459
+ - โœ… Secrets dan hardcoded credential detection
460
+ - โœ… Dependency vulnerability scan (`npm audit`, dll)
461
+ - โœ… Implementasi security fix (input validation, parameterized queries, header hardening)
462
+ - โœ… Pre-release security audit
463
+
464
+ **4 Mode Kerja:**
465
+ - **Mode A โ€” Threat Model:** Identifikasi attack surface dan threat berdasarkan arsitektur
466
+ - **Mode B โ€” Vulnerability Scan:** OWASP Top 10 check + dependency scan + secrets check
467
+ - **Mode C โ€” Security Fix:** Implementasi patch untuk temuan CRITICAL dan HIGH
468
+ - **Mode D โ€” Pre-release Audit:** Quick scan perubahan sejak release terakhir
469
+
470
+ **When to Use:**
471
+ - Pipeline `/security-audit` untuk full audit manual
472
+ - Otomatis di `/start-feature` saat `depth=deep`
473
+ - Otomatis di `/release` (Mode D, selalu)
474
+
475
+ **Input Example:**
476
+ ```
477
+ /security
478
+
479
+ "Mode B: Lakukan vulnerability scan pada fitur authentication dan payment"
480
+ ```
481
+
482
+ **Output:**
483
+ - `task/[TASK-ID]/security_threat_model.md` (Mode A)
484
+ - `task/[TASK-ID]/security_report.md` (Mode B/C/D)
485
+
486
+ **๐Ÿ‘ค Human Task:**
487
+ - Review temuan dan tentukan mana yang perlu di-fix vs accepted risk
488
+ - Approve sebelum Security Fix diimplementasi (untuk CRITICAL)
489
+ - Final sign-off setelah semua fix diverifikasi
490
+
491
+ ---
492
+
493
+ ### 9. **Data Architect Agent** (`/data-architect`) โ€” Fase Perencanaan
494
+ **Role:** Data Architect
495
+
496
+ - โœ… Merancang data model, ERD, skema per-entity, indexing
497
+ - โœ… Data governance: PII, retention, encryption at rest, audit
498
+ - โœ… Migration strategy sesuai tooling stack
499
+ - **Output:** `state/knowledge_base/data-model/` ยท **Acuan untuk:** Backend Engineer
500
+
501
+ ---
502
+
503
+ ### 10. **UX Designer Agent** (`/ux-designer`) โ€” Fase Perencanaan
504
+ **Role:** UX/UI Designer
505
+
506
+ - โœ… Design system: color palette, tipografi, spacing, spec komponen, motion
507
+ - โœ… Memakai skill `ui-ux-pro-max`
508
+ - โœ… Accessibility & responsive guidelines
509
+ - **Output:** `state/knowledge_base/design-system/` ยท **Acuan untuk:** Frontend Engineer
510
+
511
+ ---
512
+
513
+ ### 11. **Backend Engineer Agent** (`/backend`) โ€” Fase Pengerjaan
514
+ **Role:** Senior Backend Engineer (`depth=standard|deep`)
515
+
516
+ - โœ… Implementasi API, business logic, akses DB **sesuai API Contract**
517
+ - โœ… Honor `data-model/` dan `security-standards.md`
518
+ - โœ… Unit test + propagasi perubahan contract ke Frontend
519
+ - **Output:** `codes/*` (server) ยท **Paralel dengan:** Frontend Engineer
520
+
521
+ ---
522
+
523
+ ### 12. **Frontend Engineer Agent** (`/frontend`) โ€” Fase Pengerjaan
524
+ **Role:** Senior Frontend Engineer & UI Specialist (`depth=standard|deep`)
525
+
526
+ - โœ… Implementasi UI **sesuai design-system** + integrasi **API Contract**
527
+ - โœ… Memakai skill `ui-ux-pro-max`; handle semua state (loading/empty/error)
528
+ - โœ… Component test + a11y
529
+ - **Output:** `codes/*` (client) ยท **Paralel dengan:** Backend Engineer
530
+
531
+ ---
532
+
533
+ ### 13. **Reliability Engineer Agent** (`/reliability`) โ€” Fase Hardening
534
+ **Role:** Reliability & Performance Engineer (per-release)
535
+
536
+ - โœ… Performance review (N+1, indexing, caching, payload)
537
+ - โœ… Resilience: error handling, timeout/retry, graceful degradation
538
+ - โœ… Load test + observability audit
539
+ - **Output:** `task/[RELEASE]/reliability_report.md`
540
+
541
+ ---
542
+
543
+ ### 14. **Document Agent** (`/document`)
544
+ **Role:** Technical Writer
545
+
546
+ **Capabilities:**
547
+ - โœ… Menggabungkan semua specifications menjadi FSD (Functional Specification Document)
548
+ - โœ… Generate API documentation
549
+ - โœ… Membuat user manual / deployment guide
550
+ - โœ… Format markdown yang professional & readable
551
+
552
+ **Input Example:**
553
+ ```
554
+ /document
555
+
556
+ "Generate FSD lengkap dari semua specifications"
557
+ ```
558
+
559
+ **Output:**
560
+ - `documentation/FSD_VasVibe.md`
561
+ - `documentation/API_Documentation.md`
562
+
563
+ **๐Ÿ‘ค Human Task:**
564
+ - Final review dokumentasi
565
+ - Share ke stakeholder (investor, klien)
566
+
567
+ ---
568
+
569
+ ## ๐Ÿค– Peran & Perintah (Slash Commands)
570
+
571
+ | Agent | Command | Primary Function | Output | Human Review |
572
+ | --- | --- | --- | --- | --- |
573
+ | Agen | Command | Fase | Primary Function | Output |
574
+ | --- | --- | --- | --- | --- |
575
+ | **Discovery** | `/discovery` | Perencanaan | Requirement gathering (wawancara human) | `state/knowledge_base/requirements/` |
576
+ | **Initiator** | `/initiator` | Perencanaan | Project overview (sintesis requirements) | `project_overview.md` |
577
+ | **SysArch** | `/sysarch` | Perencanaan | Infrastructure & deployment planning | `state/knowledge_base/architecture/` |
578
+ | **Data Architect** | `/data-architect` | Perencanaan | Data model & governance | `state/knowledge_base/data-model/` |
579
+ | **UX Designer** | `/ux-designer` | Perencanaan | Design system & UI guidelines | `state/knowledge_base/design-system/` |
580
+ | **Security** | `/security` | Perencanaan + Hardening | Standards, threat model, OWASP, fix | `state/knowledge_base/security/`, `task/[ID]/security_report.md` |
581
+ | **Analyst** | `/analyst` | Perencanaan | User story, **API Contract**, spec-lock | `specifications/*.md` |
582
+ | **PM** | `/pm` | Lintas fase | Task management & coordination | `task/task_list.md` |
583
+ | **Backend Engineer** | `/backend` | Pengerjaan | Server API, logic, DB (std/deep) | `codes/*` |
584
+ | **Frontend Engineer** | `/frontend` | Pengerjaan | UI/UX & API integration (std/deep) | `codes/*` |
585
+ | **Developer** | `/developer` | Pengerjaan | Fullstack tunggal (`depth=fast`) | `codes/*` |
586
+ | **QA** | `/qa` | Pengerjaan | Static review & unit test | `task/[ID]/qa_report.md` |
587
+ | **Tester** | `/tester` | Testing | E2E test automation | `tests/*` |
588
+ | **Manual Tester** | `/manual-test` | Testing (opsional) | Headful UAT: scenario matrix, screenshot, defect triage | `task/[ID]/manual_test_report.md` |
589
+ | **Fixer** | `/fixer` | Testing + Hardening | Bug fixing & debugging | `codes/*` |
590
+ | **Reliability** | `/reliability` | Hardening | Performance, resilience, load | `task/[RELEASE]/reliability_report.md` |
591
+ | **DevOps** | `/devops` | Lintas fase | Docker, CI/CD, deployment | `Dockerfile`, `.github/workflows/` |
592
+ | **Document** | `/document` | Lintas fase | Final documentation | `documentation/*.md` |
593
+ | **Orchestrator** | `/plan-project`, `/build-feature`, dll | Lintas fase | Pipeline & phase gates | `state/pipeline_log.md` |
594
+
595
+ ---