@leejungkiin/awkit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +146 -0
- package/VERSION +1 -0
- package/bin/awf.js +549 -0
- package/bin/awk.js +1759 -0
- package/core/AGENTS.md +39 -0
- package/core/GEMINI.md +202 -0
- package/core/GEMINI.md.bak +244 -0
- package/core/orchestrator.md +58 -0
- package/package.json +46 -0
- package/schemas/brain.schema.json +342 -0
- package/schemas/preferences.schema.json +95 -0
- package/schemas/session.schema.json +112 -0
- package/skill-packs/neural-memory/README.md +111 -0
- package/skill-packs/neural-memory/pack.json +35 -0
- package/skill-packs/neural-memory/schemas/brain-snapshot.json +167 -0
- package/skill-packs/neural-memory/skills/nm-memory-audit/SKILL.md +157 -0
- package/skill-packs/neural-memory/skills/nm-memory-evolution/SKILL.md +202 -0
- package/skill-packs/neural-memory/skills/nm-memory-intake/SKILL.md +135 -0
- package/skill-packs/neural-memory/skills/nm-memory-sync/SKILL.md +184 -0
- package/skill-packs/neural-memory/workflows/nm-import.md +73 -0
- package/skill-packs/neural-memory/workflows/nm-recall.md +67 -0
- package/skill-packs/neural-memory/workflows/nm-snapshot.md +69 -0
- package/skills/adaptive-language/SKILL.md +189 -0
- package/skills/ambient-brain/SKILL.md +314 -0
- package/skills/ambient-brain/brain-router.md +185 -0
- package/skills/ambient-brain/brain-templates.md +201 -0
- package/skills/auto-save/SKILL.md +223 -0
- package/skills/awf-adaptive-language/SKILL.md +189 -0
- package/skills/awf-context-help/SKILL.md +180 -0
- package/skills/awf-error-translator/SKILL.md +153 -0
- package/skills/awf-session-restore/SKILL.md +270 -0
- package/skills/awf-version-tracker/SKILL.md +32 -0
- package/skills/awf-version-tracker/scripts/snapshot.sh +22 -0
- package/skills/beads-manager/SKILL.md +323 -0
- package/skills/brainstorm-agent/SKILL.md +295 -0
- package/skills/context-help/SKILL.md +180 -0
- package/skills/error-translator/SKILL.md +153 -0
- package/skills/ios-engineer/SKILL.md +101 -0
- package/skills/memory-sync/SKILL.md +378 -0
- package/skills/memory-sync/memory-router.md +185 -0
- package/skills/memory-sync/memory-templates.md +201 -0
- package/skills/orchestrator/SKILL.md +193 -0
- package/skills/session-restore/SKILL.md +240 -0
- package/templates/CODEBASE.md +80 -0
- package/templates/brain.example.json +321 -0
- package/templates/preferences.example.json +21 -0
- package/templates/project-identity/android.json +28 -0
- package/templates/project-identity/backend-nestjs.json +24 -0
- package/templates/project-identity/expo.json +27 -0
- package/templates/project-identity/ios.json +27 -0
- package/templates/project-identity/web-nextjs.json +24 -0
- package/templates/session.example.json +53 -0
- package/templates/specs/design-template.md +166 -0
- package/templates/specs/requirements-template.md +65 -0
- package/templates/specs/tasks-template.md +132 -0
- package/templates/structures/android.txt +10 -0
- package/templates/structures/backend-nestjs.txt +6 -0
- package/templates/structures/expo.txt +9 -0
- package/templates/structures/ios.txt +9 -0
- package/templates/structures/web-nextjs.txt +6 -0
- package/templates/workflow_dual_mode_template.md +87 -0
- package/workflows/_uncategorized/README.md +339 -0
- package/workflows/_uncategorized/ads-creative.md +357 -0
- package/workflows/_uncategorized/ads-full-optimization.md +308 -0
- package/workflows/_uncategorized/ads-plan.md +247 -0
- package/workflows/_uncategorized/ads-user-analysis.md +337 -0
- package/workflows/_uncategorized/skill-health.md +35 -0
- package/workflows/_uncategorized/skill-rollback.md +35 -0
- package/workflows/ads/admob.md +62 -0
- package/workflows/ads/ads-analyst.md +201 -0
- package/workflows/ads/ads-audit.md +106 -0
- package/workflows/ads/ads-optimize.md +97 -0
- package/workflows/ads/ads-targeting.md +241 -0
- package/workflows/ads/adsExpert.md +160 -0
- package/workflows/ads/smali-ads-config.md +400 -0
- package/workflows/ads/smali-ads-flow.md +331 -0
- package/workflows/ads/smali-ads-interstitial.md +377 -0
- package/workflows/ads/smali-ads-native.md +382 -0
- package/workflows/context/auto-execution-workflow.md +291 -0
- package/workflows/context/auto-implement.md +211 -0
- package/workflows/context/codebase-sync.md +163 -0
- package/workflows/context/logic-reasoning-workflow.md +260 -0
- package/workflows/context/next.md +195 -0
- package/workflows/context/recap.md +212 -0
- package/workflows/context/save-brain.md +285 -0
- package/workflows/context/user-intent-analysis-workflow.md +206 -0
- package/workflows/expert/codeExpert.md +126 -0
- package/workflows/expert/debugExpert.md +136 -0
- package/workflows/expert/planExpert.md +112 -0
- package/workflows/git/cloudflare-tunnel.md +135 -0
- package/workflows/git/git-commit-workflow.md +75 -0
- package/workflows/git/hotfix.md +357 -0
- package/workflows/git/release-notes.md +160 -0
- package/workflows/git/rollback.md +52 -0
- package/workflows/git/smart-git-ops.md +103 -0
- package/workflows/lifecycle/brainstorm.md +377 -0
- package/workflows/lifecycle/code.md +663 -0
- package/workflows/lifecycle/debug.md +116 -0
- package/workflows/lifecycle/deploy.md +95 -0
- package/workflows/lifecycle/init.md +152 -0
- package/workflows/lifecycle/master-code-workflow.md +300 -0
- package/workflows/lifecycle/migration.md +196 -0
- package/workflows/lifecycle/plan.md +91 -0
- package/workflows/lifecycle/refactor.md +165 -0
- package/workflows/lifecycle/run.md +52 -0
- package/workflows/lifecycle/test.md +91 -0
- package/workflows/meta/customize.md +346 -0
- package/workflows/meta/file-protection-rules.md +129 -0
- package/workflows/meta/help.html +350 -0
- package/workflows/meta/project-identity-enforcement.md +180 -0
- package/workflows/mobile/app-analysis.md +64 -0
- package/workflows/mobile/maestro-qa-workflow.md +470 -0
- package/workflows/mobile/maestro-test-workflow.md +84 -0
- package/workflows/mobile/structure-clean-architect.md +271 -0
- package/workflows/mobile/turbo-mobile-build.md +190 -0
- package/workflows/quality/accessibility-audit.md +311 -0
- package/workflows/quality/audit.md +217 -0
- package/workflows/quality/bug-hunter.md +243 -0
- package/workflows/quality/code-janitor.md +209 -0
- package/workflows/quality/code-quality-rules.md +132 -0
- package/workflows/quality/performance-audit.md +343 -0
- package/workflows/quality/project-audit.md +61 -0
- package/workflows/quality/self-healing-test.md +192 -0
- package/workflows/quality/ui-review.md +130 -0
- package/workflows/quality/ux-audit.md +213 -0
- package/workflows/quality/visual-debug.md +34 -0
- package/workflows/roles/oracle.md +267 -0
- package/workflows/roles/product-manager-workflow.md +52 -0
- package/workflows/roles/qa-engineer-workflow.md +41 -0
- package/workflows/roles/tech-lead-workflow.md +45 -0
- package/workflows/roles/ui-ux-designer-workflow.md +42 -0
- package/workflows/roles/vibe-coding-master-workflow.md +52 -0
- package/workflows/ui/app-screen-analyzer.md +152 -0
- package/workflows/ui/create-feature.md +332 -0
- package/workflows/ui/create-spec-architect.md +184 -0
- package/workflows/ui/design-to-ui.md +308 -0
- package/workflows/ui/ui-first-methodology.md +279 -0
- package/workflows/ui/visualize.md +298 -0
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="vi">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Quy Trình Phát Triển Antigravity High-End</title>
|
|
8
|
+
<style>
|
|
9
|
+
:root {
|
|
10
|
+
--bg-color: #0f172a;
|
|
11
|
+
--text-color: #e2e8f0;
|
|
12
|
+
--heading-color: #f8fafc;
|
|
13
|
+
--accent-color: #38bdf8;
|
|
14
|
+
--secondary-accent: #f472b6;
|
|
15
|
+
--card-bg: rgba(30, 41, 59, 0.7);
|
|
16
|
+
--border-color: rgba(148, 163, 184, 0.1);
|
|
17
|
+
--code-bg: #1e293b;
|
|
18
|
+
--success-color: #4ade80;
|
|
19
|
+
--accent-glow: rgba(56, 189, 248, 0.3);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
* {
|
|
23
|
+
box-sizing: border-box;
|
|
24
|
+
margin: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
body {
|
|
29
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
30
|
+
background-color: var(--bg-color);
|
|
31
|
+
color: var(--text-color);
|
|
32
|
+
line-height: 1.6;
|
|
33
|
+
padding: 2rem;
|
|
34
|
+
background-image:
|
|
35
|
+
radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 20%),
|
|
36
|
+
radial-gradient(circle at 90% 80%, rgba(244, 114, 182, 0.1) 0%, transparent 20%);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.container {
|
|
40
|
+
max-width: 960px;
|
|
41
|
+
margin: 0 auto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
header {
|
|
45
|
+
text-align: center;
|
|
46
|
+
margin-bottom: 4rem;
|
|
47
|
+
padding: 2rem;
|
|
48
|
+
position: relative;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
h1 {
|
|
52
|
+
font-size: 2.8rem;
|
|
53
|
+
color: var(--heading-color);
|
|
54
|
+
margin-bottom: 0.5rem;
|
|
55
|
+
letter-spacing: -0.025em;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.subtitle {
|
|
59
|
+
font-size: 1.25rem;
|
|
60
|
+
color: var(--accent-color);
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
section {
|
|
65
|
+
margin-bottom: 3rem;
|
|
66
|
+
animation: fadeIn 0.5s ease-out forwards;
|
|
67
|
+
opacity: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes fadeIn {
|
|
71
|
+
from {
|
|
72
|
+
opacity: 0;
|
|
73
|
+
transform: translateY(10px);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
to {
|
|
77
|
+
opacity: 1;
|
|
78
|
+
transform: translateY(0);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
section:nth-child(2) {
|
|
83
|
+
animation-delay: 0.1s;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
section:nth-child(3) {
|
|
87
|
+
animation-delay: 0.2s;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
section:nth-child(4) {
|
|
91
|
+
animation-delay: 0.3s;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.card {
|
|
95
|
+
background: var(--card-bg);
|
|
96
|
+
border: 1px solid var(--border-color);
|
|
97
|
+
border-radius: 1rem;
|
|
98
|
+
padding: 1.5rem;
|
|
99
|
+
backdrop-filter: blur(10px);
|
|
100
|
+
margin-bottom: 1.5rem;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.workflow-grid {
|
|
104
|
+
display: grid;
|
|
105
|
+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
106
|
+
gap: 1.5rem;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.workflow-item {
|
|
110
|
+
background: rgba(255, 255, 255, 0.03);
|
|
111
|
+
padding: 1.5rem;
|
|
112
|
+
border-radius: 0.75rem;
|
|
113
|
+
border-left: 4px solid var(--accent-color);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.workflow-item.master {
|
|
117
|
+
border-left-color: var(--secondary-accent);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
h2 {
|
|
121
|
+
font-size: 1.8rem;
|
|
122
|
+
margin-bottom: 1.5rem;
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: center;
|
|
125
|
+
gap: 0.5rem;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
h3 {
|
|
129
|
+
font-family: monospace;
|
|
130
|
+
color: var(--accent-color);
|
|
131
|
+
margin-bottom: 0.5rem;
|
|
132
|
+
font-size: 1.1rem;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
code {
|
|
136
|
+
font-family: monospace;
|
|
137
|
+
color: var(--secondary-accent);
|
|
138
|
+
background: rgba(244, 114, 182, 0.1);
|
|
139
|
+
padding: 0.2rem 0.4rem;
|
|
140
|
+
border-radius: 0.25rem;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.step-container {
|
|
144
|
+
padding-left: 2rem;
|
|
145
|
+
border-left: 2px solid var(--border-color);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.step {
|
|
149
|
+
position: relative;
|
|
150
|
+
margin-bottom: 2.5rem;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.step-number {
|
|
154
|
+
position: absolute;
|
|
155
|
+
left: -2.9rem;
|
|
156
|
+
top: 0;
|
|
157
|
+
width: 1.8rem;
|
|
158
|
+
height: 1.8rem;
|
|
159
|
+
background: var(--bg-color);
|
|
160
|
+
border: 2px solid var(--accent-color);
|
|
161
|
+
border-radius: 50%;
|
|
162
|
+
color: var(--accent-color);
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
justify-content: center;
|
|
166
|
+
font-weight: bold;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.download-btn {
|
|
170
|
+
display: inline-flex;
|
|
171
|
+
align-items: center;
|
|
172
|
+
gap: 0.5rem;
|
|
173
|
+
margin-top: 2rem;
|
|
174
|
+
padding: 0.8rem 1.5rem;
|
|
175
|
+
background: linear-gradient(90deg, var(--accent-color), #a855f7);
|
|
176
|
+
color: white;
|
|
177
|
+
text-decoration: none;
|
|
178
|
+
border-radius: 9999px;
|
|
179
|
+
font-weight: 600;
|
|
180
|
+
transition: transform 0.2s, box-shadow 0.2s;
|
|
181
|
+
box-shadow: 0 4px 15px var(--accent-glow);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.download-btn:hover {
|
|
185
|
+
transform: translateY(-2px);
|
|
186
|
+
box-shadow: 0 8px 25px var(--accent-glow);
|
|
187
|
+
}
|
|
188
|
+
</style>
|
|
189
|
+
</head>
|
|
190
|
+
|
|
191
|
+
<body>
|
|
192
|
+
<div class="container">
|
|
193
|
+
<header>
|
|
194
|
+
<h1>Antigravity Development</h1>
|
|
195
|
+
<div class="subtitle">AI-First Spec-Driven Workflow System</div>
|
|
196
|
+
<a href="workflow.zip" download class="download-btn">📥 Tải về Workflow.zip</a>
|
|
197
|
+
</header>
|
|
198
|
+
|
|
199
|
+
<section>
|
|
200
|
+
<h2>🌟 Các Quy Trình Cốt Lõi (Core Workflows)</h2>
|
|
201
|
+
<div class="workflow-grid">
|
|
202
|
+
<div class="workflow-item master">
|
|
203
|
+
<h3>/master-code-workflow</h3>
|
|
204
|
+
<p><strong>Master Workflow.</strong> Quy trình toàn diện từ A-Z để thiết kế và hiện thực hóa tính
|
|
205
|
+
năng chuẩn Clean Architecture & Kiro-style specs.</p>
|
|
206
|
+
</div>
|
|
207
|
+
<div class="workflow-item">
|
|
208
|
+
<h3>/app-screen-analyzer</h3>
|
|
209
|
+
<p><strong>"God Mode" Planning.</strong> Phân tích ý tưởng/ảnh chụp màn hình và tự động tạo toàn bộ
|
|
210
|
+
specs (Requirements/Design/Tasks) cho TẤT CẢ màn hình.</p>
|
|
211
|
+
</div>
|
|
212
|
+
<div class="workflow-item">
|
|
213
|
+
<h3>/create-spec-architect</h3>
|
|
214
|
+
<p><strong>Single Feature Design.</strong> Tạo specs chi tiết cho một tính năng lẻ cụ thể (VD: chỉ
|
|
215
|
+
làm tính năng Chat).</p>
|
|
216
|
+
</div>
|
|
217
|
+
<div class="workflow-item">
|
|
218
|
+
<h3>/auto-implement</h3>
|
|
219
|
+
<p><strong>The Builder.</strong> Tự động code và test dựa trên các file specs đã có (đọc file
|
|
220
|
+
tasks.md).</p>
|
|
221
|
+
</div>
|
|
222
|
+
</div>
|
|
223
|
+
</section>
|
|
224
|
+
|
|
225
|
+
<section>
|
|
226
|
+
<h2>🎨 UI & Implementation</h2>
|
|
227
|
+
<div class="workflow-grid">
|
|
228
|
+
<div class="workflow-item">
|
|
229
|
+
<h3>/design-to-ui</h3>
|
|
230
|
+
<p>Chuyển đổi trực tiếp từ ý tưởng/ảnh thiết kế sang code UI Swift/SwiftUI/Kotlin.</p>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="workflow-item">
|
|
233
|
+
<h3>/ui-first-methodology</h3>
|
|
234
|
+
<p>Phương pháp phát triển ưu tiên giao diện trước, logic sau. Đảm bảo UX mượt mà.</p>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="workflow-item">
|
|
237
|
+
<h3>/create-feature</h3>
|
|
238
|
+
<p>Xây dựng tính năng hoàn chỉnh với logic chặt chẽ và trải nghiệm Premium.</p>
|
|
239
|
+
</div>
|
|
240
|
+
<div class="workflow-item">
|
|
241
|
+
<h3>/init & /structure</h3>
|
|
242
|
+
<p><code>/init</code>: Khởi tạo dự án Mobile chuẩn.<br>
|
|
243
|
+
<code>/structure-clean-architect</code>: Tạo cấu trúc Clean Architecture.</p>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
</section>
|
|
247
|
+
|
|
248
|
+
<section>
|
|
249
|
+
<h2>🕵️ Quality Assurance & Debugging</h2>
|
|
250
|
+
<div class="workflow-grid">
|
|
251
|
+
<div class="workflow-item">
|
|
252
|
+
<h3>/bug-hunter</h3>
|
|
253
|
+
<p>Quy trình tìm, tái hiện và sửa lỗi dựa trên log hoặc báo cáo chi tiết.</p>
|
|
254
|
+
</div>
|
|
255
|
+
<div class="workflow-item">
|
|
256
|
+
<h3>/visual-debug</h3>
|
|
257
|
+
<p>Phân tích ảnh chụp màn hình để phát hiện lỗi giao diện, lệch layout.</p>
|
|
258
|
+
</div>
|
|
259
|
+
<div class="workflow-item">
|
|
260
|
+
<h3>/maestro-test-workflow</h3>
|
|
261
|
+
<p>Tạo và chạy bài kiểm tra giao diện tự động (E2E) với Maestro.</p>
|
|
262
|
+
</div>
|
|
263
|
+
<div class="workflow-item">
|
|
264
|
+
<h3>/code-review-workflow</h3>
|
|
265
|
+
<p>Review code chuyên sâu: Bảo mật, hiệu năng, Clean Code.</p>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
</section>
|
|
269
|
+
|
|
270
|
+
<section>
|
|
271
|
+
<h2>🛠️ Operations & Maintenance</h2>
|
|
272
|
+
<div class="workflow-grid">
|
|
273
|
+
<div class="workflow-item">
|
|
274
|
+
<h3>DevOps & Git</h3>
|
|
275
|
+
<p><code>/deploy</code>: Đẩy app lên TestFlight/Play Store.<br>
|
|
276
|
+
<code>/smart-git-ops</code>: Quản lý flows git và commit chuẩn.</p>
|
|
277
|
+
</div>
|
|
278
|
+
<div class="workflow-item">
|
|
279
|
+
<h3>Maintenance</h3>
|
|
280
|
+
<p><code>/refactor</code>: Tối ưu cấu trúc code an toàn.<br>
|
|
281
|
+
<code>/code-janitor</code>: Dọn dẹp code rác & chuẩn hóa.</p>
|
|
282
|
+
</div>
|
|
283
|
+
<div class="workflow-item">
|
|
284
|
+
<h3>Knowledge</h3>
|
|
285
|
+
<p><code>/save-brain</code>: Lưu kiến thức dự án.<br>
|
|
286
|
+
<code>/recap</code>: Khôi phục ngữ cảnh làm việc.</p>
|
|
287
|
+
</div>
|
|
288
|
+
<div class="workflow-item">
|
|
289
|
+
<h3>Roles</h3>
|
|
290
|
+
<p><code>/product-manager-workflow</code><br>
|
|
291
|
+
<code>/tech-lead-workflow</code><br>
|
|
292
|
+
<code>/ui-ux-designer-workflow</code></p>
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
295
|
+
</section>
|
|
296
|
+
|
|
297
|
+
<section>
|
|
298
|
+
<h2>🚀 Hướng Dẫn Kịch Bản Sử Dụng</h2>
|
|
299
|
+
<div class="card">
|
|
300
|
+
<h3>Kịch bản 1: Bắt đầu dự án mới (Khuyên dùng)</h3>
|
|
301
|
+
<br>
|
|
302
|
+
<div class="step-container">
|
|
303
|
+
<div class="step">
|
|
304
|
+
<div class="step-number">1</div>
|
|
305
|
+
<h3>Thiết lập cấu trúc & Định hướng</h3>
|
|
306
|
+
<p>Chạy <code>/master-code-workflow</code> để thiết lập nền móng chuẩn chỉnh hoặc <code>/init</code> để tạo dự án mới.</p>
|
|
307
|
+
</div>
|
|
308
|
+
<div class="step">
|
|
309
|
+
<div class="step-number">2</div>
|
|
310
|
+
<h3>Phân tích toàn bộ ứng dụng</h3>
|
|
311
|
+
<p>Ra lệnh: <em>"Analyze app: [Mô tả ý tưởng app]"</em>. Hệ thống sẽ kích hoạt
|
|
312
|
+
<code>/app-screen-analyzer</code> để tạo hàng loạt specs cho 20+ màn hình.
|
|
313
|
+
</p>
|
|
314
|
+
</div>
|
|
315
|
+
<div class="step">
|
|
316
|
+
<div class="step-number">3</div>
|
|
317
|
+
<h3>Hiện thực hóa từng phần</h3>
|
|
318
|
+
<p>Dùng <code>/auto-implement docs/specs/auth</code>, sau đó đến
|
|
319
|
+
<code>/auto-implement docs/specs/home</code>... theo lộ trình trong
|
|
320
|
+
<code>_overview.md</code>.
|
|
321
|
+
</p>
|
|
322
|
+
</div>
|
|
323
|
+
</div>
|
|
324
|
+
</div>
|
|
325
|
+
|
|
326
|
+
<div class="card">
|
|
327
|
+
<h3>Kịch bản 2: Làm tính năng lẻ (Feature nhỏ)</h3>
|
|
328
|
+
<br>
|
|
329
|
+
<div class="step-container">
|
|
330
|
+
<div class="step">
|
|
331
|
+
<div class="step-number">1</div>
|
|
332
|
+
<h3>Thiết kế Specs</h3>
|
|
333
|
+
<p>Chạy <code>/create-spec-architect</code> để tạo bộ hồ sơ cho tính năng mới.</p>
|
|
334
|
+
</div>
|
|
335
|
+
<div class="step">
|
|
336
|
+
<div class="step-number">2</div>
|
|
337
|
+
<h3>Thực thi</h3>
|
|
338
|
+
<p>Chạy <code>/auto-implement [tên-feature]</code> để AI tự động code.</p>
|
|
339
|
+
</div>
|
|
340
|
+
</div>
|
|
341
|
+
</div>
|
|
342
|
+
</section>
|
|
343
|
+
|
|
344
|
+
<footer>
|
|
345
|
+
<p>Antigravity System © 2026 - Spec-Driven Development</p>
|
|
346
|
+
</footer>
|
|
347
|
+
</div>
|
|
348
|
+
</body>
|
|
349
|
+
|
|
350
|
+
</html>
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Tuân thủ định dạng và tiêu chuẩn dự án theo .project-identity.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Project Identity Enforcement Workflow
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
Workflow này đảm bảo rằng AI assistant luôn kiểm tra và tuân thủ thông tin trong `.project-identity` trước khi thực hiện bất kỳ nhiệm vụ nào.
|
|
10
|
+
|
|
11
|
+
## 🔴 MANDATORY RULES
|
|
12
|
+
|
|
13
|
+
### Pre-Task Identity Check
|
|
14
|
+
|
|
15
|
+
**BẮT BUỘC thực hiện trước mọi nhiệm vụ:**
|
|
16
|
+
|
|
17
|
+
1. **Read .project-identity file**
|
|
18
|
+
2. **Analyze project context**
|
|
19
|
+
3. **Load appropriate workflow rules**
|
|
20
|
+
4. **Apply project-specific constraints**
|
|
21
|
+
|
|
22
|
+
### Identity Check Protocol
|
|
23
|
+
|
|
24
|
+
#### Step 1: File Validation
|
|
25
|
+
```
|
|
26
|
+
IF .project-identity exists:
|
|
27
|
+
→ Proceed to Step 2
|
|
28
|
+
ELSE:
|
|
29
|
+
→ Create .project-identity template
|
|
30
|
+
→ Request user to fill required information
|
|
31
|
+
→ STOP until completed
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
#### Step 2: Context Analysis
|
|
35
|
+
**Extract and understand:**
|
|
36
|
+
- `projectType`: Determines platform-specific rules
|
|
37
|
+
- `projectStage`: Defines current workflow phase
|
|
38
|
+
- `mainLanguages`: Programming languages in use
|
|
39
|
+
- `mainFrameworks`: Technology stack
|
|
40
|
+
- `keyFeatures`: Core functionality
|
|
41
|
+
- `projectLifecycle`: Current stage requirements
|
|
42
|
+
|
|
43
|
+
#### Step 3: Workflow Rules Loading
|
|
44
|
+
**Load rules in this order:**
|
|
45
|
+
1. `coreRules.always_applied` (mandatory for all tasks)
|
|
46
|
+
2. `platformSpecificRules` based on `projectType`
|
|
47
|
+
3. Stage-specific rules from `projectLifecycle`
|
|
48
|
+
4. Integration rules if features are enabled
|
|
49
|
+
|
|
50
|
+
## Workflow Rules Mapping
|
|
51
|
+
|
|
52
|
+
### By Project Type
|
|
53
|
+
|
|
54
|
+
**Android Projects:**
|
|
55
|
+
```
|
|
56
|
+
Required Rules:
|
|
57
|
+
- .cursor/rules/android-workflow.mdc
|
|
58
|
+
- .cursor/rules/android-code-deduplication.mdc
|
|
59
|
+
- .cursor/rules/tdd-mobile-workflow.mdc
|
|
60
|
+
- .cursor/rules/mobile-utility-workflow.mdc
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**iOS Projects:**
|
|
64
|
+
```
|
|
65
|
+
Required Rules:
|
|
66
|
+
- .cursor/rules/ios-workflow.mdc
|
|
67
|
+
- .cursor/rules/tdd-mobile-workflow.mdc
|
|
68
|
+
- .cursor/rules/mobile-utility-workflow.mdc
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
**Web Projects:**
|
|
72
|
+
```
|
|
73
|
+
Required Rules:
|
|
74
|
+
- .cursor/rules/frontend-rules.mdc
|
|
75
|
+
- .cursor/rules/backend-rules-optimized.mdc
|
|
76
|
+
- .cursor/rules/api-integration-rules.mdc
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Flutter Projects:**
|
|
80
|
+
```
|
|
81
|
+
Required Rules:
|
|
82
|
+
- .cursor/rules/mobile-utility-workflow.mdc
|
|
83
|
+
- .cursor/rules/tdd-mobile-workflow.mdc
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### By Project Stage
|
|
87
|
+
|
|
88
|
+
**Stage 1 - Brainstorm:**
|
|
89
|
+
```
|
|
90
|
+
Required Rules:
|
|
91
|
+
- .cursor/rules/brainstorm-workflow.mdc
|
|
92
|
+
- .cursor/rules/brainstorm-detailed-workflow.mdc
|
|
93
|
+
Blocking: Cannot proceed to development without brainstorm completion
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
**Stage 2 - Setup:**
|
|
97
|
+
```
|
|
98
|
+
Required Rules:
|
|
99
|
+
- .cursor/rules/project-creation-workflow.mdc
|
|
100
|
+
- .cursor/rules/planning-workflow.mdc
|
|
101
|
+
- .cursor/rules/tech-stack-selection.mdc
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Stage 3 - Development:**
|
|
105
|
+
```
|
|
106
|
+
Required Rules:
|
|
107
|
+
- Platform-specific development rules
|
|
108
|
+
- .cursor/rules/development-rules.mdc
|
|
109
|
+
- .cursor/rules/tdd-guidelines.mdc
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Context7 Integration (Enhanced)
|
|
113
|
+
|
|
114
|
+
### Memory Check Requirements
|
|
115
|
+
**Before starting any task:**
|
|
116
|
+
1. **BẮT BUỘC**: Kích hoạt Context7 Auto-Check Workflow
|
|
117
|
+
2. **BẮT BUỘC**: Search Context7 for project-related memories
|
|
118
|
+
3. **BẮT BUỘC**: Resolve library IDs cho các tech stack components
|
|
119
|
+
4. **BẮT BUỘC**: Thu thập documentation và best practices
|
|
120
|
+
5. **BẮT BUỘC**: Apply lessons learned from similar projects
|
|
121
|
+
6. **BẮT BUỘC**: Check for existing solutions or patterns
|
|
122
|
+
7. **BẮT BUỘC**: Validate architecture choices với industry standards
|
|
123
|
+
8. **BẮT BUỘC**: Update memory with new insights
|
|
124
|
+
9. **MỚI**: Implement error handling cho Context7 failures
|
|
125
|
+
10. **MỚI**: Cache Context7 results để improve performance
|
|
126
|
+
|
|
127
|
+
## Enforcement Actions
|
|
128
|
+
|
|
129
|
+
### Blocking Conditions
|
|
130
|
+
**STOP execution if:**
|
|
131
|
+
- `.project-identity` is missing or incomplete
|
|
132
|
+
- Project stage requirements not met
|
|
133
|
+
- Required workflow rules not loaded
|
|
134
|
+
- Stage progression rules violated
|
|
135
|
+
|
|
136
|
+
### Warning Conditions
|
|
137
|
+
**Warn user if:**
|
|
138
|
+
- Project type doesn't match detected technology
|
|
139
|
+
- Stage seems inconsistent with project state
|
|
140
|
+
- Missing recommended integrations
|
|
141
|
+
- Outdated project information
|
|
142
|
+
|
|
143
|
+
### Auto-Update Triggers
|
|
144
|
+
**Automatically update `.project-identity` when:**
|
|
145
|
+
- New technologies are detected
|
|
146
|
+
- Project stage naturally progresses
|
|
147
|
+
- New features are implemented
|
|
148
|
+
- Integration status changes
|
|
149
|
+
|
|
150
|
+
## Error Handling
|
|
151
|
+
|
|
152
|
+
### Missing .project-identity
|
|
153
|
+
```
|
|
154
|
+
Action: Create template file
|
|
155
|
+
Message: "🚫 Project identity file missing. Creating template..."
|
|
156
|
+
Next: Request user to complete required fields
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Incomplete Information
|
|
160
|
+
```
|
|
161
|
+
Action: Identify missing fields
|
|
162
|
+
Message: "⚠️ Project identity incomplete. Missing: [fields]"
|
|
163
|
+
Next: Request specific information
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Stage Violation
|
|
167
|
+
```
|
|
168
|
+
Action: Block execution
|
|
169
|
+
Message: "🚫 Cannot skip project stages. Current: [stage], Required: [required]"
|
|
170
|
+
Next: Guide user to complete current stage
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## Success Criteria
|
|
174
|
+
|
|
175
|
+
**Task can proceed when:**
|
|
176
|
+
- ✅ `.project-identity` exists and is complete
|
|
177
|
+
- ✅ All required workflow rules are loaded
|
|
178
|
+
- ✅ Project context is understood
|
|
179
|
+
- ✅ Stage requirements are validated
|
|
180
|
+
- ✅ No blocking conditions exist
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: 📊 Phân tích ứng dụng chuyên sâu
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
you are a.i named kien, hãy bắt đầu bằng câu: báo cáo sếp, em đã phân tích xong [nhiệm vụ] đây là những cái anh cần ạ, responsible for analyzing applications and giving work instructions, :
|
|
6
|
+
|
|
7
|
+
# analytic google play data
|
|
8
|
+
- if you receive 1 link from the application
|
|
9
|
+
- action as if you are an aso expert, analysis of application, analysis of the keywords of the application
|
|
10
|
+
|
|
11
|
+
# analytic by country
|
|
12
|
+
- if you receive the csv with the containing structure: language,users,new users,engaged sessions,engagement rate,engaged sessions per user,average engagement time,event count,conversions,total revenue
|
|
13
|
+
- please analyze all data and evaluate use by country, assess the potential of countries
|
|
14
|
+
|
|
15
|
+
# analytics csv data:
|
|
16
|
+
|
|
17
|
+
## step 1: ask users to provide data about firebase analytics
|
|
18
|
+
- csv data from firebase analytics.
|
|
19
|
+
- after having the data of firebase analytics moved to the next step
|
|
20
|
+
- tips: the data of firebase analytics will have the structure starting with: report csv export
|
|
21
|
+
|
|
22
|
+
## step 2: data analysis from firebase analytics
|
|
23
|
+
- action as if you are a developer, evaluate detailed applications based on this analytics data.
|
|
24
|
+
- review users by 7 days and 30 days.
|
|
25
|
+
- give suggestions on applications based on this data
|
|
26
|
+
|
|
27
|
+
## step 3: collect google play console data:
|
|
28
|
+
- analyze as if you are an application marketing expert, aso expert
|
|
29
|
+
- csv data from google play console
|
|
30
|
+
### get: store listing conversion analysis
|
|
31
|
+
* get: keyword analytics:
|
|
32
|
+
instruct users to download from:
|
|
33
|
+
- "listing conversion analysis" select "view by: search term": this is the data of the search keywords.
|
|
34
|
+
term (keyword search) data starting from csv starts with: "search term, store listing visitors". analysis of 20 keywords.
|
|
35
|
+
you can be on this keyword to suggest other keywords similar. list 20 other keywords. here i want to use this data to search for potential keywords (currently with low search numbers based on data, but have search data on bg search engines).
|
|
36
|
+
|
|
37
|
+
- continue instruct users to download from: "view by: country / region": application display ratio on play store by country.
|
|
38
|
+
effective statistics according to csv country starting with: country / region, store listing visitors
|
|
39
|
+
|
|
40
|
+
### analytics:
|
|
41
|
+
based on search term and country / region evaluating and analyzing the conversion ratio of the application
|
|
42
|
+
|
|
43
|
+
### revenue:
|
|
44
|
+
if the data contains data on revenue, offer the fluctuations in revenue, the highest revenue days (specify the revenue), compare with the installation.
|
|
45
|
+
|
|
46
|
+
### evaluate data:
|
|
47
|
+
- effective evaluation based on data on the same type of applications, giving assessments on the competitive rate.
|
|
48
|
+
- create a list of keywords that evaluate effectively by keywords and add search data on search engines from that keyword.
|
|
49
|
+
- create a list of countries with good conversion rates
|
|
50
|
+
- suggest similar keywords and keywords according to countries with good conversion rates
|
|
51
|
+
|
|
52
|
+
# overview : provide assessment and actionable insights
|
|
53
|
+
- give a comprehensive performance report of the app, highlighting strengths and weaknesses based on analyzed data.
|
|
54
|
+
- identify key and potential markets by listing countries with the highest user engagement and potential growth markets based on current trends and available data.
|
|
55
|
+
- compare with similar applications to evaluate the app's market position.
|
|
56
|
+
- suggest specific strategies for app optimization and marketing, and outline tasks for user growth and development.
|
|
57
|
+
|
|
58
|
+
each step is to be initiated only after the complete and verified information from the previous step has been obtained. this ensures a systematic and efficient analysis process.
|
|
59
|
+
|
|
60
|
+
# rule:
|
|
61
|
+
- response in vietnamese language
|
|
62
|
+
- do not describe too much details of whose mission
|
|
63
|
+
- you need to focus on application analysis as if you are a marketing expert, an application developer
|
|
64
|
+
- no yapping, limit prose, no fluff
|