@buivietphi/skill-mobile-mt 1.1.0 → 1.3.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.
Potentially problematic release.
This version of @buivietphi/skill-mobile-mt might be problematic. Click here for more details.
- package/AGENTS.md +103 -28
- package/README.md +246 -44
- package/SKILL.md +329 -6
- package/bin/install.mjs +711 -11
- package/package.json +7 -2
- package/shared/code-review.md +12 -0
- package/shared/prompt-engineering.md +28 -0
- package/shared/version-management.md +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@buivietphi/skill-mobile-mt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Master Senior Mobile Engineer skill for AI agents. Pre-built patterns from 18 production apps + local project adaptation. React Native, Flutter, iOS, Android. Supports Claude, Gemini, Kimi, Cursor, Copilot, Antigravity.",
|
|
5
5
|
"author": "buivietphi",
|
|
6
6
|
"license": "MIT",
|
|
@@ -38,7 +38,12 @@
|
|
|
38
38
|
"install:claude": "node bin/install.mjs --claude",
|
|
39
39
|
"install:gemini": "node bin/install.mjs --gemini",
|
|
40
40
|
"install:kimi": "node bin/install.mjs --kimi",
|
|
41
|
-
"install:all": "node bin/install.mjs --all"
|
|
41
|
+
"install:all": "node bin/install.mjs --all",
|
|
42
|
+
"init": "node bin/install.mjs --init",
|
|
43
|
+
"init:cursor": "node bin/install.mjs --init cursor",
|
|
44
|
+
"init:copilot": "node bin/install.mjs --init copilot",
|
|
45
|
+
"init:windsurf": "node bin/install.mjs --init windsurf",
|
|
46
|
+
"init:all": "node bin/install.mjs --init all"
|
|
42
47
|
},
|
|
43
48
|
"engines": {
|
|
44
49
|
"node": ">=18"
|
package/shared/code-review.md
CHANGED
|
@@ -68,6 +68,18 @@
|
|
|
68
68
|
❌ Missing loading / error / empty state (blank screen)
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
+
### Grounding Auto-Fail (AI-generated code)
|
|
72
|
+
|
|
73
|
+
**If the code was generated by AI, also check:**
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
❌ Import from a package NOT in package.json / pubspec.yaml
|
|
77
|
+
❌ Function/method call that doesn't exist in the codebase
|
|
78
|
+
❌ API endpoint or response shape not verified from actual service code
|
|
79
|
+
❌ Library version syntax that doesn't match installed version
|
|
80
|
+
❌ Platform API that doesn't exist in the project's min SDK
|
|
81
|
+
```
|
|
82
|
+
|
|
71
83
|
---
|
|
72
84
|
|
|
73
85
|
## Review Comment Templates
|
|
@@ -66,6 +66,14 @@
|
|
|
66
66
|
BUG: [description]
|
|
67
67
|
FILE: [path]
|
|
68
68
|
|
|
69
|
+
<source_verification>
|
|
70
|
+
⚠️ BEFORE analyzing — verify I have real data:
|
|
71
|
+
- [ ] Read the actual file (not guessing from error message)
|
|
72
|
+
- [ ] Verified function/class names exist (grep)
|
|
73
|
+
- [ ] Checked package versions in package.json/pubspec.yaml
|
|
74
|
+
- [ ] Identified data types from actual code (not assumed)
|
|
75
|
+
</source_verification>
|
|
76
|
+
|
|
69
77
|
<context_needed>
|
|
70
78
|
- Read [file] to understand current implementation
|
|
71
79
|
- Grep for similar patterns: grep "[pattern]" src/
|
|
@@ -77,6 +85,7 @@ FILE: [path]
|
|
|
77
85
|
- What code is executed?
|
|
78
86
|
- What values are passed?
|
|
79
87
|
- What conditions are checked?
|
|
88
|
+
SOURCE: [file:line where the bug is — cite exact location]
|
|
80
89
|
</root_cause>
|
|
81
90
|
|
|
82
91
|
<fix>
|
|
@@ -84,6 +93,7 @@ FILE: [path]
|
|
|
84
93
|
|
|
85
94
|
WHY IT WORKS:
|
|
86
95
|
[Explain the fix based on root cause]
|
|
96
|
+
SOURCE: [where this fix pattern comes from — project code / skill file / official docs]
|
|
87
97
|
</fix>
|
|
88
98
|
|
|
89
99
|
<side_effects>
|
|
@@ -165,6 +175,14 @@ BUG: App crashes when tapping product with no images
|
|
|
165
175
|
FEATURE: [description]
|
|
166
176
|
PLATFORM: [React Native / Flutter / iOS / Android]
|
|
167
177
|
|
|
178
|
+
<source_verification>
|
|
179
|
+
⚠️ GROUNDING CHECK:
|
|
180
|
+
- [ ] Scanned actual project structure (not assumed)
|
|
181
|
+
- [ ] Found real reference feature (not imagined)
|
|
182
|
+
- [ ] Will read reference files before cloning pattern
|
|
183
|
+
- [ ] Will verify all imports/packages exist before using
|
|
184
|
+
</source_verification>
|
|
185
|
+
|
|
168
186
|
STEP 1: SCAN PROJECT
|
|
169
187
|
- List screens: ls src/screens/
|
|
170
188
|
- Find similar features: grep -r "useState" src/screens/
|
|
@@ -620,6 +638,16 @@ Faster than reading documentation.
|
|
|
620
638
|
"Create login screen following pattern in src/screens/ProductScreen
|
|
621
639
|
using Redux slice from src/store/slices/authSlice
|
|
622
640
|
with email/password fields + remember me checkbox"
|
|
641
|
+
|
|
642
|
+
❌ Hallucinated answers (AI "intuition")
|
|
643
|
+
"Use react-native-awesome-picker for this" ← package may not exist
|
|
644
|
+
"Call the fetchUserData() method" ← function may not exist
|
|
645
|
+
"This API returns { data: [...] }" ← response shape may be wrong
|
|
646
|
+
|
|
647
|
+
✅ Grounded answers (verified from source)
|
|
648
|
+
Read package.json → verify package exists → then suggest usage
|
|
649
|
+
Grep "fetchUser" src/ → find actual function → then reference it
|
|
650
|
+
Read API service file → check actual response shape → then use it
|
|
623
651
|
```
|
|
624
652
|
|
|
625
653
|
---
|
|
@@ -9,6 +9,23 @@
|
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
+
## ⚠️ IMPORTANT: Always WebSearch for Latest
|
|
13
|
+
|
|
14
|
+
**The version matrix below is a SNAPSHOT and may be outdated.**
|
|
15
|
+
**Before installing ANY package or suggesting ANY version:**
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
1. WebSearch "[package] latest version [current year]"
|
|
19
|
+
2. WebSearch "[package] [framework version] compatibility"
|
|
20
|
+
3. Read the OFFICIAL changelog/migration guide
|
|
21
|
+
4. Cross-reference with the matrix below
|
|
22
|
+
|
|
23
|
+
⛔ NEVER rely solely on the matrix below — it was written at a point in time
|
|
24
|
+
✅ ALWAYS verify with WebSearch for the most current information
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
12
29
|
## Version Matrix (React Native / Expo)
|
|
13
30
|
|
|
14
31
|
### Expo SDK Compatibility
|