thanh-kit 2.5.1 → 2.5.2

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 (123) hide show
  1. package/dist/index.js +20 -61
  2. package/dist/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/templates/{commands → command-archive}/ask.md +5 -5
  5. package/templates/{commands → command-archive}/ck-help.md +18 -2
  6. package/templates/command-archive/docs/init.md +38 -0
  7. package/templates/command-archive/docs/summarize.md +22 -0
  8. package/templates/command-archive/docs/update.md +76 -0
  9. package/templates/command-archive/journal.md +18 -0
  10. package/templates/{commands → command-archive}/kanban.md +5 -7
  11. package/templates/{commands → command-archive}/plan/archive.md +2 -2
  12. package/templates/command-archive/plan/red-team.md +200 -0
  13. package/templates/command-archive/plan/validate.md +188 -0
  14. package/templates/command-archive/preview.md +283 -0
  15. package/templates/command-archive/review/codebase/parallel.md +122 -0
  16. package/templates/{commands → command-archive}/test/ui.md +3 -3
  17. package/templates/{commands → command-archive}/use-mcp.md +6 -2
  18. package/templates/command-archive/worktree.md +109 -0
  19. package/templates/{workflows → rules}/development-rules.md +12 -53
  20. package/templates/rules/orchestration-protocol.md +43 -0
  21. package/templates/{workflows → rules}/primary-workflow.md +16 -4
  22. package/templates/rules/team-coordination-rules.md +90 -0
  23. package/templates/schemas/ck-config.schema.json +381 -0
  24. package/templates/commands/README.md +0 -251
  25. package/templates/commands/bootstrap/auto/fast.md +0 -111
  26. package/templates/commands/bootstrap/auto/parallel.md +0 -66
  27. package/templates/commands/bootstrap/auto.md +0 -115
  28. package/templates/commands/bootstrap.md +0 -137
  29. package/templates/commands/brainstorm.md +0 -74
  30. package/templates/commands/build.md +0 -39
  31. package/templates/commands/checkpoint.md +0 -156
  32. package/templates/commands/code/auto.md +0 -170
  33. package/templates/commands/code/no-test.md +0 -158
  34. package/templates/commands/code/parallel.md +0 -55
  35. package/templates/commands/code-simplifier.md +0 -71
  36. package/templates/commands/code.md +0 -176
  37. package/templates/commands/compact.md +0 -57
  38. package/templates/commands/content/cro.md +0 -43
  39. package/templates/commands/content/enhance.md +0 -14
  40. package/templates/commands/content/fast.md +0 -13
  41. package/templates/commands/content/good.md +0 -16
  42. package/templates/commands/context.md +0 -48
  43. package/templates/commands/cook/auto/fast.md +0 -26
  44. package/templates/commands/cook/auto/parallel.md +0 -49
  45. package/templates/commands/cook/auto.md +0 -15
  46. package/templates/commands/cook/fast.md +0 -47
  47. package/templates/commands/cook/hard.md +0 -80
  48. package/templates/commands/cook/parallel.md +0 -90
  49. package/templates/commands/cook.md +0 -105
  50. package/templates/commands/create-feature.md +0 -48
  51. package/templates/commands/db-migrate.md +0 -52
  52. package/templates/commands/debug.md +0 -13
  53. package/templates/commands/design/3d.md +0 -83
  54. package/templates/commands/design/describe.md +0 -23
  55. package/templates/commands/design/fast.md +0 -31
  56. package/templates/commands/design/good.md +0 -35
  57. package/templates/commands/design/screenshot.md +0 -34
  58. package/templates/commands/design/video.md +0 -34
  59. package/templates/commands/docs/init.md +0 -39
  60. package/templates/commands/docs/summarize.md +0 -31
  61. package/templates/commands/docs/update.md +0 -57
  62. package/templates/commands/feature.md +0 -62
  63. package/templates/commands/fix/ci.md +0 -17
  64. package/templates/commands/fix/fast.md +0 -19
  65. package/templates/commands/fix/hard.md +0 -39
  66. package/templates/commands/fix/logs.md +0 -26
  67. package/templates/commands/fix/parallel.md +0 -54
  68. package/templates/commands/fix/test.md +0 -20
  69. package/templates/commands/fix/types.md +0 -9
  70. package/templates/commands/fix/ui.md +0 -48
  71. package/templates/commands/fix-issue.md +0 -177
  72. package/templates/commands/fix.md +0 -43
  73. package/templates/commands/generate-dto.md +0 -67
  74. package/templates/commands/git/cm.md +0 -5
  75. package/templates/commands/git/cp.md +0 -4
  76. package/templates/commands/git/merge.md +0 -40
  77. package/templates/commands/git/pr.md +0 -48
  78. package/templates/commands/integrate/polar.md +0 -28
  79. package/templates/commands/integrate/sepay.md +0 -28
  80. package/templates/commands/investigate.md +0 -324
  81. package/templates/commands/journal.md +0 -7
  82. package/templates/commands/lint.md +0 -47
  83. package/templates/commands/migration.md +0 -111
  84. package/templates/commands/performance.md +0 -110
  85. package/templates/commands/plan/ci.md +0 -33
  86. package/templates/commands/plan/cro.md +0 -69
  87. package/templates/commands/plan/fast.md +0 -86
  88. package/templates/commands/plan/hard.md +0 -103
  89. package/templates/commands/plan/parallel.md +0 -152
  90. package/templates/commands/plan/preview.md +0 -40
  91. package/templates/commands/plan/two.md +0 -52
  92. package/templates/commands/plan/validate.md +0 -132
  93. package/templates/commands/plan.md +0 -36
  94. package/templates/commands/pr.md +0 -49
  95. package/templates/commands/preview.md +0 -87
  96. package/templates/commands/release-notes.md +0 -144
  97. package/templates/commands/review/post-task.md +0 -157
  98. package/templates/commands/review-changes.md +0 -46
  99. package/templates/commands/review.md +0 -56
  100. package/templates/commands/scout/ext.md +0 -35
  101. package/templates/commands/scout.md +0 -283
  102. package/templates/commands/security.md +0 -119
  103. package/templates/commands/skill/add.md +0 -36
  104. package/templates/commands/skill/create.md +0 -29
  105. package/templates/commands/skill/fix-logs.md +0 -22
  106. package/templates/commands/skill/optimize/auto.md +0 -25
  107. package/templates/commands/skill/optimize.md +0 -34
  108. package/templates/commands/skill/plan.md +0 -45
  109. package/templates/commands/worktree.md +0 -126
  110. package/templates/memory/session-log.md +0 -186
  111. package/templates/router/README.md +0 -294
  112. package/templates/router/agents-guide.md +0 -38
  113. package/templates/router/commands-guide.md +0 -122
  114. package/templates/router/decision-flow.md +0 -92
  115. package/templates/router/skills-guide.md +0 -127
  116. package/templates/router/workflows-guide.md +0 -68
  117. package/templates/workflows/README.md +0 -241
  118. package/templates/workflows/orchestration-protocol.md +0 -16
  119. /package/templates/{commands → command-archive}/coding-level.md +0 -0
  120. /package/templates/{commands → command-archive}/review/codebase.md +0 -0
  121. /package/templates/{commands → command-archive}/test.md +0 -0
  122. /package/templates/{commands → command-archive}/watzup.md +0 -0
  123. /package/templates/{workflows → rules}/documentation-management.md +0 -0
@@ -1,251 +0,0 @@
1
- # 📋 Commands - Các Quy Trình Làm Việc
2
-
3
- ## Commands là gì?
4
-
5
- **Commands** là các "công thức" hướng dẫn từng bước để hoàn thành một loại công việc cụ thể. Giống như công thức nấu ăn vậy - bạn làm theo từng bước sẽ ra kết quả mong muốn.
6
-
7
- **Ví dụ đơn giản:**
8
- - Muốn **sửa bug** → Dùng command `/fix` (có 8 bước cụ thể)
9
- - Muốn **viết code** → Dùng command `/code` (có quy trình riêng)
10
- - Muốn **lập kế hoạch** → Dùng command `/plan` (có template sẵn)
11
-
12
- ---
13
-
14
- ## Các Commands Chính
15
-
16
- ### 🔨 Commands Cơ Bản (10 commands)
17
-
18
- | Command | Dùng Khi Nào | Mô Tả |
19
- |---------|--------------|-------|
20
- | `/code` | Cần viết code mới | Quy trình viết code chuẩn, có test |
21
- | `/fix` | Cần sửa lỗi | Quy trình debug và fix bug |
22
- | `/test` | Cần viết/chạy test | Quy trình kiểm thử |
23
- | `/plan` | Cần lập kế hoạch | Quy trình phân tích và lên kế hoạch |
24
- | `/review-changes` | Cần review code | Quy trình kiểm tra chất lượng |
25
- | `/build` | Cần build dự án | Quy trình đóng gói ứng dụng |
26
- | `/debug` | Cần điều tra sâu | Quy trình phân tích vấn đề |
27
- | `/scout` | Cần tìm kiếm | Quy trình tìm kiếm thông minh |
28
- | `/brainstorm` | Cần ý tưởng | Quy trình sáng tạo giải pháp |
29
- | `/cook` | Làm theo công thức | Thực hiện theo recipe có sẵn |
30
-
31
- ---
32
-
33
- ## Commands Chi Tiết Theo Nhóm
34
-
35
- ### 🐛 Nhóm Fix (Sửa Lỗi) - 8 biến thể
36
-
37
- | Command | Khi Nào Dùng | Ví Dụ Tình Huống |
38
- |---------|--------------|------------------|
39
- | `/fix` | Sửa lỗi thông thường | "Button không click được" |
40
- | `/fix/fast` | Sửa nhanh lỗi đơn giản | "Typo trong text" |
41
- | `/fix/hard` | Sửa lỗi phức tạp, khó hiểu | "App crash ngẫu nhiên, không rõ nguyên nhân" |
42
- | `/fix/ui` | Sửa lỗi giao diện | "Layout bị vỡ trên mobile" |
43
- | `/fix/test` | Sửa test bị fail | "Unit test failed sau khi update" |
44
- | `/fix/types` | Sửa lỗi TypeScript | "Type error khi compile" |
45
- | `/fix/ci` | Sửa lỗi CI/CD | "Pipeline failed" |
46
- | `/fix/logs` | Sửa dựa trên log | "Production error, có log file" |
47
-
48
- **Cách chọn:**
49
- - Lỗi đơn giản, rõ ràng → `/fix/fast`
50
- - Lỗi UI, CSS → `/fix/ui`
51
- - Lỗi khó, cần điều tra → `/fix/hard`
52
-
53
- ---
54
-
55
- ### 📋 Nhóm Plan (Lập Kế Hoạch) - 7 biến thể
56
-
57
- | Command | Khi Nào Dùng | Ví Dụ Tình Huống |
58
- |---------|--------------|------------------|
59
- | `/plan` | Lập kế hoạch thông thường | "Thêm tính năng login" |
60
- | `/plan/fast` | Kế hoạch nhanh, việc nhỏ | "Thêm nút export" |
61
- | `/plan/hard` | Kế hoạch phức tạp | "Thiết kế hệ thống microservices" |
62
- | `/plan/two` | Kế hoạch 2 giai đoạn | "Dự án lớn cần chia phase" |
63
- | `/plan/validate` | Kiểm tra kế hoạch | "Review kế hoạch đã có" |
64
- | `/plan/parallel` | Nhiều kế hoạch song song | "3 tính năng độc lập" |
65
- | `/plan/archive` | Lưu trữ kế hoạch cũ | "Hoàn thành, cần archive" |
66
-
67
- **Cách chọn:**
68
- - Việc nhỏ, rõ ràng → `/plan/fast`
69
- - Hệ thống phức tạp → `/plan/hard`
70
- - Dự án dài hơi → `/plan/two`
71
-
72
- ---
73
-
74
- ### 💻 Nhóm Code (Viết Code) - 3 biến thể
75
-
76
- | Command | Khi Nào Dùng | Ví Dụ Tình Huống |
77
- |---------|--------------|------------------|
78
- | `/code` | Viết code chuẩn (có test) | "Tạo component UserProfile" |
79
- | `/code/auto` | Code tự động | "Generate CRUD từ schema" |
80
- | `/code/no-test` | Code nhanh không test | "Prototype nhanh để demo" |
81
-
82
- **Cách chọn:**
83
- - Code production → `/code` (luôn có test)
84
- - Prototype/POC → `/code/no-test`
85
-
86
- ---
87
-
88
- ### 🎨 Nhóm Design (Thiết Kế) - 6 biến thể
89
-
90
- | Command | Khi Nào Dùng | Ví Dụ Tình Huống |
91
- |---------|--------------|------------------|
92
- | `/design/fast` | Thiết kế nhanh | "Mock up nhanh cho meeting" |
93
- | `/design/good` | Thiết kế chỉn chu | "UI production-ready" |
94
- | `/design/screenshot` | Làm theo hình mẫu | "Code theo design Figma này" |
95
- | `/design/video` | Phân tích từ video | "Làm giống demo trong video" |
96
- | `/design/3d` | Thiết kế 3D | "Tạo scene Three.js" |
97
- | `/design/describe` | Mô tả design | "Phân tích UI hiện tại" |
98
-
99
- **Cách chọn:**
100
- - Có hình mẫu → `/design/screenshot`
101
- - Cần đẹp, chuẩn → `/design/good`
102
- - Cần nhanh → `/design/fast`
103
-
104
- ---
105
-
106
- ### 📝 Nhóm Git - 4 biến thể
107
-
108
- | Command | Khi Nào Dùng | Ví Dụ Tình Huống |
109
- |---------|--------------|------------------|
110
- | `/git/cm` | Commit code | "Commit thay đổi vừa làm" |
111
- | `/git/pr` | Tạo Pull Request | "Tạo PR để review" |
112
- | `/git/merge` | Merge branches | "Merge feature vào main" |
113
- | `/git/cp` | Cherry-pick | "Lấy commit từ branch khác" |
114
-
115
- ---
116
-
117
- ### 📚 Nhóm Docs (Tài Liệu) - 3 biến thể
118
-
119
- | Command | Khi Nào Dùng | Ví Dụ Tình Huống |
120
- |---------|--------------|------------------|
121
- | `/docs/init` | Tạo tài liệu mới | "Khởi tạo docs cho dự án mới" |
122
- | `/docs/update` | Cập nhật tài liệu | "Update README sau khi thêm tính năng" |
123
- | `/docs/summarize` | Tóm tắt tài liệu | "Tóm tắt cho executive" |
124
-
125
- ---
126
-
127
- ### 🔍 Nhóm Review - 2 biến thể
128
-
129
- | Command | Khi Nào Dùng | Ví Dụ Tình Huống |
130
- |---------|--------------|------------------|
131
- | `/review/codebase` | Review toàn bộ code | "Đánh giá chất lượng dự án" |
132
- | `/review/post-task` | Review sau khi làm xong | "Kiểm tra trước khi commit" |
133
-
134
- ---
135
-
136
- ### 🛠️ Nhóm Khác
137
-
138
- | Command | Khi Nào Dùng | Mô Tả |
139
- |---------|--------------|-------|
140
- | `/bootstrap` | Khởi tạo dự án mới | Tạo cấu trúc dự án từ đầu |
141
- | `/create-feature` | Tạo tính năng hoàn chỉnh | End-to-end từ plan đến test |
142
- | `/db-migrate` | Thay đổi database | Tạo và chạy migrations |
143
- | `/lint` | Kiểm tra code style | Chạy linter và format |
144
- | `/preview` | Xem trước thay đổi | Chạy dev server để xem |
145
- | `/kanban` | Quản lý tasks | Xem và cập nhật task board |
146
- | `/watzup` | Xem trạng thái | Kiểm tra nhanh tình hình dự án |
147
- | `/ask` | Hỏi đáp | Hỏi bất kỳ câu hỏi nào |
148
-
149
- ---
150
-
151
- ## Cách AI Chọn Command
152
-
153
- ### Ví dụ 1: Sửa lỗi đơn giản
154
- ```
155
- Bạn: "Sửa lỗi typo trong trang About"
156
-
157
- AI nhận diện:
158
- - Từ khóa: "sửa lỗi" → nhóm /fix
159
- - Độ phức tạp: đơn giản → /fix/fast
160
- - Loại: text → không phải UI
161
-
162
- → AI chọn: /fix/fast
163
- ```
164
-
165
- ### Ví dụ 2: Tính năng mới phức tạp
166
- ```
167
- Bạn: "Thêm hệ thống thanh toán với Stripe"
168
-
169
- AI nhận diện:
170
- - Từ khóa: "thêm", "hệ thống" → cần plan trước
171
- - Độ phức tạp: cao (payment, security)
172
- - Cần nhiều bước
173
-
174
- → AI chọn theo thứ tự:
175
- 1. /plan/hard (lên kế hoạch kỹ)
176
- 2. /code (implement từng phần)
177
- 3. /test (viết test)
178
- 4. /docs/update (cập nhật tài liệu)
179
- ```
180
-
181
- ---
182
-
183
- ## Quy Trình Trong Mỗi Command
184
-
185
- Ví dụ `/fix` có các bước:
186
-
187
- ```
188
- 1. Thu thập thông tin
189
- - Lỗi xảy ra khi nào?
190
- - Có error message không?
191
- - Có thể tái tạo không?
192
-
193
- 2. Phân tích
194
- - Đọc log và stack trace
195
- - Tìm file/function liên quan
196
- - Xác định nguyên nhân
197
-
198
- 3. Sửa lỗi
199
- - Viết code fix
200
- - Giải thích thay đổi
201
-
202
- 4. Kiểm tra
203
- - Test lại xem hết lỗi chưa
204
- - Đảm bảo không tạo lỗi mới
205
-
206
- 5. Hoàn thành
207
- - Tóm tắt đã sửa gì
208
- - Gợi ý cách tránh lỗi tương tự
209
- ```
210
-
211
- ---
212
-
213
- ## Tóm Tắt
214
-
215
- | Khái niệm | Giải thích |
216
- |-----------|------------|
217
- | **Command là gì** | Quy trình từng bước để làm một việc |
218
- | **Có bao nhiêu** | 10 commands chính + 30+ biến thể |
219
- | **Ai chọn command** | AI tự động chọn dựa trên yêu cầu |
220
- | **Biến thể là gì** | Phiên bản đặc biệt cho từng tình huống |
221
-
222
- ---
223
-
224
- ## Mẹo Sử Dụng
225
-
226
- ### 1. Chọn biến thể phù hợp
227
- ```
228
- Việc đơn giản → dùng /fast
229
- Việc phức tạp → dùng /hard
230
- Nhiều việc độc lập → dùng /parallel
231
- ```
232
-
233
- ### 2. Kết hợp Commands
234
- ```
235
- Tính năng mới:
236
- /plan → /code → /test → /review → /docs
237
- ```
238
-
239
- ### 3. Nói rõ yêu cầu
240
- ```
241
- ❌ "Sửa cái này" (không rõ ràng)
242
- ✅ "Sửa lỗi layout vỡ trên mobile" (rõ ràng → AI chọn /fix/ui)
243
- ```
244
-
245
- ---
246
-
247
- ## Xem Thêm
248
-
249
- - [Danh sách Agents (Vai trò)](../agents/README.md) - Ai sẽ làm việc này
250
- - [Danh sách Skills (Kiến thức)](../skills/README.md) - Cần kiến thức gì
251
- - [Router (Bộ định tuyến)](../router/README.md) - Cách AI quyết định
@@ -1,111 +0,0 @@
1
- ---
2
- description: ⚡⚡⚡ Quickly bootstrap a new project automatically
3
- argument-hint: [user-requirements]
4
- ---
5
-
6
- **Think hard** to plan & bootstrap a new project follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules in your `CLAUDE.md` file:
7
-
8
- ---
9
-
10
- ## User's Objectives & Requirements
11
-
12
- <user-requirements>$ARGUMENTS</user-requirements>
13
-
14
- ---
15
-
16
- ## Role Responsibilities
17
-
18
- - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
19
- - Your core mission is to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your subagents to implement the plan.
20
- - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
21
-
22
- - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
23
- - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
24
-
25
- ---
26
-
27
- ## Your Approach
28
-
29
- 1. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
30
- 2. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
31
-
32
- ---
33
-
34
- ## Workflow:
35
-
36
- Follow strictly these following steps:
37
-
38
- **First thing first:** check if Git has been initialized, if not, use `git-manager` subagent to quickly initialize it (use `main` branch).
39
-
40
- **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
41
-
42
- ### Research & Planning: Tech Stack, Wireframe & Design
43
-
44
- 1. **Research (do these following tasks in parallel):**
45
- * Use 2 `researcher` subagents in parallel (only read up to max 5 sources) to explore the user's request, idea validation, challenges, and find the best possible solutions.
46
- * Use 2 `researcher` subagents in parallel (only read up to max 5 sources) to find a best fit tech stack for this project.
47
- * Use 2 `researcher` subagents in parallel (only read up to max 5 sources) to create a design plan that follows the progressive disclosure structure:
48
- - Create a directory using naming pattern from `## Naming` section.
49
- - Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
50
- - For each phase, add `phase-XX-phase-name.md` files containing sections (Context links, Overview with date/priority/statuses, Key Insights, Requirements, Architecture, Related code files, Implementation Steps, Todo list, Success Criteria, Risk Assessment, Security Considerations, Next steps).
51
- * Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
52
- - **Research** about design style, trends, fonts, colors, border, spacing, elements' positions, etc.
53
- - Describe details of the assets in the design so they can be generated with `ai-multimodal` skill later on.
54
- - **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use **Inter** or **Poppins** fonts.
55
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
56
-
57
- 2. **Planning (do these following tasks one after another):**
58
- * Use `ui-ux-designer` subagent to analyze the research results and create the design guidelines at `./docs/design-guidelines.md` file & generate wireframes in HTML at `./docs/wireframe` directory, make sure it's clear for developers to implement later on.
59
- * If there are no logo provided, use `ai-multimodal` skill to generate a logo.
60
- * Use `chrome-devtools` skill to take a screenshot of the wireframes and save it at `./docs/wireframes/` directory.
61
- * Use `planner` subagent to analyze all reports and create the detailed step by step implementation plan at `./plans` directory following the progressive disclosure structure above.
62
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
63
-
64
- ### Implementation
65
-
66
- * Use `general agent (main agent)` to implement the plan step by step, follow the implementation plan in `./plans` directory.
67
- * Use `ui-ux-designer` subagent to implement the frontend part follow the design guidelines at `./docs/design-guidelines.md` file.
68
- * Use `ai-multimodal` skill to generate the assets.
69
- * Use `ai-multimodal` (`video-analysis`, or `document-extraction`) skills to analyze the generated assets based on their format.
70
- * Use `Background Removal Tool` to remove background from the assets if needed.
71
- * Use `ai-multimodal` (`image-generation`) skill to edit the assets if needed.
72
- * Use `imagemagick` skill to crop or resize the assets if needed.
73
- * Run type checking and compile the code command to make sure there are no syntax errors.
74
-
75
- ### Testing
76
-
77
- * Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
78
- * Use `tester` subagent to run the tests, make sure all tests pass and the app is working, then report back to main agent.
79
- * If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then ask main agent to fix all of them.
80
- * Repeat the process until all tests pass or no more issues are reported.
81
- * **Again, do not ignore failed tests or use fake data just to pass the build or github actions.**
82
-
83
- ### Code Review
84
-
85
- * After finishing, delegate to `code-reviewer` subagent to review code. If there are critical issues, ask main agent to improve the code and tell `tester` agent to run the tests again. Repeat the process until all tests pass.
86
- * When all tests pass, code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly.
87
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
88
-
89
- ### Documentation
90
-
91
- * Use `docs-manager` subagent to update the docs if needed.
92
- * Create/update `./docs/README.md` file (keep it concise and under 300 lines).
93
- * Create/update `./docs/project-overview.-pdr.md` (Product Development Requirements) file.
94
- * Create/update `./docs/code-standards.md` file.
95
- * Create/update `./docs/system-architecture.md` file.
96
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
97
- * Use `project-manager` subagent to create a project roadmap at `./docs/project-roadmap.md` file.
98
-
99
- ### Final Report
100
- * Report back to user with a summary of the changes and explain everything briefly.
101
- * Use `git-manager` subagent to create commits for the implemented changes (DO NOT push to remote repository).
102
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
103
-
104
- ### Onboarding
105
-
106
- * Instruct the user to get started with the project:
107
- * Help the user to configure the project step by step, ask 1 question at a time, wait for the user to answer before moving to the next question.
108
- * For example: instruct the user to obtain the API key from the provider, then ask the user to provide the API key to add it to the environment variables.
109
- * If user requests to change the configuration, repeat the previous step until the user approves the configuration.
110
-
111
-
@@ -1,66 +0,0 @@
1
- ---
2
- description: ⚡⚡⚡⚡⚡ Bootstrap project with parallel execution
3
- argument-hint: [user-requirements]
4
- ---
5
-
6
- **Ultrathink parallel** to bootstrap: <user-requirements>$ARGUMENTS</user-requirements>
7
-
8
- **IMPORTANT:** Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
9
- **YAGNI, KISS, DRY** principles apply.
10
-
11
- ## Workflow
12
-
13
- ### 1. Git Init
14
- - Check if Git initialized, if not: use `git-manager` (main branch)
15
-
16
- ### 2. Research
17
- - Use max 2 `researcher` agents in parallel
18
- - Explore requirements, validation, challenges, solutions
19
- - Keep reports ≤150 lines
20
-
21
- ### 3. Tech Stack
22
- - Use `planner` + multiple `researcher` agents in parallel for best fit tech stack
23
- - Write to `./docs` directory (≤150 lines)
24
-
25
- ### 4. Wireframe & Design
26
- - Use `ui-ux-designer` + `researcher` agents in parallel
27
- - Research: style, trends, fonts, colors, spacing, positions
28
- - Describe assets for `ai-multimodal` generation
29
- - Create design guidelines at `./docs/design-guidelines.md`
30
- - Generate wireframes HTML at `./docs/wireframe`
31
- - Generate logo with `ai-multimodal` if needed
32
- - Screenshot with `chrome-devtools` → save to `./docs/wireframes/`
33
- - Ask user to approve (repeat if rejected)
34
-
35
- ### 5. Parallel Planning & Implementation
36
- - Trigger `/plan:parallel <detailed-instruction>` for parallel-executable plan
37
- - Read `plan.md` for dependency graph and execution strategy
38
- - Launch multiple `fullstack-developer` agents in PARALLEL for concurrent phases
39
- - Pass: phase file path, environment info
40
- - Use `ui-ux-designer` for frontend (generate/analyze assets with `ai-multimodal`, edit with `imagemagick`)
41
- - Run type checking after implementation
42
-
43
- ### 6. Testing
44
- - Write real tests (NO fake data/mocks)
45
- - Use `tester` subagent
46
- - If fail: `debugger` → fix → repeat
47
-
48
- ### 7. Code Review
49
- - Use `code-reviewer`
50
- - If critical: fix → retest → repeat
51
-
52
- ### 8. Documentation
53
- - Use `docs-manager` to create/update:
54
- - `./docs/README.md` (≤300 lines)
55
- - `./docs/project-overview-pdr.md`
56
- - `./docs/code-standards.md`
57
- - `./docs/system-architecture.md`
58
- - Use `project-manager` for `./docs/project-roadmap.md`
59
-
60
- ### 9. Onboarding
61
- - Guide user to get started (1 question at a time)
62
- - Help configure (API keys, env vars, etc.)
63
-
64
- ### 10. Final Report
65
- - Summary, guide, next steps
66
- - Ask to commit (use `git-manager` if yes)
@@ -1,115 +0,0 @@
1
- ---
2
- description: ⚡⚡⚡⚡ Bootstrap a new project automatically
3
- argument-hint: [user-requirements]
4
- ---
5
-
6
- **Ultrathink** to plan & bootstrap a new project follow the Orchestration Protocol, Core Responsibilities, Subagents Team and Development Rules in your `CLAUDE.md` file:
7
-
8
- **IMPORTANT:** Analyze the skills catalog and activate the skills that are needed for the task during the process.
9
-
10
- ---
11
-
12
- ## User's Objectives & Requirements
13
-
14
- <user-requirements>$ARGUMENTS</user-requirements>
15
-
16
- ---
17
-
18
- ## Role Responsibilities
19
-
20
- - You are an elite software engineering expert who specializes in system architecture design and technical decision-making.
21
- - Your core mission is to collaborate with users to find the best possible solutions while maintaining brutal honesty about feasibility and trade-offs, then collaborate with your subagents to implement the plan.
22
- - You operate by the holy trinity of software engineering: **YAGNI** (You Aren't Gonna Need It), **KISS** (Keep It Simple, Stupid), and **DRY** (Don't Repeat Yourself). Every solution you propose must honor these principles.
23
-
24
- - **IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.
25
- - **IMPORTANT:** In reports, list any unresolved questions at the end, if any.
26
-
27
- ---
28
-
29
- ## Your Approach
30
-
31
- 1. **Brutal Honesty**: Provide frank, unfiltered feedback about ideas. If something is unrealistic, over-engineered, or likely to cause problems, say so directly. Your job is to prevent costly mistakes.
32
-
33
- 2. **Consider All Stakeholders**: Evaluate impact on end users, developers, operations team, and business objectives.
34
-
35
- ---
36
-
37
- ## Workflow:
38
-
39
- Follow strictly these following steps:
40
-
41
- **First thing first:** check if Git has been initialized, if not, initialize it using `git-manager` subagent (use `main` branch).
42
-
43
- ### Research
44
-
45
- * Use multiple `researcher` subagents in parallel to explore the user's request, idea validation, challenges, and find the best possible solutions.
46
- * Keep every research markdown report concise (≤150 lines) while covering all requested topics and citations.
47
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
48
-
49
- ### Tech Stack
50
-
51
- 1. Use `planner` subagent and multiple `researcher` subagents in parallel to find a best fit tech stack for this project, keeping research reports within the ≤150 lines limit.
52
- 2. Write the tech stack down in `./docs` directory
53
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
54
-
55
- ### Wireframe & Design
56
-
57
- * Use `ui-ux-designer` subagent and multiple `researcher` subagents in parallel to create a design plan that follows the progressive disclosure structure:
58
- - Create a directory using naming pattern from `## Naming` section.
59
- - Save the overview access point at `plan.md`, keep it generic, under 80 lines, and list each phase with status/progress and links.
60
- - For each phase, add `phase-XX-phase-name.md` files containing sections (Context links, Overview with date/priority/statuses, Key Insights, Requirements, Architecture, Related code files, Implementation Steps, Todo list, Success Criteria, Risk Assessment, Security Considerations, Next steps).
61
- * Keep related research reports within the ≤150 lines limit.
62
- - **Research** about design style, trends, fonts, colors, border, spacing, elements' positions, etc.
63
- - Describe details of the assets in the design so they can be generated with `ai-multimodal` skill later on.
64
- - **IMPORTANT:** Try to predict the font name (Google Fonts) and font size in the given screenshot, don't just use **Inter** or **Poppins** fonts.
65
- * Then use `ui-ux-designer` subagent to create the design guidelines at `./docs/design-guidelines.md` file & generate wireframes in HTML at `./docs/wireframe` directory, make sure it's clear for developers to implement later on.
66
- * If there are no logo provided, use `ai-multimodal` skill to generate a logo.
67
- * Use `chrome-devtools` skill to take a screenshot of the wireframes and save it at `./docs/wireframes/` directory.
68
- * Ask the user to review and approve the design guidelines, if the user requests to change the design guidelines, repeat the previous step until the user approves the design guidelines.
69
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
70
-
71
- ### Implementation
72
-
73
- * Use `general agent (main agent)` to implement the plan step by step, follow the implementation plan in `./plans` directory.
74
- * Use `ui-ux-designer` subagent to implement the frontend part follow the design guidelines at `./docs/design-guidelines.md` file.
75
- * Use `ai-multimodal` skill to generate the assets.
76
- * Use `ai-multimodal` (`video-analysis`, or `document-extraction`) skills to analyze the generated assets based on their format.
77
- * Use `Background Removal Tool` to remove background from the assets if needed.
78
- * Use `ai-multimodal` (`image-generation`) skill to edit the assets if needed.
79
- * Use `imagemagick` skill to crop or resize the assets if needed.
80
- * Run type checking and compile the code command to make sure there are no syntax errors.
81
-
82
- ### Testing
83
-
84
- * Write the tests for the plan, make sure you don't use fake data just to pass the tests, tests should be real and cover all possible cases.
85
- * Use `tester` subagent to run the tests, make sure it works, then report back to main agent.
86
- * If there are issues or failed tests, use `debugger` subagent to find the root cause of the issues, then ask main agent to fix all of them and
87
- * Repeat the process until all tests pass or no more issues are reported. Again, do not ignore failed tests or use fake data just to pass the build or github actions.
88
-
89
- ### Code Review
90
-
91
- * After finishing, delegate to `code-reviewer` subagent to review code. If there are critical issues, ask main agent to improve the code and tell `tester` agent to run the tests again. Repeat the process until all tests pass.
92
- * When all tests pass, code is reviewed, the tasks are completed, report back to user with a summary of the changes and explain everything briefly.
93
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
94
-
95
- ### Documentation
96
-
97
- * Use `docs-manager` subagent to update the docs if needed.
98
- * Create/update `./docs/README.md` file (keep it concise and under 300 lines).
99
- * Create/update `./docs/project-overview.-pdr.md` (Product Development Requirements) file.
100
- * Create/update `./docs/code-standards.md` file.
101
- * Create/update `./docs/system-architecture.md` file.
102
- * Use `project-manager` subagent to create a project roadmap at `./docs/project-roadmap.md` file.
103
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.
104
-
105
- ### Onboarding
106
-
107
- * Instruct the user to get started with the project:
108
- * Ask 1 question at a time, wait for the user to answer before moving to the next question.
109
- * For example: instruct the user to obtain the API key from the provider, then ask the user to provide the API key to add it to the environment variables.
110
- * If user requests to change the configuration, repeat the previous step until the user approves the configuration.
111
-
112
- ### Final Report
113
- * Report back to user with a summary of the changes and explain everything briefly, guide user to get started and suggest the next steps.
114
- * Ask the user if they want to commit and push to git repository, if yes, use `git-manager` subagent to commit and push to git repository.
115
- * **IMPORTANT:** Sacrifice grammar for the sake of concision when writing outputs.