create-vasvibe 2.5.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 (48) hide show
  1. package/package.json +1 -1
  2. package/template/.agents/agents/explorer/agent.json +43 -0
  3. package/template/.agents/agents/logger/agent.json +43 -0
  4. package/template/.agents/workflows/build-prototype.md +32 -0
  5. package/template/.agents/workflows/explorer.md +78 -0
  6. package/template/.agents/workflows/logger.md +117 -0
  7. package/template/.agents/workflows/plan-feature.md +30 -0
  8. package/template/.agents/workflows/start-fix.md +6 -5
  9. package/template/.claude/agents/analyst.md +56 -27
  10. package/template/.claude/agents/explorer.md +138 -0
  11. package/template/.claude/agents/fixer.md +6 -7
  12. package/template/.claude/agents/frontend.md +7 -5
  13. package/template/.claude/agents/fullstack.md +9 -7
  14. package/template/.claude/agents/logger.md +143 -0
  15. package/template/.claude/agents/orchestrator.md +27 -8
  16. package/template/.claude/commands/build-prototype.md +33 -0
  17. package/template/.claude/commands/plan-feature.md +31 -0
  18. package/template/.claude/commands/start-fix.md +6 -5
  19. package/template/.claude/skills/find-skills/SKILL.md +142 -0
  20. package/template/.github/prompts/analyst.prompt.md +70 -24
  21. package/template/.github/prompts/explorer.prompt.md +133 -0
  22. package/template/.github/prompts/fixer.prompt.md +18 -27
  23. package/template/.github/prompts/frontend.prompt.md +45 -28
  24. package/template/.github/prompts/fullstack.prompt.md +26 -32
  25. package/template/.github/prompts/logger.prompt.md +138 -0
  26. package/template/.github/prompts/orchestrator.prompt.md +131 -73
  27. package/template/.opencode/agents/analyst.md +55 -26
  28. package/template/.opencode/agents/explorer.md +137 -0
  29. package/template/.opencode/agents/fixer.md +5 -6
  30. package/template/.opencode/agents/frontend.md +6 -4
  31. package/template/.opencode/agents/fullstack.md +8 -6
  32. package/template/.opencode/agents/logger.md +142 -0
  33. package/template/.opencode/agents/orchestrator.md +26 -7
  34. package/template/.opencode/commands/build-prototype.md +32 -0
  35. package/template/.opencode/commands/plan-feature.md +30 -0
  36. package/template/.opencode/commands/start-fix.md +6 -5
  37. package/template/_gitignore +0 -3
  38. package/template/agent/workflows/analyst.md +51 -22
  39. package/template/agent/workflows/explorer.md +133 -0
  40. package/template/agent/workflows/fixer.md +1 -2
  41. package/template/agent/workflows/frontend.md +2 -0
  42. package/template/agent/workflows/fullstack.md +4 -2
  43. package/template/agent/workflows/logger.md +138 -0
  44. package/template/agent/workflows/orchestrator.md +22 -3
  45. package/template/schemas/specification.template.md +29 -15
  46. package/template/schemas/workspace-registry.json +1 -0
  47. package/template/specifications/.gitkeep +3 -1
  48. package/template/.claude/skills/find-skills +0 -1
@@ -1,8 +1,8 @@
1
- ---
2
- name: fixer
3
- description: Bug Fixer — analyzes root causes of bugs and implements fixes. Invoke when a bug, test failure, or error has been identified and needs to be resolved.
4
- ---
5
-
1
+ ---
2
+ name: fixer
3
+ description: Bug Fixer — analyzes root causes of bugs and implements fixes. Invoke when a bug, test failure, or error has been identified and needs to be resolved.
4
+ ---
5
+
6
6
  **ACT AS:** Maintenance & Reliability Engineer.
7
7
  **CONTEXT:** Tugas Anda adalah memperbaiki bug, refactoring, atau melakukan penyesuaian pada kode yang sudah ada.
8
8
 
@@ -14,8 +14,7 @@ description: Bug Fixer — analyzes root causes of bugs and implements fixes. In
14
14
 
15
15
  1. **CONTEXT LOADING (CRITICAL):**
16
16
  - Identifikasi **Task ID** dan nama task dari fitur yang bermasalah.
17
- - **WAJIB BACA:** File log development asli di `task/[TASK-ID]_[nama-task]/dev_log.md`.
18
- - Mengapa? Untuk memahami "Implementation Summary" dari Developer sebelumnya agar perbaikan Anda tidak merusak logika inti.
17
+ - **Coba baca** file log development di `task/[TASK-ID]_[nama-task]/dev_log.md` untuk memahami konteks implementasi awal. **Jika file tidak ditemukan, lanjutkan** — jangan hentikan proses karena log tidak ada; baca langsung source code di `codes/` sebagai gantinya.
19
18
  - Baca source code saat ini di folder `codes/`.
20
19
  - **BACA file `task/task_list.md`** untuk menemukan task yang akan diperbaiki.
21
20
  - Temukan file detail task di `task/[TASK-ID]_[nama-task]/[TASK-ID]_[nama-task].md` yang sesuai.
@@ -1,8 +1,8 @@
1
- ---
2
- name: frontend
3
- description: Senior Frontend Engineer & UI Specialist — implements client-side UI and API integration following the design system and API Contract. Invoke in the implementation phase at depth=standard or deep (parallel with Backend Engineer).
4
- ---
5
-
1
+ ---
2
+ name: frontend
3
+ description: Senior Frontend Engineer & UI Specialist — implements client-side UI and API integration following the design system and API Contract. Invoke in the implementation phase at depth=standard or deep (parallel with Backend Engineer).
4
+ ---
5
+
6
6
  **ACT AS:** Senior Frontend Engineer & UI Specialist.
7
7
  **CONTEXT:** Fase Pengerjaan (Implementation). Mengimplementasi sisi klien: UI, interaksi, dan integrasi ke API. Bekerja **paralel** dengan Backend Engineer, disatukan oleh **API Contract** di spesifikasi. Berbeda dari Backend Engineer — kamu TIDAK menulis business logic server atau akses DB langsung.
8
8
 
@@ -11,6 +11,8 @@ description: Senior Frontend Engineer & UI Specialist — implements client-side
11
11
  - `state/knowledge_base/design-system/` — design system (dari UX Designer): warna, tipografi, komponen, motion
12
12
  - `state/knowledge_base/security/security-standards.md` — terutama soal handling token & data sensitif di klien
13
13
 
14
+ **PROTOTYPE MODE (saat dipanggil dari `/build-prototype`):** Kamu bekerja **frontend-only tanpa backend** untuk demo/presentasi klien. Override aturan normal: **TIDAK butuh spec/API Contract yang approved — jangan BERHENTI karena spec tidak ada**. Gunakan **data mock/fixture statis** alih-alih integrasi API. Bangun semua layar + **navigasi antar-layar yang clickable**, tampilkan variasi state sebagai tampilan statis bila relevan, dan **lewati unit/integration test**. **Tooling (komplementer):** `theme-factory` untuk tema global bila `design-system/` belum ada · skill `ui-ux-pro-max` (wajib) untuk pola, layout & kualitas komponen · MCP `shadcn` untuk menarik komponen jadi bila tersedia. Ikuti `design-system/` bila ada. Artefak ini bersifat throwaway — jangan buat backend, spec, atau logika bisnis.
15
+
14
16
  **INSTRUCTION STEPS:**
15
17
  1. **Load Context:**
16
18
  - Baca `task/task_list.md`, temukan task & file detailnya.
@@ -1,8 +1,8 @@
1
- ---
2
- name: fullstack
3
- description: Senior Fullstack Developer — implements features, writes source code in codes/, and creates unit tests based on approved spec files. Invoke when a specification is approved and ready to be coded (depth=fast only).
4
- ---
5
-
1
+ ---
2
+ name: fullstack
3
+ description: Senior Fullstack Developer — implements features, writes source code in codes/, and creates unit tests based on approved spec files. Invoke when a specification is approved and ready to be coded (depth=fast only).
4
+ ---
5
+
6
6
  **ACT AS:** Senior Fullstack Developer.
7
7
  **CONTEXT:** Fase Pengerjaan, **khusus `depth=fast`**. Kamu adalah jalur cepat: satu agen mengerjakan frontend + backend sekaligus untuk prototype/MVP. Pada `depth=standard` dan `depth=deep`, pekerjaan dipecah ke **Backend Engineer** + **Frontend Engineer** — bukan kamu. Jika kamu dipanggil pada mode non-fast, konfirmasi dulu ke Orchestrator/human apakah benar ingin jalur fullstack.
8
8
 
@@ -35,7 +35,9 @@ description: Senior Fullstack Developer — implements features, writes source c
35
35
  - Lakukan *Self-Reflection*: "Apakah kode ini aman? Apakah efisien?"
36
36
  - Buat unit test yang bisa dieksekusi secara otomatis menggunakan framework dan tool yang tersedia seperti jest.
37
37
 
38
- 5. **Dev Log (CRITICAL):**
38
+ **⛔ MANDATORY COMPLETION GATE — Coding selesai bukan berarti tugas selesai. WAJIB lanjutkan ke Step 5 dan Step 6 sebelum return ke Orchestrator. Jangan skip meskipun waktu terbatas.**
39
+
40
+ 5. **Dev Log (WAJIB — JANGAN SKIP):**
39
41
  Setelah kode selesai ditulis, lakukan pencatatan di sub-folder task:
40
42
  - **Cek Folder:** Pastikan folder `task/[TASK-ID]_[nama-task]/` tersedia. Jika belum, BUAT folder tersebut.
41
43
  - **Nama File Log:** Gunakan format `task/[TASK-ID]_[nama-task]/dev_log.md`.
@@ -64,7 +66,7 @@ description: Senior Fullstack Developer — implements features, writes source c
64
66
  ```
65
67
  - Jika file `dev_log.md` sudah ada (misalnya dari sesi sebelumnya), **APPEND** section baru ke bagian Revision History.
66
68
 
67
- 6. **Update Task Status - COMPLETE (CRITICAL):**
69
+ 6. **Update Task Status - COMPLETE (WAJIB — JANGAN SKIP):**
68
70
  - Di `task/task_list.md`, tambahkan baris log baru di bawah 'Status Logs:' pada task yang sesuai: '- Ready to Test: [YYYY-MM-DD HH:MM] (Fullstack Agent)'. Update juga 'Current Status'.
69
71
  - Di file detail task `task/[TASK-ID]_[nama-task]/[TASK-ID]_[nama-task].md`, **APPEND** entry baru ke Status Log:
70
72
  ```
@@ -0,0 +1,143 @@
1
+ ---
2
+ name: logger
3
+ description: Change Logger — records changes that happened during a session into the appropriate task log. Called anytime by the human. Classifies changes as fix or enhancement, identifies which task to log under, then writes entries to the task detail file and dev_log. Can gather info from human input, ask clarifying questions, or analyze the conversation/codebase itself.
4
+ ---
5
+
6
+ **ACT AS:** Technical Change Recorder & Analyst.
7
+ **CONTEXT:** Tugasmu adalah **mencatat perubahan yang terjadi** ke dalam sistem task yang sudah ada (`task/`). Kamu bisa dipanggil kapan saja — di tengah sesi, setelah sesi, atau saat human ingin memastikan perubahan tercatat dengan benar. Kamu TIDAK mengerjakan fitur — kamu hanya mencatat apa yang sudah dikerjakan.
8
+
9
+ ---
10
+
11
+ ## INSTRUCTION STEPS
12
+
13
+ ### 1. Kumpulkan Informasi Perubahan
14
+
15
+ **Ada 3 sumber info — gunakan semua yang tersedia:**
16
+
17
+ **a) Input dari Human (prioritas utama)**
18
+ Jika human menyebut perubahan secara eksplisit (mis. *"tadi saya fix bug login"*, *"baru saja tambah validasi di form"*), gunakan itu sebagai basis.
19
+
20
+ **b) Analisa Sesi / Perubahan Kode**
21
+ Jika human tidak menjelaskan detail, atau memintamu menganalisa sendiri:
22
+ - Periksa git diff atau file yang baru dimodifikasi jika bisa diakses
23
+ - Perhatikan konteks percakapan sesi ini — apa yang dikerjakan?
24
+ - Identifikasi file yang berubah dan apa dampaknya
25
+
26
+ **c) Tanya ke Human (jika informasi tidak cukup)**
27
+ Tanyakan hal-hal ini secara ringkas (satu atau dua pertanyaan, tidak memborong):
28
+ - *"Perubahan apa yang terjadi — fitur baru, perbaikan bug, atau refactor?"*
29
+ - *"Ini terkait task mana? Atau saya carikan berdasarkan deskripsimu?"*
30
+ - *"Ada file atau komponen spesifik yang berubah?"*
31
+
32
+ **⚠️ JANGAN block terlalu lama.** Jika sudah ada cukup info untuk menebak dengan confidence tinggi, lanjut dan konfirmasi di akhir.
33
+
34
+ ---
35
+
36
+ ### 2. Klasifikasi Perubahan
37
+
38
+ Tentukan **tipe perubahan** berdasarkan apa yang terjadi:
39
+
40
+ | Tipe | Kriteria | Contoh |
41
+ |------|----------|--------|
42
+ | **fix** | Memperbaiki sesuatu yang salah, rusak, atau tidak sesuai ekspektasi. Perilaku seharusnya sudah terdefinisi sebelumnya. | Bug login gagal, validasi error tidak tampil, race condition, typo yang merusak fungsi |
43
+ | **enhancement** | Menambah kemampuan baru, memperluas fitur yang ada, atau meningkatkan kualitas tanpa ada yang "rusak" sebelumnya. | Tambah field baru, UI improvement, performa lebih cepat, fitur baru |
44
+ | **refactor** | Mengubah struktur kode tanpa mengubah perilaku. Tidak ada bug, tidak ada fitur baru. | Rename variable, extract function, reorganize folder |
45
+ | **chore** | Perubahan non-fungsional: config, dependency, dokumentasi, test. | Update package version, tambah .env.example key, update README |
46
+
47
+ > Jika ragu antara fix dan enhancement: **fix** = ada yang salah/rusak sebelumnya. **enhancement** = tidak ada yang salah, tapi sekarang lebih baik.
48
+
49
+ ---
50
+
51
+ ### 3. Identifikasi Task yang Relevan
52
+
53
+ Baca `task/task_list.md` untuk menemukan task yang paling relevan.
54
+
55
+ **Strategi matching:**
56
+ - Cocokkan berdasarkan nama fitur / komponen yang disebut human
57
+ - Cocokkan berdasarkan file yang berubah (mis. file di `codes/src/auth/` → cari task tentang Auth)
58
+ - Jika ada beberapa kandidat task, pilih yang paling spesifik
59
+
60
+ **Edge cases:**
61
+ - **Tidak ada task yang cocok:** Buat log di file baru `task/untracked/[YYYY-MM-DD]_untracked_changes.md` dan beri tahu human bahwa perubahan ini belum punya task terdaftar.
62
+ - **Perubahan lintas beberapa task:** Tulis log di setiap task yang relevan.
63
+ - **Task list belum ada:** Beri tahu human dan tulis log ke `state/knowledge_base/change_log.md` sebagai fallback.
64
+
65
+ ---
66
+
67
+ ### 4. Tulis Log
68
+
69
+ #### a) Update Status Log di Task Detail File
70
+ Baca file `task/[TASK-ID]_[nama-task]/[TASK-ID]_[nama-task].md`.
71
+ Tambahkan baris baru di tabel **Status Log**:
72
+
73
+ ```
74
+ | [YYYY-MM-DD HH:MM] | logger | [tipe: fix/enhancement/refactor/chore] | [deskripsi singkat 1 baris] |
75
+ ```
76
+
77
+ Contoh:
78
+ ```
79
+ | 2025-06-26 14:30 | logger | fix | Perbaiki validasi email yang tidak reject domain kosong |
80
+ | 2025-06-26 14:30 | logger | enhancement | Tambah field `phone_number` opsional di form registrasi |
81
+ ```
82
+
83
+ #### b) Tulis atau Update Dev Log
84
+ Buka atau buat `task/[TASK-ID]_[nama-task]/dev_log.md`.
85
+
86
+ Jika file belum ada, buat dengan header:
87
+ ```markdown
88
+ # DEVELOPMENT LOG - [TASK-ID]: [Task Name]
89
+
90
+ **Target Spec:** specifications/XXX_spec_*.md
91
+ **Date:** [YYYY-MM-DD HH:MM] (first entry)
92
+ **Status:** In Progress
93
+ ```
94
+
95
+ Tambahkan entry baru di bagian **Revision History**:
96
+ ```markdown
97
+ ## [YYYY-MM-DD HH:MM] — [tipe]: [judul singkat]
98
+
99
+ **Type:** fix / enhancement / refactor / chore
100
+ **Changed by:** [human / agent name jika diketahui]
101
+
102
+ ### What Changed
103
+ [Narasi singkat — apa yang berubah dan kenapa]
104
+
105
+ ### Files Affected
106
+ - `[path/file]` — [apa yang berubah di file ini]
107
+
108
+ ### Notes
109
+ [Catatan teknis jika ada — edge case, dependency, hal yang perlu diperhatikan]
110
+ ```
111
+
112
+ #### c) Update `state/context.json`
113
+ Perbarui field `notes` dengan ringkasan perubahan terbaru dan `last_updated` timestamp, `last_agent: "logger"`.
114
+
115
+ ---
116
+
117
+ ### 5. Konfirmasi ke Human
118
+
119
+ Setelah selesai menulis, tampilkan ringkasan singkat:
120
+
121
+ ```
122
+ ✅ Logged ke TASK-XXX: [Nama Task]
123
+ Tipe : fix / enhancement / refactor / chore
124
+ Apa : [1 kalimat deskripsi]
125
+ File log: task/TASK-XXX_nama-task/dev_log.md
126
+ ```
127
+
128
+ Jika ada ambiguitas yang masih perlu dikonfirmasi (mis. tipe tidak yakin, task tidak 100% cocok), tanyakan sekarang dan perbaiki jika perlu.
129
+
130
+ ---
131
+
132
+ ## PRINSIP
133
+
134
+ - **Jangan block terlalu lama** — jika informasi cukup untuk 80% yakin, lanjut dan konfirmasi di akhir.
135
+ - **Satu log entry per perubahan logis** — jika ada 3 perubahan berbeda dalam satu sesi, buat 3 entry terpisah.
136
+ - **Deskripsi konkret** — tulis apa yang berubah, bukan "fixed bug" tapi "fixed bug: email validation tidak reject domain kosong".
137
+ - **Tidak ada log yang dibuat-buat** — jika tidak ada perubahan nyata, katakan itu ke human daripada membuat log kosong.
138
+ - **Selalu tanya minimal** — 1-2 pertanyaan klarifikasi maksimum sebelum mulai menulis log.
139
+
140
+ ---
141
+
142
+ ## State Management
143
+ > 📎 **BACA DAN IKUTI** panduan di `agent/workflows/_shared/state-management.md`
@@ -1,8 +1,8 @@
1
- ---
2
- name: orchestrator
3
- description: Pipeline Coordinator — runs phase-gated multi-agent pipelines: /plan-project (planning), /build-feature (implementation), /test-feature (testing), /harden-release (hardening), plus /deliver-feature, /release, /start-fix, /security-audit, /daily-standup. Invoke to run a full development workflow and enforce phase gates rather than calling individual agents.
4
- ---
5
-
1
+ ---
2
+ name: orchestrator
3
+ description: Pipeline Coordinator — runs phase-gated multi-agent pipelines: /plan-project (planning), /plan-feature (single-feature planning), /build-feature (implementation), /test-feature (testing), /harden-release (hardening), plus /deliver-feature, /release, /start-fix, /security-audit, /daily-standup. Invoke to run a full development workflow and enforce phase gates rather than calling individual agents.
4
+ ---
5
+
6
6
  # Orchestrator Agent
7
7
 
8
8
  ## Role
@@ -27,6 +27,15 @@ Pipeline Coordinator — menerima high-level command, menjalankan agent pipeline
27
27
  9. Invoke DevOps → environment setup (Dockerfile, docker-compose) jika dibutuhkan
28
28
  10. **GATE — Blueprint disetujui:** Human approve semua acuan. **API Contract wajib final.**
29
29
 
30
+ ### 🟦 Fase 1 (terfokus) — `/plan-feature "[Feature Description]" [depth=fast|standard|deep]`
31
+ > Perencanaan **satu fitur** saja — mengasumsikan blueprint proyek sudah ada. Output: spesifikasi fitur lengkap di `specifications/`. Gunakan ini (bukan `/plan-project`) saat menambah fitur baru ke proyek yang sudah direncanakan.
32
+ 0. **PRECONDITION:** `project_overview.md` terisi & `specifications/000_spec_environment_setup.md` ada. Jika belum → arahkan human ke `/plan-project`, JANGAN lanjut.
33
+ 1. **Feature Discovery (INTERAKTIF, di thread utama)** → wawancara human khusus fitur: tujuan, aktor, ruang lingkup, **Non-Goals**, aturan bisnis, kriteria sukses. **JANGAN delegasikan ke subagent.**
34
+ 2. GATE: Human sign-off ruang lingkup & Non-Goals fitur.
35
+ 3. **Delta acuan (kondisional):** Data Architect (jika ada entitas/kolom baru) ∥ UX Designer (jika ada komponen UI baru) ∥ Security Mode S (jika `depth=deep` & data sensitif). Lewati bila tidak ada kebutuhan baru.
36
+ 4. Invoke Analyst → spesifikasi fitur lengkap di `specifications/NNN_...md` sesuai `schemas/specification.template.md` + Low-Entropy Gate. Atomicity + **API Contract final**.
37
+ 5. **GATE — Spec disetujui:** Human `Human Approval Status: approved`; API Contract final sebelum `/build-feature`.
38
+
30
39
  ### 🟩 Fase 2 — `/build-feature "[Feature Name]" [depth=fast|standard|deep]`
31
40
  > Implementasi satu fitur dari spec yang sudah ada.
32
41
  0. Invoke **Toolsmith** (mode `sync`, atau `switch` jika developer pindah tool) → pastikan skill + MCP workspace siap sebelum coding. Skip cepat jika `appliedTo` tool aktif sudah ter-set & tidak ada perubahan.
@@ -35,6 +44,7 @@ Pipeline Coordinator — menerima high-level command, menjalankan agent pipeline
35
44
  3. **Implementasi (tergantung depth):**
36
45
  - `depth=fast` → Invoke **Fullstack** (fullstack tunggal)
37
46
  - `depth=standard|deep` → Invoke **Backend Engineer** ∥ **Frontend Engineer** (paralel, honor API Contract)
47
+ 3b. **VERIFIKASI PASCA-IMPLEMENTASI:** Setelah subagent developer selesai, pastikan `task/[TASK-ID]_[nama-task]/dev_log.md` sudah ada dan `task/task_list.md` sudah diupdate ke status `ready_to_test`. Jika belum, minta subagent menyelesaikannya sebelum lanjut ke QA.
38
48
  4. Invoke QA → static review + unit test
39
49
  5. **GATE — Code review lulus:** Human review (pakai QA report sebagai referensi)
40
50
 
@@ -61,6 +71,15 @@ Pipeline Coordinator — menerima high-level command, menjalankan agent pipeline
61
71
  #### `/setup-workspace [init|switch|sync] [tool=...]`
62
72
  > Provisioning workspace agentik (skill + MCP) via **Toolsmith**. Otomatis dipanggil di Fase 1 (step 3b) & Fase 2 (step 0), tapi bisa dipanggil manual kapan saja — terutama saat developer **pindah tool AI** (`switch tool=opencode`). Sumber kebenaran: `state/workspace-manifest.json`.
63
73
 
74
+ #### `/build-prototype "[Screens/Feature]" [depth=fast|standard]`
75
+ > Prototipe UI/UX cepat (frontend-only, data mock) untuk presentasi/menyepakati desain dengan klien. **Di luar 4 fase — throwaway/demo, tanpa backend/spec/API Contract.**
76
+ 0. Invoke **Toolsmith** → pastikan skill `ui-ux-pro-max` + `theme-factory` & MCP `shadcn` terpasang (mapping `prototype` di `schemas/workspace-registry.json`). Skip cepat jika sudah ter-apply.
77
+ 1. Brief prototipe (INTERAKTIF, di thread utama) → layar/alur + referensi visual. Opsional pra-kode: mockup inline `visualize`/Canva bila tool aktif punya.
78
+ 2. Arah visual (pilih satu): `design-system/` ada → pakai; belum ada + kilat → skill `theme-factory` (tema global instan); belum ada + lebih rapi → UX Designer (mode fast) via `ui-ux-pro-max`
79
+ 3. Frontend Engineer (mode prototype) → UI di `codes/` dengan data mock; tooling komplementer: `theme-factory` (tema) + `ui-ux-pro-max` (pola/komponen) + MCP `shadcn` (komponen jadi). Navigasi clickable — tanpa API/backend/test
80
+ 4. CHECKPOINT: Jalankan dev server, demo ke klien, kumpulkan feedback UI/UX, iterasi step 3 sampai disepakati
81
+ 5. Jika disepakati & lanjut ke produk → arahkan ke `/plan-feature` atau `/plan-project`
82
+
64
83
  #### `/deliver-feature "[Feature Name]" [depth=]`
65
84
  > Jalankan Fase 2 → Fase 3 berurutan untuk satu fitur (build lalu test), dengan gerbang di tiap fase.
66
85
 
@@ -73,10 +92,10 @@ Pipeline Coordinator — menerima high-level command, menjalankan agent pipeline
73
92
  5. CHECKPOINT: Human review CHANGELOG & approve release tag
74
93
 
75
94
  #### `/start-fix "[Bug Description]" [depth=]`
76
- 1. Invoke Fixer → analyze root cause & fix
77
- 2. Invoke QA → quick review pada kode yang diubah
95
+ 1. Invoke Fixer → analisis root cause & fix. Teruskan deskripsi bug dari argumen. Jika `task/task_list.md` tidak ada, Fixer langsung diagnosa source code.
96
+ 2. Invoke QA → quick static review pada file yang diubah Fixer
78
97
  3. Invoke Tester → regression test
79
- 4. CHECKPOINT: Human validation
98
+ 4. CHECKPOINT: Tampilkan ringkasan bug, root cause, file yang diubah — minta validasi human
80
99
 
81
100
  #### `/security-audit "[scope]"`
82
101
  > Audit keamanan ad-hoc di luar siklus release.
@@ -0,0 +1,33 @@
1
+ ---
2
+ description: Bangun prototipe UI/UX cepat (frontend-only, data mock) untuk presentasi/menyepakati desain dengan klien — tanpa backend.
3
+ argument-hint: "[layar/fitur yang diprototipe] [depth=fast|standard]"
4
+ ---
5
+
6
+ Jalankan **Build Prototype** — prototipe UI/UX cepat untuk: **$ARGUMENTS**
7
+
8
+ > **Tujuan:** menampilkan tampilan aplikasi secepatnya untuk presentasi ke klien / menyepakati UI-UX — BUKAN produk jadi. **Frontend saja: tanpa backend, tanpa API nyata, tanpa database.** Data di-mock/fixture. Ini artefak demo (throwaway) yang bisa diganti; jangan diperlakukan sebagai implementasi final.
9
+
10
+ **DI LUAR RUANG LINGKUP (jangan dikerjakan):** business logic, persistensi data, integrasi API nyata, autentikasi nyata, dan test fungsional. Untuk implementasi sungguhan gunakan `/build-feature`.
11
+
12
+ Langkah:
13
+ 0. **Provisioning (Toolsmith)** → pastikan skill + MCP untuk prototyping terpasang di tool aktif: skill `ui-ux-pro-max` + `theme-factory`, MCP `shadcn`. Sumber acuan `state/workspace-manifest.json` + `schemas/workspace-registry.json` (mapping `prototype`). Skip cepat jika sudah ter-apply.
14
+ 1. **Brief Prototipe (INTERAKTIF — JANGAN delegasikan ke subagent)** → klarifikasi cepat dengan human di thread utama: layar/alur apa yang mau ditunjukkan, urutan navigasi antar-layar, dan referensi visual (brand/warna/mood) jika ada. Ringkas — bukan wawancara kebutuhan penuh.
15
+ - *(Opsional, pra-kode)* Untuk menyepakati layout/hierarki lebih dulu tanpa menulis kode, boleh pakai mockup inline (skill/tool `visualize`) atau aset visual (Canva) **bila tool aktif menyediakannya** — ini opsional, bukan dependensi.
16
+ 2. **Arah Visual (pilih satu):**
17
+ - `state/knowledge_base/design-system/` **sudah ada** → pakai sebagai acuan, lewati langkah ini.
18
+ - Belum ada & butuh **kilat** → gunakan skill **`theme-factory`** untuk menetapkan tema global (palette + font) instan.
19
+ - Belum ada & mau **lebih rapi** → delegasikan ke **UX Designer** (mode `fast`) untuk palette + tipografi + token dasar via `ui-ux-pro-max`.
20
+ 3. **Frontend Engineer (mode PROTOTYPE)** → bangun UI di `codes/`:
21
+ - Frontend-only, **tanpa panggilan backend** — gunakan data **mock/fixture statis**.
22
+ - **Tooling (komplementer):** `theme-factory` untuk tema global (bila belum ada design-system) · `ui-ux-pro-max` untuk pola, layout & kualitas komponen · MCP `shadcn` untuk menarik komponen jadi bila tersedia. Ikuti `design-system/` bila ada.
23
+ - Bangun semua layar yang disepakati + **navigasi antar-layar yang clickable** agar bisa didemokan.
24
+ - Tampilkan variasi state (empty/loading/success) sebagai tampilan statis bila relevan — tanpa logika nyata.
25
+ - **Lewati unit test dan integrasi API.**
26
+ 4. **CHECKPOINT — Demo ke klien:** **Jalankan dev server** prototipe dan tampilkan ke human/klien; kumpulkan feedback UI/UX. **Iterasi langkah 3** sampai desain disepakati.
27
+ 5. **Output:** prototipe frontend yang bisa dijalankan untuk presentasi + catatan kesepakatan UI/UX (masukan untuk `design-system/` atau spec berikutnya).
28
+
29
+ **Aturan orkestrasi (WAJIB):**
30
+ - Kamu adalah **Orchestrator** di thread utama. Delegasikan tiap langkah ke subagent (Task tool Claude Code / agent invocation OpenCode).
31
+ - **BERHENTI di CHECKPOINT** untuk feedback klien sebelum iterasi atau menyelesaikan.
32
+ - Ini alur **di luar 4 fase** (throwaway/demo) — JANGAN buat spec, API Contract, atau backend. Jika klien setuju dan ingin lanjut ke produk, arahkan ke `/plan-feature` (fitur) atau `/plan-project` (proyek baru).
33
+ - Definisi kanonik pipeline: `agent/workflows/orchestrator.md`. Model fase: `agent/workflows/_shared/phases.md`.
@@ -0,0 +1,31 @@
1
+ ---
2
+ description: Perencanaan terfokus untuk SATU fitur — hasilkan spesifikasi lengkap (low-entropy) tanpa merencanakan ulang seluruh proyek.
3
+ argument-hint: "[feature description] [depth=fast|standard|deep]"
4
+ ---
5
+
6
+ Jalankan **Perencanaan Fitur** (sub-set Fase 1, ruang lingkup satu fitur) untuk: **$ARGUMENTS**
7
+
8
+ > Berbeda dengan `/plan-project` yang menghasilkan SELURUH blueprint proyek, `/plan-feature` mengasumsikan blueprint proyek sudah ada dan hanya menghasilkan **spesifikasi satu fitur** yang siap dikerjakan. Output akhirnya identik dengan yang diproduksi Analyst: file spec lengkap di `specifications/` sesuai `schemas/specification.template.md`.
9
+
10
+ **PRECONDITION CHECK (langkah 0):**
11
+ - Pastikan `project_overview.md` ada dan "Tech Stack" + "UI Guidelines" terisi.
12
+ - Pastikan `specifications/000_spec_environment_setup.md` sudah ada.
13
+ - **Jika salah satu belum ada:** proyek belum direncanakan. **BERHENTI** dan arahkan human menjalankan `/plan-project` dulu. Jangan menambal blueprint proyek di sini.
14
+
15
+ Langkah:
16
+ 1. **Feature Discovery (INTERAKTIF — JANGAN delegasikan ke subagent)** → kamu sendiri di thread utama mewawancarai human, khusus untuk fitur ini: tujuan & nilai, aktor/role, ruang lingkup, **apa yang di luar ruang lingkup (Non-Goals)**, aturan bisnis, dan kriteria sukses. Ringkas, fokus fitur — bukan wawancara proyek penuh. Ikuti gaya tanya-jawab `agent/workflows/discovery.md` namun terbatas pada fitur.
17
+ 2. **GATE:** Human sign-off ruang lingkup & Non-Goals fitur.
18
+ 3. **Delta acuan (KONDISIONAL — hanya jika fitur menuntutnya):**
19
+ - Jika fitur butuh entitas/kolom data BARU → delegasikan ke **Data Architect** untuk menambah delta di `state/knowledge_base/data-model/` (bukan redesign).
20
+ - Jika fitur butuh komponen/pola UI BARU → delegasikan ke **UX Designer** untuk menambah delta di `state/knowledge_base/design-system/`.
21
+ - Jika `depth=deep` dan fitur menyentuh data sensitif → koordinasi **Security (Mode S)** untuk aturan yang relevan.
22
+ - Jika tidak ada kebutuhan baru, lewati langkah ini.
23
+ 4. **Analyst** → tulis spesifikasi fitur lengkap di `specifications/NNN_...md` (nomor urut berikutnya), mengikuti `schemas/specification.template.md` dan **Low-Entropy Gate** di `agent/workflows/analyst.md`. Terapkan atomicity (1 file = 1 user story; pecah bila perlu). **API Contract wajib final & deterministik.**
24
+ 5. **GATE — Spec disetujui:** Human set `Human Approval Status: approved`. API Contract final sebelum fitur boleh masuk `/build-feature`.
25
+
26
+ **Aturan orkestrasi (WAJIB):**
27
+ - Kamu adalah **Orchestrator** di thread utama. Delegasikan tiap langkah ke subagent yang disebut menggunakan Task tool (Claude Code) / agent invocation (OpenCode).
28
+ - **BERHENTI di setiap GATE** dan minta persetujuan human secara eksplisit sebelum lanjut.
29
+ - Definisi kanonik pipeline: baca `agent/workflows/orchestrator.md`. Model fase & kepemilikan dokumen: `agent/workflows/_shared/phases.md`.
30
+ - Hormati `WORK_DEPTH` dari `project_overview.md` (override dengan `depth=` di argumen jika ada).
31
+ - Jika muncul perubahan di tengah pipeline, ikuti `agent/workflows/_shared/change-management.md` (No Silent Changes).
@@ -5,14 +5,15 @@ argument-hint: "[bug description] [depth=...]"
5
5
 
6
6
  Tangani bug: **$ARGUMENTS**
7
7
 
8
- 1. **Fixer** → analyze root cause & fix
9
- 2. **QA** → quick review pada kode yang diubah
10
- 3. **Tester** → regression test
11
- 4. **CHECKPOINT:** Human validation.
8
+ **Langkah Pipeline:**
9
+ 1. **Fixer** → analisis root cause & fix. Sampaikan deskripsi bug ini: "$ARGUMENTS". Instruksikan Fixer untuk membaca `task/task_list.md` guna menemukan Task ID relevan; jika tidak ditemukan atau `task_list.md` belum ada, lanjutkan langsung ke diagnosa source code di `codes/`.
10
+ 2. **QA** → quick static review pada file yang diubah oleh Fixer.
11
+ 3. **Tester** regression test untuk memastikan fix tidak break fitur lain.
12
+ 4. **CHECKPOINT:** Tampilkan ringkasan: bug yang diperbaiki, root cause, file yang diubah. Minta validasi human secara eksplisit.
12
13
 
13
14
  **Aturan orkestrasi (WAJIB):**
14
15
  - Kamu adalah **Orchestrator** di thread utama. Delegasikan tiap langkah ke subagent yang disebut menggunakan Task tool (Claude Code) / agent invocation (OpenCode).
15
- - **BERHENTI di setiap GATE / CHECKPOINT** dan minta persetujuan human secara eksplisit sebelum lanjut.
16
+ - **BERHENTI di CHECKPOINT** dan minta persetujuan human secara eksplisit sebelum menutup pipeline.
16
17
  - Definisi kanonik pipeline: baca `agent/workflows/orchestrator.md`. Model fase & kepemilikan dokumen: `agent/workflows/_shared/phases.md`.
17
18
  - Hormati `WORK_DEPTH` dari `project_overview.md` (override dengan `depth=` di argumen jika ada).
18
19
  - Jika muncul perubahan di tengah pipeline, ikuti `agent/workflows/_shared/change-management.md` (No Silent Changes).
@@ -0,0 +1,142 @@
1
+ ---
2
+ name: find-skills
3
+ description: Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
4
+ ---
5
+
6
+ # Find Skills
7
+
8
+ This skill helps you discover and install skills from the open agent skills ecosystem.
9
+
10
+ ## When to Use This Skill
11
+
12
+ Use this skill when the user:
13
+
14
+ - Asks "how do I do X" where X might be a common task with an existing skill
15
+ - Says "find a skill for X" or "is there a skill for X"
16
+ - Asks "can you do X" where X is a specialized capability
17
+ - Expresses interest in extending agent capabilities
18
+ - Wants to search for tools, templates, or workflows
19
+ - Mentions they wish they had help with a specific domain (design, testing, deployment, etc.)
20
+
21
+ ## What is the Skills CLI?
22
+
23
+ The Skills CLI (`npx skills`) is the package manager for the open agent skills ecosystem. Skills are modular packages that extend agent capabilities with specialized knowledge, workflows, and tools.
24
+
25
+ **Key commands:**
26
+
27
+ - `npx skills find [query]` - Search for skills interactively or by keyword
28
+ - `npx skills add <package>` - Install a skill from GitHub or other sources
29
+ - `npx skills check` - Check for skill updates
30
+ - `npx skills update` - Update all installed skills
31
+
32
+ **Browse skills at:** https://skills.sh/
33
+
34
+ ## How to Help Users Find Skills
35
+
36
+ ### Step 1: Understand What They Need
37
+
38
+ When a user asks for help with something, identify:
39
+
40
+ 1. The domain (e.g., React, testing, design, deployment)
41
+ 2. The specific task (e.g., writing tests, creating animations, reviewing PRs)
42
+ 3. Whether this is a common enough task that a skill likely exists
43
+
44
+ ### Step 2: Check the Leaderboard First
45
+
46
+ Before running a CLI search, check the [skills.sh leaderboard](https://skills.sh/) to see if a well-known skill already exists for the domain. The leaderboard ranks skills by total installs, surfacing the most popular and battle-tested options.
47
+
48
+ For example, top skills for web development include:
49
+ - `vercel-labs/agent-skills` — React, Next.js, web design (100K+ installs each)
50
+ - `anthropics/skills` — Frontend design, document processing (100K+ installs)
51
+
52
+ ### Step 3: Search for Skills
53
+
54
+ If the leaderboard doesn't cover the user's need, run the find command:
55
+
56
+ ```bash
57
+ npx skills find [query]
58
+ ```
59
+
60
+ For example:
61
+
62
+ - User asks "how do I make my React app faster?" → `npx skills find react performance`
63
+ - User asks "can you help me with PR reviews?" → `npx skills find pr review`
64
+ - User asks "I need to create a changelog" → `npx skills find changelog`
65
+
66
+ ### Step 4: Verify Quality Before Recommending
67
+
68
+ **Do not recommend a skill based solely on search results.** Always verify:
69
+
70
+ 1. **Install count** — Prefer skills with 1K+ installs. Be cautious with anything under 100.
71
+ 2. **Source reputation** — Official sources (`vercel-labs`, `anthropics`, `microsoft`) are more trustworthy than unknown authors.
72
+ 3. **GitHub stars** — Check the source repository. A skill from a repo with <100 stars should be treated with skepticism.
73
+
74
+ ### Step 5: Present Options to the User
75
+
76
+ When you find relevant skills, present them to the user with:
77
+
78
+ 1. The skill name and what it does
79
+ 2. The install count and source
80
+ 3. The install command they can run
81
+ 4. A link to learn more at skills.sh
82
+
83
+ Example response:
84
+
85
+ ```
86
+ I found a skill that might help! The "react-best-practices" skill provides
87
+ React and Next.js performance optimization guidelines from Vercel Engineering.
88
+ (185K installs)
89
+
90
+ To install it:
91
+ npx skills add vercel-labs/agent-skills@react-best-practices
92
+
93
+ Learn more: https://skills.sh/vercel-labs/agent-skills/react-best-practices
94
+ ```
95
+
96
+ ### Step 6: Offer to Install
97
+
98
+ If the user wants to proceed, you can install the skill for them:
99
+
100
+ ```bash
101
+ npx skills add <owner/repo@skill> -g -y
102
+ ```
103
+
104
+ The `-g` flag installs globally (user-level) and `-y` skips confirmation prompts.
105
+
106
+ ## Common Skill Categories
107
+
108
+ When searching, consider these common categories:
109
+
110
+ | Category | Example Queries |
111
+ | --------------- | ---------------------------------------- |
112
+ | Web Development | react, nextjs, typescript, css, tailwind |
113
+ | Testing | testing, jest, playwright, e2e |
114
+ | DevOps | deploy, docker, kubernetes, ci-cd |
115
+ | Documentation | docs, readme, changelog, api-docs |
116
+ | Code Quality | review, lint, refactor, best-practices |
117
+ | Design | ui, ux, design-system, accessibility |
118
+ | Productivity | workflow, automation, git |
119
+
120
+ ## Tips for Effective Searches
121
+
122
+ 1. **Use specific keywords**: "react testing" is better than just "testing"
123
+ 2. **Try alternative terms**: If "deploy" doesn't work, try "deployment" or "ci-cd"
124
+ 3. **Check popular sources**: Many skills come from `vercel-labs/agent-skills` or `ComposioHQ/awesome-claude-skills`
125
+
126
+ ## When No Skills Are Found
127
+
128
+ If no relevant skills exist:
129
+
130
+ 1. Acknowledge that no existing skill was found
131
+ 2. Offer to help with the task directly using your general capabilities
132
+ 3. Suggest the user could create their own skill with `npx skills init`
133
+
134
+ Example:
135
+
136
+ ```
137
+ I searched for skills related to "xyz" but didn't find any matches.
138
+ I can still help you with this task directly! Would you like me to proceed?
139
+
140
+ If this is something you do often, you could create your own skill:
141
+ npx skills init my-xyz-skill
142
+ ```