@leejungkiin/awkit 1.6.1 → 1.6.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.
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# AWKit — Antigravity Workflow Kit v12.5
|
|
2
2
|
|
|
3
|
-
> **v12.5
|
|
3
|
+
> **v12.5** · Single Source of Truth · Symphony-First · Mindful Execution
|
|
4
4
|
|
|
5
5
|
AWKit là framework điều phối AI agent chuyên nghiệp. Đây là **nơi duy nhất** chứa toàn bộ workflows, skills, GEMINI.md và cấu hình — không còn phân tán giữa nhiều repo.
|
|
6
|
+
AWKit giúp tối ưu context khi làm việc, có khả năng quản lý task, đồng bộ Trello và báo cáo lên Telegram, ngoài ra Awkit còn sử dụng cơ chế checkpoint để dev dừng đúng lúc tránh tâm lý tối ưu hóa quá mức (over-optimization) một vấn đề phổ biến khi làm việc với AI.
|
|
6
7
|
|
|
7
8
|
---
|
|
8
9
|
|
|
@@ -224,4 +225,4 @@ awkit enable-pack creator-studio
|
|
|
224
225
|
|
|
225
226
|
---
|
|
226
227
|
|
|
227
|
-
*AWKit
|
|
228
|
+
*AWKit Antigravity Workflow Kit · Created by leejungkiin*
|
package/package.json
CHANGED
|
@@ -72,7 +72,7 @@ FALLBACK (nếu không match path):
|
|
|
72
72
|
|---------|--------|
|
|
73
73
|
| Trước khi edit bất kỳ function/class/method | `gitnexus_impact` → check blast radius |
|
|
74
74
|
| Debug error / trace bug | `gitnexus_query` + `gitnexus_context` |
|
|
75
|
-
| Explore unfamiliar code | `
|
|
75
|
+
| Explore unfamiliar code | `CODEBASE.md` + `grep_search` → Tìm Anchor Class → `gitnexus_context` |
|
|
76
76
|
| Rename symbol | `gitnexus_rename` (dry_run trước) |
|
|
77
77
|
| Trước commit | `gitnexus_detect_changes` |
|
|
78
78
|
| Refactor / extract / split | `gitnexus_context` + `gitnexus_impact` |
|
|
@@ -149,14 +149,14 @@ FALLBACK (nếu không match path):
|
|
|
149
149
|
|
|
150
150
|
---
|
|
151
151
|
|
|
152
|
-
## 📋 Workflow: Exploring Code
|
|
152
|
+
## 📋 Workflow: Exploring Code (Zero-Shotgun Protocol)
|
|
153
153
|
|
|
154
154
|
```
|
|
155
|
-
1.
|
|
156
|
-
2.
|
|
157
|
-
3. gitnexus_query
|
|
158
|
-
4. gitnexus_context({name: "<
|
|
159
|
-
5. READ gitnexus://repo/{name}/process/{name} → Full trace
|
|
155
|
+
1. Đọc CODEBASE.md để xác định cấu trúc module / Clean Architecture layers.
|
|
156
|
+
2. Dùng list_dir hoặc grep_search vào đúng thư mục dự đoán để tìm 1 "Anchor Class" (VD: ProfileViewModel).
|
|
157
|
+
3. KHÔNG dùng gitnexus_query rải rác trừ khi các bước 1-2 hoàn toàn thất bại.
|
|
158
|
+
4. Dùng gitnexus_context({name: "<AnchorClass>"}) để lấy 360° view các luồng dữ liệu xung quanh điểm neo này.
|
|
159
|
+
5. READ gitnexus://repo/{name}/process/{name} → Full trace luồng thực thi liên quan.
|
|
160
160
|
```
|
|
161
161
|
|
|
162
162
|
---
|
|
@@ -201,10 +201,11 @@ always_do:
|
|
|
201
201
|
- PHẢI chạy gitnexus_impact TRƯỚC khi edit bất kỳ symbol nào
|
|
202
202
|
- PHẢI chạy gitnexus_detect_changes TRƯỚC khi commit
|
|
203
203
|
- PHẢI cảnh báo user khi risk = HIGH hoặc CRITICAL
|
|
204
|
-
-
|
|
204
|
+
- PHẢI dùng GitNexus context sau khi xác định được "Anchor Class" qua heuristic search
|
|
205
205
|
- PHẢI dùng gitnexus_rename (dry_run trước) khi rename
|
|
206
206
|
|
|
207
207
|
never_do:
|
|
208
|
+
- KHÔNG gọi gitnexus_query (>1 lần) với các khái niệm bao quát ("appwrite feedback", "push notification") gây lãng phí token.
|
|
208
209
|
- KHÔNG edit function/class mà chưa check impact
|
|
209
210
|
- KHÔNG ignore HIGH/CRITICAL risk warnings
|
|
210
211
|
- KHÔNG rename bằng find-and-replace → dùng gitnexus_rename
|
|
@@ -84,7 +84,7 @@ OPTIONAL:
|
|
|
84
84
|
### Phase 2: Per-Module Spec Generation
|
|
85
85
|
- Gather context (BRIEF, source code, KI, NeuralMemory)
|
|
86
86
|
- Generate spec theo template → `templates/module-spec-template.md`
|
|
87
|
-
- Self-review checklist: screens đủ? flows rõ? edge cases?
|
|
87
|
+
- Self-review checklist: screens đủ? flows rõ? edge cases? **transitions & micro-interactions defined?**
|
|
88
88
|
|
|
89
89
|
### Phase 3: Cross-Module Consistency Check
|
|
90
90
|
- Dependency graph (circular? missing cross-refs?)
|
|
@@ -85,10 +85,31 @@
|
|
|
85
85
|
|
|
86
86
|
---
|
|
87
87
|
|
|
88
|
+
## Transitions & Micro-interactions (Mobile)
|
|
89
|
+
|
|
90
|
+
| Screen/Element | Animation Type | Details |
|
|
91
|
+
|----------------|---------------|---------|
|
|
92
|
+
| [List/Grid screen] | Staggered fade+slide | Items appear sequentially (50ms delay) |
|
|
93
|
+
| [Stats/Dashboard] | Number counter | Values roll/count up from 0 |
|
|
94
|
+
| [Navigation A→B] | Hero / Shared element | [which element animates across] |
|
|
95
|
+
| [Modal/Sheet] | Spring damping | Spring-based open/close |
|
|
96
|
+
| [Buttons/Cards] | Scale on press | Scale 0.95 + haptic impact(light) |
|
|
97
|
+
| [Success state] | Checkmark draw | Animated stroke white→green |
|
|
98
|
+
| [Error state] | Shake | Horizontal oscillation on invalid field |
|
|
99
|
+
| [Toggle/Switch] | Spring bounce | Spring physics + optional haptic |
|
|
100
|
+
| [Like/Favorite] | Pulse/Particle | Scale pulse or burst effect |
|
|
101
|
+
|
|
102
|
+
> Fill only relevant rows. Delete unused ones. Add custom animations as needed.
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
88
106
|
## Acceptance Criteria
|
|
89
107
|
- [ ] [measurable criterion 1]
|
|
90
108
|
- [ ] [measurable criterion 2]
|
|
91
109
|
- [ ] [measurable criterion 3]
|
|
110
|
+
- [ ] All loading states use skeleton→content morph transitions (no instant pop-in)
|
|
111
|
+
- [ ] All tappable elements have scale-on-press feedback
|
|
112
|
+
- [ ] Haptic feedback integrated for key interactions
|
|
92
113
|
```
|
|
93
114
|
|
|
94
115
|
---
|
|
@@ -98,9 +98,13 @@ File patterns:
|
|
|
98
98
|
- Đưa hướng dẫn test cụ thể
|
|
99
99
|
- Gọi notify_user(BlockedOnUser=true) — DỪNG và CHỜ user response
|
|
100
100
|
|
|
101
|
-
=== TRƯỜNG HỢP 2: autoVerification = true (
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
=== TRƯỜNG HỢP 2: autoVerification = true (Autonomous UI Visual Verification) ===
|
|
102
|
+
AI tự động thực hiện chu trình 5 bước để kiểm tra hiển thị:
|
|
103
|
+
1. [ISOLATION]: Tạm thời chỉnh sửa Entry File (ContentView/MainActivity/App) để boot trực tiếp vào màn hình mục tiêu. Inject mock-data.
|
|
104
|
+
2. [BOOT]: Chạy Auto Build và Launch app lên Simulator/Emulator (hoặc dùng mcp_maestro_launch_app).
|
|
105
|
+
3. [VERIFY]: Call CLI / Maestro take_screenshot. AI gọi `view_file` lên ảnh để đối chiếu vs Thiết kế (Padding, Colors, Text, State).
|
|
106
|
+
4. [MANDATORY REVERT]: BẤT KỂ kết quả ra sao (hay build lỗi), PHẢI gỡ bỏ code Isolation, trả Entry File về phiên bản gốc (dùng Git stash hoặc revert tay).
|
|
107
|
+
5. [FEEDBACK LOOP]:
|
|
108
|
+
- Nếu PASS: BlockedOnUser=false. Lập tức đi tiếp!
|
|
109
|
+
- Nếu FAIL: AI tự log ra file kết quả chẩn đoán lỗi hiển thị -> Tự vòng lại sửa Code -> Start Bước 1. (Tối đa 3 vòng lặp mindful_pause).
|
|
106
110
|
```
|