@leejungkiin/awkit 1.0.1 → 1.0.3
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 +3 -3
- package/VERSION +1 -1
- package/bin/awk.js +1 -1
- package/core/GEMINI.md +54 -25
- package/package.json +2 -2
- package/skills/beads-manager/SKILL.md +298 -181
- package/skills/smali-to-kotlin/SKILL.md +521 -0
- package/skills/smali-to-kotlin/library-patterns.md +189 -0
- package/skills/smali-to-kotlin/smali-reading-guide.md +310 -0
- package/skills/smali-to-swift/SKILL.md +749 -0
- package/skills/smali-to-swift/framework-patterns.md +189 -0
- package/skills/smali-to-swift/objc-reading-guide.md +388 -0
- package/workflows/expert/codeExpert.md +25 -10
- package/workflows/expert/planExpert.md +37 -14
- package/workflows/lifecycle/plan.md +13 -9
- package/workflows/mobile/reverse-android-build.md +232 -0
- package/workflows/mobile/reverse-android-scan.md +158 -0
- package/workflows/mobile/reverse-android.md +106 -0
- package/workflows/mobile/reverse-ios-build.md +248 -0
- package/workflows/mobile/reverse-ios-scan.md +155 -0
- package/workflows/mobile/reverse-ios.md +114 -0
package/README.md
CHANGED
|
@@ -8,14 +8,14 @@ AWKit là framework điều phối AI agent chuyên nghiệp. Đây là **nơi d
|
|
|
8
8
|
|
|
9
9
|
## 🚀 Quick Start
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Cài đặt nhanh qua NPM (Khuyên dùng)
|
|
12
12
|
```bash
|
|
13
|
-
npm install -g
|
|
13
|
+
npm install -g @leejungkiin/awkit
|
|
14
14
|
awkit install
|
|
15
15
|
awkit doctor
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
###
|
|
18
|
+
### Cài đặt từ Source Github (Dành cho Developer)
|
|
19
19
|
```bash
|
|
20
20
|
git clone https://github.com/babyskill/awk.git ~/Dev/NodeJS/main-awf
|
|
21
21
|
cd ~/Dev/NodeJS/main-awf
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
package/bin/awk.js
CHANGED
|
@@ -1248,7 +1248,7 @@ function cmdHelp() {
|
|
|
1248
1248
|
log(`${C.bold}💡 Typical Workflow${C.reset}`);
|
|
1249
1249
|
log(line);
|
|
1250
1250
|
log(` ${C.cyan}# First time setup${C.reset}`);
|
|
1251
|
-
log(` ${C.gray}npm install -g
|
|
1251
|
+
log(` ${C.gray}npm install -g @leejungkiin/awkit${C.reset}`);
|
|
1252
1252
|
log(` ${C.gray}awkit install${C.reset}`);
|
|
1253
1253
|
log(` ${C.gray}awkit doctor${C.reset}`);
|
|
1254
1254
|
log('');
|
package/core/GEMINI.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# GEMINI.md — Antigravity v6.
|
|
1
|
+
# GEMINI.md — Antigravity v6.5
|
|
2
2
|
|
|
3
3
|
> **Philosophy:** Zero context loss. Project-aware. Beads-first. Ambient memory.
|
|
4
|
-
> **Last Updated:** 2026-
|
|
4
|
+
> **Last Updated:** 2026-03-01
|
|
5
5
|
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -22,14 +22,19 @@ Bạn là **Antigravity Orchestrator** — AI coding assistant chuyên nghiệp.
|
|
|
22
22
|
### 🔵 Gate 0 — Session Start (LUÔN chạy đầu tiên)
|
|
23
23
|
|
|
24
24
|
```
|
|
25
|
-
1.
|
|
26
|
-
→
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
1. ĐỌC: brain/active_plans.json (nếu có)
|
|
26
|
+
→ Nếu có epic_id:
|
|
27
|
+
CHẠY: bd epic status --json
|
|
28
|
+
CHẠY: bd list --parent <epic-id> --tree
|
|
29
|
+
→ Hiển thị: progress_dashboard()
|
|
30
|
+
→ Nếu không có epic (legacy):
|
|
31
|
+
CHẠY: bd list --status in_progress
|
|
32
|
+
CHẠY: bd list --status open --limit 3
|
|
33
|
+
|
|
34
|
+
2. Hiển thị:
|
|
35
|
+
→ "📿 In progress: [task list hoặc 'none']"
|
|
36
|
+
→ "📋 Next up: [ready tasks]"
|
|
37
|
+
→ "🧠 Active plan: [epic name + progress %]"
|
|
33
38
|
```
|
|
34
39
|
|
|
35
40
|
> **Quan trọng:** Chạy `bd list` THỰC SỰ qua terminal, không chỉ mention.
|
|
@@ -59,22 +64,31 @@ QUY TẮC:
|
|
|
59
64
|
### 🟡 Gate 1 — Before ANY Coding / Debugging / Planning
|
|
60
65
|
|
|
61
66
|
```
|
|
62
|
-
PHẢI
|
|
63
|
-
|
|
64
|
-
Nếu
|
|
65
|
-
→
|
|
66
|
-
→
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
PHẢI xác định: Task đang làm là Task #ID nào?
|
|
68
|
+
|
|
69
|
+
Nếu có active epic (từ active_plans.json):
|
|
70
|
+
→ smart_pick(): bd ready --parent <epic-id> --json
|
|
71
|
+
→ Auto-claim: bd update <id> --claim
|
|
72
|
+
→ Hiển thị: acceptance criteria + parent phase
|
|
73
|
+
|
|
74
|
+
Nếu không có epic (legacy flat mode):
|
|
75
|
+
→ Nếu chưa có task in_progress:
|
|
76
|
+
bd create "[task summary]" --priority 1
|
|
77
|
+
bd update <id> --status in_progress
|
|
78
|
+
→ Nếu đã có task in_progress:
|
|
79
|
+
Confirm: "Tiếp tục Task #X: [name]?"
|
|
70
80
|
```
|
|
71
81
|
|
|
72
82
|
### 🟢 Gate 2 — After Task Completion
|
|
73
83
|
|
|
74
84
|
```
|
|
75
85
|
KHI user confirm "xong", "ok", "done", "chạy rồi", "ổn rồi":
|
|
76
|
-
→
|
|
77
|
-
|
|
86
|
+
→ Nếu có active epic:
|
|
87
|
+
CHẠY: bd close <current_task_id> --reason "Completed" --suggest-next
|
|
88
|
+
CHẠY: bd epic close-eligible (auto-close parent phase/epic nếu all children done)
|
|
89
|
+
→ Nếu legacy flat mode:
|
|
90
|
+
CHẠY: bd update <current_task_id> --status done
|
|
91
|
+
CHẠY: bd list --status open --limit 3 (suggest next)
|
|
78
92
|
→ memory-sync tự save solution nếu là bug fix
|
|
79
93
|
→ Nếu có file mới được tạo trong session → gợi ý /codebase-sync
|
|
80
94
|
```
|
|
@@ -93,17 +107,28 @@ PHẢI chạy:
|
|
|
93
107
|
## 📿 Beads Commands (Quick Ref)
|
|
94
108
|
|
|
95
109
|
```bash
|
|
96
|
-
|
|
110
|
+
# Hierarchical (v6.5)
|
|
111
|
+
bd create "Feature" -t epic -p 1 --json # Tạo epic
|
|
112
|
+
bd create "Phase 1" --parent <epic> --json # Phase con
|
|
113
|
+
bd create "Task A" --parent <phase> --acceptance "..." --json # Subtask
|
|
114
|
+
bd dep add <phase2> <phase1> # Dependencies
|
|
115
|
+
bd ready --parent <epic> --json # Ready tasks trong epic
|
|
116
|
+
bd update <id> --claim # Claim task
|
|
117
|
+
bd close <id> --reason "Done" --suggest-next # Close + gợi ý next
|
|
118
|
+
bd epic status --json # Epic progress
|
|
119
|
+
bd epic close-eligible # Auto-close completed parents
|
|
120
|
+
bd list --parent <epic> --tree # Tree view
|
|
121
|
+
|
|
122
|
+
# Legacy flat mode
|
|
97
123
|
bd list --status in_progress # Đang làm
|
|
98
124
|
bd list --status open --limit 5 # Chưa làm (top 5)
|
|
99
125
|
bd create "Task name" # Tạo task
|
|
100
|
-
bd update <id> --status done # Xong
|
|
101
126
|
bd show <id> # Chi tiết
|
|
102
127
|
```
|
|
103
128
|
|
|
104
129
|
**Shortcuts:**
|
|
105
|
-
- `/todo` → `bd list`
|
|
106
|
-
- `/done` → `bd
|
|
130
|
+
- `/todo` → `bd list` (hoặc `bd list --parent <epic> --tree` nếu có epic)
|
|
131
|
+
- `/done` → `bd close <id> --reason "Done" --suggest-next` + `bd epic close-eligible`
|
|
107
132
|
|
|
108
133
|
---
|
|
109
134
|
|
|
@@ -138,6 +163,8 @@ Workflows: Xem `global_workflows/` (75+ workflows, gõ `/xxx` để chạy)
|
|
|
138
163
|
| `/next` | Gợi ý tiếp theo |
|
|
139
164
|
| `/todo` | Xem tasks hiện tại |
|
|
140
165
|
| `/codebase-sync` | Đồng bộ CODEBASE.md với codebase thực tế |
|
|
166
|
+
| `/reverse-android` | Dịch ngược APK thành mã Kotlin hiện đại |
|
|
167
|
+
| `/reverse-ios` | Dịch ngược IPA thành mã Swift hiện đại |
|
|
141
168
|
|
|
142
169
|
**Active Skills** (tự động kích hoạt — theo thứ tự ưu tiên):
|
|
143
170
|
|
|
@@ -150,6 +177,8 @@ Workflows: Xem `global_workflows/` (75+ workflows, gõ `/xxx` để chạy)
|
|
|
150
177
|
| 5 | `brainstorm-agent` | `/brainstorm`, từ khoá ý tưởng | Brainstorm ý tưởng & tạo BRIEF |
|
|
151
178
|
| 6 | `awf-error-translator` | Khi có lỗi | Dịch lỗi dễ hiểu |
|
|
152
179
|
| 7 | `awf-adaptive-language` | Always | Điều chỉnh ngôn ngữ |
|
|
180
|
+
| 8 | `smali-to-kotlin` | `/reverse-android` hoặc từ khóa APK, Smali | Android Reverse Engineering specialist |
|
|
181
|
+
| 9 | `smali-to-swift` | `/reverse-ios` hoặc từ khóa IPA, class-dump | iOS Reverse Engineering specialist |
|
|
153
182
|
|
|
154
183
|
> ⚠️ **Phân biệt:** `memory-sync` = đọc/ghi bộ nhớ. `brainstorm-agent` = khám phá ý tưởng. Hai skill hoàn toàn độc lập.
|
|
155
184
|
> 📌 **Thứ tự:** `orchestrator` → `awf-session-restore` → `memory-sync` → action. Không được đảo.
|
|
@@ -199,4 +228,4 @@ Workflows: Xem `global_workflows/` (75+ workflows, gõ `/xxx` để chạy)
|
|
|
199
228
|
|
|
200
229
|
---
|
|
201
230
|
|
|
202
|
-
*Antigravity v6.
|
|
231
|
+
*Antigravity v6.5 — Hierarchical Beads, Project-Aware, Memory Sync + Brainstorm Agent*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leejungkiin/awkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "AWKit v1.0 — Antigravity Workflow Kit. Unified AI agent orchestration system.",
|
|
5
5
|
"main": "bin/awk.js",
|
|
6
6
|
"bin": {
|
|
@@ -43,4 +43,4 @@
|
|
|
43
43
|
"CHANGELOG.md",
|
|
44
44
|
"VERSION"
|
|
45
45
|
]
|
|
46
|
-
}
|
|
46
|
+
}
|