@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 CHANGED
@@ -1,21 +1,25 @@
1
1
  # Skill Mobile MT — Agent Rules
2
2
 
3
- > Multi-agent compatibility layer for Claude Code, Codex, Gemini CLI, Kimi, Cursor, Copilot, Windsurf, Antigravity, and all Agent Skills-compatible tools.
3
+ > Multi-agent compatibility layer for Claude Code, Cline, Roo Code, Cursor, Windsurf, Copilot, Codex, Gemini CLI, Kimi, Kilo Code, Kiro, Antigravity, and all Agent Skills-compatible tools.
4
4
 
5
5
  ---
6
6
 
7
7
  ## Agent Compatibility Matrix
8
8
 
9
- | Agent | Skill Path | Invocation | Think Block |
10
- |-------|-----------|------------|-------------|
11
- | Claude Code | `~/.claude/skills/skill-mobile-mt/` | `@skill-mobile-mt` or `@skill-mobile-mt project` | `<think>...</think>` |
12
- | Codex | `~/.codex/skills/skill-mobile-mt/` | `@skill-mobile-mt` or load as context | `<think>...</think>` |
13
- | Gemini CLI | `~/.gemini/skills/skill-mobile-mt/` | Load as context | `## Thinking:` block |
14
- | Kimi | `~/.kimi/skills/skill-mobile-mt/` | Load as context | `【思考】` or markdown |
15
- | Cursor | `~/.cursor/skills/skill-mobile-mt/` | Auto-loaded in Composer | Inline reasoning |
16
- | Copilot | `~/.copilot/skills/skill-mobile-mt/` | Loaded via workspace | `// PLAN:` comments |
17
- | Windsurf | `~/.windsurf/skills/skill-mobile-mt/` | Auto-loaded | Inline reasoning |
18
- | Antigravity | `~/.agents/skills/skill-mobile-mt/` | Loaded by orchestrator | Agent-native format |
9
+ | Agent | How it loads rules | Setup | Think Block |
10
+ |-------|-------------------|-------|-------------|
11
+ | Claude Code | `~/.claude/skills/` (auto) | `npx skill-mobile-mt --claude` | `<think>...</think>` |
12
+ | **Cline** | **`.clinerules/` in project root** | **`npx skill-mobile-mt --init cline`** | Inline reasoning |
13
+ | **Roo Code** | **`.roo/rules/` in project root** | **`npx skill-mobile-mt --init roocode`** | Inline reasoning |
14
+ | **Cursor** | **`.cursorrules` in project root** | **`npx skill-mobile-mt --init cursor`** | Inline reasoning |
15
+ | **Windsurf** | **`.windsurfrules` in project root** | **`npx skill-mobile-mt --init windsurf`** | Inline reasoning |
16
+ | **Copilot** | **`.github/copilot-instructions.md`** | **`npx skill-mobile-mt --init copilot`** | `// PLAN:` comments |
17
+ | Codex | `~/.codex/skills/` (auto) | `npx skill-mobile-mt --codex` | `<think>...</think>` |
18
+ | Gemini CLI | `~/.gemini/skills/` (auto) | `npx skill-mobile-mt --gemini` | `## Thinking:` block |
19
+ | Kimi | `~/.kimi/skills/` (manual) | `npx skill-mobile-mt --kimi` | `【思考】` or markdown |
20
+ | **Kilo Code** | **`.kilocode/rules/` in project root** | **`npx skill-mobile-mt --init kilocode`** | Inline reasoning |
21
+ | **Kiro** | **`.kiro/steering/` in project root** | **`npx skill-mobile-mt --init kiro`** | Inline reasoning |
22
+ | Antigravity | `~/.agents/skills/` (auto) | `npx skill-mobile-mt --antigravity` | Agent-native format |
19
23
 
20
24
  ---
21
25
 
@@ -137,7 +141,7 @@ The agent reads the task, then decides which extra file to load:
137
141
  ```yaml
138
142
  skill:
139
143
  name: skill-mobile-mt
140
- version: "1.0.0"
144
+ version: "1.3.0"
141
145
  author: buivietphi
142
146
  category: engineering
143
147
  tags:
@@ -299,10 +303,50 @@ Priority 6 (ON-DEMAND): shared/common-pitfalls.md — Known issue patterns
299
303
  - Supports both Chinese and English prompts
300
304
  - Think blocks use `【思考】` format
301
305
 
302
- ### Cursor / Copilot / Windsurf
303
- - Auto-loaded when skill directory detected in workspace
304
- - Mode determined by presence of project files in workspace
305
- - Think blocks embedded as comments before code
306
+ ### Cline
307
+ - Reads `.clinerules/` directory from project root (also supports `.clinerules` single file)
308
+ - Also reads from `~/.cline/skills/` for global skills
309
+ - Run `npx @buivietphi/skill-mobile-mt --init cline` to generate `.clinerules/mobile-rules.md`
310
+ - Supports conditional rules with YAML frontmatter `paths:` field
311
+
312
+ ### Roo Code
313
+ - Reads `.roo/rules/` directory from project root (recursive, multi-file)
314
+ - Also reads from `~/.roo/skills/` for global skills
315
+ - Supports mode-specific rules: `.roo/rules-code/`, `.roo/rules-architect/`
316
+ - Run `npx @buivietphi/skill-mobile-mt --init roocode` to generate `.roo/rules/mobile-rules.md`
317
+ - Auto-loads `AGENTS.md` from workspace root
318
+
319
+ ### Cursor
320
+ - Reads `.cursorrules` from project root
321
+ - Run `npx @buivietphi/skill-mobile-mt --init cursor` to generate `.cursorrules`
322
+ - The generated file includes auto-detected framework, rules, and security patterns
323
+ - Think blocks embedded as inline reasoning in Composer
324
+
325
+ ### GitHub Copilot
326
+ - Reads `.github/copilot-instructions.md` from project
327
+ - Run `npx @buivietphi/skill-mobile-mt --init copilot` to generate the file
328
+ - The generated file includes code patterns, required templates, and rules
329
+ - Think blocks as `// PLAN:` comments before code
330
+
331
+ ### Windsurf
332
+ - Reads `.windsurfrules` from project root
333
+ - Run `npx @buivietphi/skill-mobile-mt --init windsurf` to generate `.windsurfrules`
334
+ - The generated file includes coding rules, security rules, and architecture patterns
335
+ - Think blocks as inline reasoning
336
+
337
+ ### Kilo Code
338
+ - Reads `.kilocode/rules/` directory from project root
339
+ - Also reads from `~/.kilocode/rules/` for global rules
340
+ - Supports mode-specific rules: `.kilocode/rules-code/`, `.kilocode/rules-architect/`
341
+ - Run `npx @buivietphi/skill-mobile-mt --init kilocode` to generate `.kilocode/rules/mobile-rules.md`
342
+ - Auto-loads `AGENTS.md` from workspace root
343
+
344
+ ### Kiro (AWS)
345
+ - Reads `.kiro/steering/` directory from project root
346
+ - Also reads from `~/.kiro/steering/` for global steering
347
+ - Uses YAML frontmatter with `inclusion: always|fileMatch|manual|auto`
348
+ - Run `npx @buivietphi/skill-mobile-mt --init kiro` to generate `.kiro/steering/mobile-rules.md`
349
+ - Separate specs system in `.kiro/specs/` for feature development
306
350
 
307
351
  ### Antigravity
308
352
  - Orchestrator loads based on detected project type
@@ -319,12 +363,16 @@ These are separate from the skill files — they go in the user's project, not i
319
363
  | Agent | File | Location |
320
364
  |-------|------|----------|
321
365
  | Claude Code | `CLAUDE.md` | Project root |
366
+ | Cline | `.clinerules/` directory | Project root |
367
+ | Roo Code | `.roo/rules/` directory | Project root |
322
368
  | Cursor | `.cursorrules` | Project root |
323
369
  | Windsurf | `.windsurfrules` | Project root |
324
370
  | GitHub Copilot | `.github/copilot-instructions.md` | `.github/` folder |
325
371
  | Codex | `AGENTS.md` | Project root |
326
372
  | Gemini CLI | `GEMINI.md` | Project root |
327
373
  | Kimi | No auto-load — paste as context | — |
374
+ | Kilo Code | `.kilocode/rules/` directory | Project root |
375
+ | Kiro | `.kiro/steering/` directory | Project root |
328
376
  | Antigravity | YAML `context.rules` field | Antigravity config |
329
377
 
330
378
  **Templates for all agents:** `shared/agent-rules-template.md`
@@ -340,12 +388,17 @@ Copy the relevant section to your project to enable auto-check rules in every se
340
388
 
341
389
  ## Installation Paths
342
390
 
391
+ ### Skill directory install (agents that read from skills/)
392
+
343
393
  ```bash
344
- # Claude Code (global)
394
+ # Claude Code
345
395
  ~/.claude/skills/skill-mobile-mt/
346
396
 
347
- # Claude Code (project-local)
348
- .claude/skills/skill-mobile-mt/
397
+ # Cline
398
+ ~/.cline/skills/skill-mobile-mt/
399
+
400
+ # Roo Code
401
+ ~/.roo/skills/skill-mobile-mt/
349
402
 
350
403
  # Codex
351
404
  ~/.codex/skills/skill-mobile-mt/
@@ -356,14 +409,11 @@ Copy the relevant section to your project to enable auto-check rules in every se
356
409
  # Kimi
357
410
  ~/.kimi/skills/skill-mobile-mt/
358
411
 
359
- # Cursor
360
- ~/.cursor/skills/skill-mobile-mt/
361
-
362
- # Windsurf
363
- ~/.windsurf/skills/skill-mobile-mt/
412
+ # Kilo Code
413
+ ~/.kilocode/skills/skill-mobile-mt/
364
414
 
365
- # Copilot
366
- ~/.copilot/skills/skill-mobile-mt/
415
+ # Kiro
416
+ ~/.kiro/skills/skill-mobile-mt/
367
417
 
368
418
  # Antigravity (shared agent directory)
369
419
  ~/.agents/skills/skill-mobile-mt/
@@ -372,6 +422,31 @@ Copy the relevant section to your project to enable auto-check rules in every se
372
422
  npx @buivietphi/skill-mobile-mt --path /your/custom/path
373
423
  ```
374
424
 
425
+ ### Project-level files (agents that read from project root)
426
+
427
+ These agents read rules from project-level files. Use `--init` to generate them:
428
+
429
+ ```bash
430
+ # Generate all project-level files (interactive selector)
431
+ npx @buivietphi/skill-mobile-mt --init
432
+
433
+ # Generate specific agent file
434
+ npx @buivietphi/skill-mobile-mt --init cursor # → .cursorrules
435
+ npx @buivietphi/skill-mobile-mt --init cline # → .clinerules/mobile-rules.md
436
+ npx @buivietphi/skill-mobile-mt --init roocode # → .roo/rules/mobile-rules.md
437
+ npx @buivietphi/skill-mobile-mt --init copilot # → .github/copilot-instructions.md
438
+ npx @buivietphi/skill-mobile-mt --init windsurf # → .windsurfrules
439
+ npx @buivietphi/skill-mobile-mt --init kilocode # → .kilocode/rules/mobile-rules.md
440
+ npx @buivietphi/skill-mobile-mt --init kiro # → .kiro/steering/mobile-rules.md
441
+ npx @buivietphi/skill-mobile-mt --init all # → all files
442
+ ```
443
+
444
+ **What `--init` does:**
445
+ 1. Auto-detects your project (framework, language, state management, etc.)
446
+ 2. Generates rules files pre-filled with your detected stack
447
+ 3. Includes all mobile best practices, security rules, and quality gates
448
+ 4. Won't overwrite existing files (safe to run multiple times)
449
+
375
450
  ---
376
451
 
377
452
  ## Metadata
@@ -380,7 +455,7 @@ npx @buivietphi/skill-mobile-mt --path /your/custom/path
380
455
  {
381
456
  "id": "skill-mobile-mt",
382
457
  "name": "skill-mobile-mt",
383
- "version": "1.0.0",
458
+ "version": "1.3.0",
384
459
  "author": "buivietphi",
385
460
  "category": "engineering",
386
461
  "description": "Master Senior Mobile Engineer. Pre-built patterns from 18 production apps + project adaptation. Auto-detects language and framework. React Native, Flutter, iOS, Android.",
@@ -388,6 +463,6 @@ npx @buivietphi/skill-mobile-mt --path /your/custom/path
388
463
  "source": "buivietphi (MIT)",
389
464
  "platforms": ["react-native", "flutter", "ios", "android"],
390
465
  "languages": ["typescript", "javascript", "dart", "swift", "kotlin", "java"],
391
- "agents": ["claude-code", "codex", "gemini", "kimi", "cursor", "copilot", "windsurf", "antigravity"]
466
+ "agents": ["claude-code", "cline", "roo-code", "cursor", "windsurf", "copilot", "codex", "gemini", "kimi", "kilo-code", "kiro", "antigravity"]
392
467
  }
393
468
  ```
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @buivietphi/skill-mobile-mt
2
2
 
3
- **Master Senior Mobile Engineer** — AI skill for Claude Code, Codex, Gemini CLI, Kimi, Cursor, Copilot, Windsurf, and Antigravity.
3
+ **Master Senior Mobile Engineer** — AI skill for Claude Code, Cline, Roo Code, Cursor, Windsurf, Copilot, Codex, Gemini CLI, Kimi, Kilo Code, Kiro, and Antigravity.
4
4
 
5
- Pre-built architecture patterns from **18 production mobile apps + 4 production open-source skills** + auto-adaptation to your current project.
5
+ Pre-built architecture patterns from **30+ production repos (200k+ GitHub stars)** including Ignite, Expensify, Mattermost, Immich, AppFlowy, Now in Android, TCA + auto-adaptation to your current project.
6
6
 
7
7
  ## Install
8
8
 
@@ -10,20 +10,42 @@ Pre-built architecture patterns from **18 production mobile apps + 4 production
10
10
  npx @buivietphi/skill-mobile-mt
11
11
  ```
12
12
 
13
- Interactive mode — detects which AI agents are installed and prompts you.
13
+ Interactive checkbox UI — detects which AI agents are installed, lets you select with arrow keys + space.
14
14
 
15
15
  ### Install to specific agents
16
16
 
17
17
  ```bash
18
- npx @buivietphi/skill-mobile-mt --claude # Claude Code only
19
- npx @buivietphi/skill-mobile-mt --codex # Codex only
20
- npx @buivietphi/skill-mobile-mt --gemini # Gemini CLI only
21
- npx @buivietphi/skill-mobile-mt --kimi # Kimi only
22
- npx @buivietphi/skill-mobile-mt --antigravity # Antigravity only
23
- npx @buivietphi/skill-mobile-mt --all # All detected agents
18
+ npx @buivietphi/skill-mobile-mt --claude # Claude Code
19
+ npx @buivietphi/skill-mobile-mt --codex # Codex
20
+ npx @buivietphi/skill-mobile-mt --gemini # Gemini CLI
21
+ npx @buivietphi/skill-mobile-mt --kimi # Kimi
22
+ npx @buivietphi/skill-mobile-mt --antigravity # Antigravity
23
+ npx @buivietphi/skill-mobile-mt --all # All agents
24
24
  npx @buivietphi/skill-mobile-mt --path ./dir # Custom directory
25
25
  ```
26
26
 
27
+ ### Generate project-level rules
28
+
29
+ Cline, Roo Code, Cursor, Windsurf, Copilot, Kilo Code, and Kiro read rules from **project-level files**. Run `--init` inside your project to generate them:
30
+
31
+ ```bash
32
+ npx @buivietphi/skill-mobile-mt --init # Interactive selector
33
+ npx @buivietphi/skill-mobile-mt --init cursor # .cursorrules
34
+ npx @buivietphi/skill-mobile-mt --init cline # .clinerules/mobile-rules.md
35
+ npx @buivietphi/skill-mobile-mt --init roocode # .roo/rules/mobile-rules.md
36
+ npx @buivietphi/skill-mobile-mt --init copilot # .github/copilot-instructions.md
37
+ npx @buivietphi/skill-mobile-mt --init windsurf # .windsurfrules
38
+ npx @buivietphi/skill-mobile-mt --init kilocode # .kilocode/rules/mobile-rules.md
39
+ npx @buivietphi/skill-mobile-mt --init kiro # .kiro/steering/mobile-rules.md
40
+ npx @buivietphi/skill-mobile-mt --init all # All files
41
+ ```
42
+
43
+ **What `--init` does:**
44
+ 1. Auto-detects your project (framework, language, state management, navigation, API client, package manager)
45
+ 2. Generates rules files pre-filled with your detected stack
46
+ 3. Includes mobile best practices, security rules, and quality gates
47
+ 4. Won't overwrite existing files (safe to run multiple times)
48
+
27
49
  ## Usage
28
50
 
29
51
  ### Mode 1: Pre-Built Architecture (default)
@@ -32,11 +54,11 @@ npx @buivietphi/skill-mobile-mt --path ./dir # Custom directory
32
54
  @skill-mobile-mt
33
55
  ```
34
56
 
35
- Uses battle-tested patterns extracted from real production apps:
36
- - **10 React Native apps** — Redux, MobX, Apollo/GraphQL, React Navigation
37
- - **3 Flutter apps** — Riverpod, Clean Architecture, Dio, GoRouter
38
- - **4 Android Native apps** — Multi-module Gradle, Hilt, Compose, Room
39
- - **1 iOS Native app** Swift, MVVM, CocoaPods, Combine
57
+ Uses battle-tested patterns from 30+ production repos:
58
+ - **React Native** — Ignite (19.7k stars), Obytes Template, Expensify/App, Mattermost Mobile, Artsy Eigen
59
+ - **Flutter** — Immich (93.5k stars), AppFlowy (68.2k), Spotube (44.6k), Hiddify, Ente Photos
60
+ - **iOS** TCA / Point-Free (14.4k), Clean Arch SwiftUI, Modern Clean Arch
61
+ - **Android** Now in Android (20.7k), Android Showcase, Mihon (18.8k)
40
62
 
41
63
  ### Mode 2: Adapt to Your Project (project)
42
64
 
@@ -47,8 +69,132 @@ Uses battle-tested patterns extracted from real production apps:
47
69
  Reads your current project first, then follows **your** conventions:
48
70
  - Detects framework, language, package manager, state management, navigation
49
71
  - Matches your naming, imports, file structure, patterns
72
+ - Clones the most similar existing feature when scaffolding new ones
50
73
  - Never suggests migrations or imposes different architecture
51
74
 
75
+ ## Quick Start Examples
76
+
77
+ ### Step 1: Install the skill
78
+
79
+ ```bash
80
+ # Install globally (one-time setup)
81
+ npx @buivietphi/skill-mobile-mt
82
+ ```
83
+
84
+ You'll see an interactive checkbox — use arrow keys to navigate, space to select, Enter to confirm:
85
+
86
+ ```
87
+ Select agents to install:
88
+ ↑↓ navigate Space toggle A select all Enter confirm Q cancel
89
+
90
+ › ◉ Claude Code [detected]
91
+ ◯ Cline [detected]
92
+ ◯ Roo Code [not found]
93
+ ◯ Cursor [detected]
94
+ ◯ Windsurf [not found]
95
+ ◯ Copilot [not found]
96
+ ◯ Codex [not found]
97
+ ◉ Gemini CLI [detected]
98
+ ◯ Kimi [not found]
99
+ ◯ Kilo Code [not found]
100
+ ◯ Kiro [not found]
101
+ ◯ Antigravity [not found]
102
+ ```
103
+
104
+ ### Step 2: Generate project rules
105
+
106
+ ```bash
107
+ # cd into your mobile project first
108
+ cd ~/projects/my-app
109
+
110
+ # Generate rules for your agents
111
+ npx @buivietphi/skill-mobile-mt --init all
112
+ ```
113
+
114
+ Output:
115
+
116
+ ```
117
+ 📁 Project directory: /Users/you/projects/my-app
118
+ 🔍 Detected: Expo (React Native) (TypeScript)
119
+
120
+ ✓ .cursorrules → Cursor (auto-detected: Expo (React Native))
121
+ ✓ .github/copilot-instructions.md → GitHub Copilot
122
+ ✓ .clinerules/mobile-rules.md → Cline
123
+ ✓ .roo/rules/mobile-rules.md → Roo Code
124
+ ✓ .kilocode/rules/mobile-rules.md → Kilo Code
125
+ ✓ .kiro/steering/mobile-rules.md → Kiro
126
+ ✓ .windsurfrules → Windsurf
127
+
128
+ ✅ Done! → 7 file(s) generated
129
+ ```
130
+
131
+ ### Step 3: Use in your AI agent
132
+
133
+ #### Claude Code
134
+
135
+ ```bash
136
+ # In Claude Code terminal, type:
137
+ @skill-mobile-mt
138
+
139
+ # Then ask anything:
140
+ > Create auth feature with login and register screens
141
+
142
+ # Or with project mode (reads YOUR code first):
143
+ @skill-mobile-mt project
144
+ > Add cart feature following the same pattern as ProductList
145
+ ```
146
+
147
+ #### Cline / Roo Code / Kilo Code
148
+
149
+ After running `--init cline` (or `roocode`, `kilocode`), rules are auto-loaded from the project directory. Just open your project and ask:
150
+
151
+ ```
152
+ > Create a login screen with email/password
153
+ > Fix the crash in ProductDetail when images is null
154
+ > Review this PR for mobile best practices
155
+ ```
156
+
157
+ #### Cursor
158
+
159
+ After running `--init cursor`, Cursor auto-loads `.cursorrules` every session. Just open your project and code normally.
160
+
161
+ #### Kiro (AWS)
162
+
163
+ After running `--init kiro`, Kiro loads `.kiro/steering/mobile-rules.md` as steering context. The generated file uses `inclusion: always` frontmatter.
164
+
165
+ #### GitHub Copilot
166
+
167
+ After running `--init copilot`, Copilot reads `.github/copilot-instructions.md` as workspace context.
168
+
169
+ #### Windsurf
170
+
171
+ After running `--init windsurf`, Windsurf auto-loads `.windsurfrules`. Just code normally.
172
+
173
+ #### Gemini CLI
174
+
175
+ ```bash
176
+ # In Gemini CLI:
177
+ @skill-mobile-mt
178
+ > Setup a new Flutter project with Riverpod + clean architecture
179
+ ```
180
+
181
+ #### Codex / Kimi / Antigravity
182
+
183
+ Same as Claude Code — the skill is loaded from the skills directory.
184
+
185
+ ### Example Prompts (all agents)
186
+
187
+ | What you want | What to type |
188
+ |--------------|-------------|
189
+ | New feature | `Create auth feature with login, register, forgot password` |
190
+ | New screen | `Add settings screen with profile, notifications, theme toggle` |
191
+ | Fix bug | `Fix crash when product.images is undefined` |
192
+ | Code review | `Review src/features/cart/ for mobile best practices` |
193
+ | Performance | `Optimize ProductList — it's janky when scrolling 100+ items` |
194
+ | Architecture | `Setup project structure for a new Expo app with Zustand + TanStack Query` |
195
+ | Release | `Prepare the app for App Store submission` |
196
+ | Security | `Audit the auth flow for security vulnerabilities` |
197
+
52
198
  ## Auto-Detect
53
199
 
54
200
  The skill automatically detects before any action:
@@ -102,6 +248,7 @@ iOS only?
102
248
  | `shared/code-review.md` | 865 |
103
249
  | `shared/bug-detection.md` | 499 |
104
250
  | `shared/prompt-engineering.md` | 3,927 |
251
+ | `shared/architecture-intelligence.md` | 4,500 |
105
252
  | `shared/common-pitfalls.md` | 1,160 |
106
253
  | `shared/error-recovery.md` | 2,435 |
107
254
  | `shared/document-analysis.md` | 1,200 |
@@ -111,36 +258,62 @@ iOS only?
111
258
  | `shared/platform-excellence.md` | 1,500 |
112
259
  | `shared/version-management.md` | 3,500 |
113
260
  | `shared/observability.md` | 3,000 |
114
- | **Total** | **~41,700** |
261
+ | `shared/claude-md-template.md` | ~500 |
262
+ | `shared/agent-rules-template.md` | ~2,500 |
263
+ | **Total** | **~46,000** |
115
264
 
116
265
  ## Installed Structure
117
266
 
118
267
  ```
119
- ~/.claude/skills/ (or ~/.gemini/skills/, ~/.agents/skills/, etc.)
268
+ ~/.claude/skills/ (or ~/.cline/skills/, ~/.roo/skills/, ~/.gemini/skills/, etc.)
120
269
  └── skill-mobile-mt/
121
- ├── SKILL.md Entry point + auto-detect
122
- ├── AGENTS.md Multi-agent compatibility
270
+ ├── SKILL.md Entry point + auto-detect + quality gates
271
+ ├── AGENTS.md Multi-agent compatibility
123
272
  ├── react-native/
124
- │ └── react-native.md React Native patterns
273
+ │ └── react-native.md React Native + Expo patterns
125
274
  ├── flutter/
126
- │ └── flutter.md Flutter patterns
275
+ │ └── flutter.md Flutter + Dart patterns
127
276
  ├── ios/
128
- │ └── ios-native.md iOS Swift patterns
277
+ │ └── ios-native.md iOS Swift patterns
129
278
  ├── android/
130
- │ └── android-native.md Android Kotlin patterns
279
+ │ └── android-native.md Android Kotlin patterns
131
280
  └── shared/
132
- ├── code-review.md Senior review checklist
133
- ├── bug-detection.md Auto bug scanner
134
- ├── prompt-engineering.md Intelligent prompt generation
135
- ├── common-pitfalls.md Problem Symptoms Solution
136
- ├── error-recovery.md Fix build/runtime errors
137
- ├── document-analysis.md Parse docs/images code
138
- ├── anti-patterns.md PII, cardinality, payload detection
139
- ├── performance-prediction.md Predict FPS/memory BEFORE shipping
140
- ├── platform-excellence.md iOS 18+ vs Android 15+ guidelines
141
- ├── version-management.md SDK compatibility matrix + release testing
142
- ├── observability.md Sessions as 4th pillar, context-rich events
143
- └── release-checklist.md Pre-release verification
281
+ ├── code-review.md Senior review checklist
282
+ ├── bug-detection.md Auto bug scanner
283
+ ├── prompt-engineering.md Auto-think + prompt templates
284
+ ├── architecture-intelligence.md Patterns from 30+ production repos
285
+ ├── common-pitfalls.md Problem Symptoms → Solution
286
+ ├── error-recovery.md 16 build/runtime error fixes
287
+ ├── document-analysis.md Parse docs/images code
288
+ ├── anti-patterns.md PII, cardinality, payload detection
289
+ ├── performance-prediction.md Frame budget, FPS prediction
290
+ ├── platform-excellence.md iOS 18+ vs Android 15+ guidelines
291
+ ├── version-management.md SDK compatibility matrix
292
+ ├── observability.md Sessions as 4th pillar
293
+ ├── release-checklist.md Pre-release verification
294
+ ├── claude-md-template.md CLAUDE.md template for projects
295
+ └── agent-rules-template.md Rules templates for all agents
296
+ ```
297
+
298
+ ### Project-level files (generated by `--init`)
299
+
300
+ ```
301
+ your-project/
302
+ ├── .cursorrules Cursor rules (auto-detected stack)
303
+ ├── .windsurfrules Windsurf rules (auto-detected stack)
304
+ ├── .clinerules/
305
+ │ └── mobile-rules.md Cline rules (auto-detected stack)
306
+ ├── .roo/
307
+ │ └── rules/
308
+ │ └── mobile-rules.md Roo Code rules (auto-detected stack)
309
+ ├── .kilocode/
310
+ │ └── rules/
311
+ │ └── mobile-rules.md Kilo Code rules (auto-detected stack)
312
+ ├── .kiro/
313
+ │ └── steering/
314
+ │ └── mobile-rules.md Kiro steering (auto-detected stack)
315
+ └── .github/
316
+ └── copilot-instructions.md Copilot rules (auto-detected stack)
144
317
  ```
145
318
 
146
319
  ## What's Included
@@ -160,6 +333,27 @@ iOS only?
160
333
  - Security vulnerabilities, performance issues, UX problems
161
334
  - Platform-specific detection rules
162
335
 
336
+ ### Grounding Protocol (Anti-Hallucination)
337
+ - **Source hierarchy**: project code > skill files > official docs > production repos > AI knowledge
338
+ - **Mandatory rules**: Read before answer, verify APIs exist, cite sources, say "I don't know" when unsure
339
+ - **No phantom packages**: verify package exists in package.json before suggesting
340
+ - **Version-specific**: check actual SDK version, never assume latest
341
+ - **Grounded bug fix**: read file → find exact line → verify types → cite source
342
+ - **Anti-hallucination checklist**: runs before every AI response
343
+
344
+ ### Docs-First Protocol (Always Use Latest)
345
+ - **WebSearch before coding**: when setting up any library, ALWAYS search official docs first
346
+ - **Never rely on AI memory**: docs change, APIs change, syntax changes between versions
347
+ - **Package installation protocol**: verify exists → check compatibility → search install guide → test both platforms
348
+ - **Common AI traps**: React Navigation v5 vs v7, Firebase v8 vs v9 modular, Swift async/await availability
349
+ - **Version matrix + live verification**: snapshot matrix in skill + mandatory WebSearch for current data
350
+
351
+ ### Security Protocol
352
+ - **7-category security scan** on every feature: secrets, token storage, input validation, network, data protection, auth flow, platform-specific
353
+ - **6 absolute rules**: never store tokens in plain storage, never hardcode secrets, never log sensitive data, never trust deep links, never disable SSL, never commit .env
354
+ - **Platform-specific checks**: iOS ATS + privacy manifest, Android cleartext + ProGuard + exported components
355
+ - **Never skip security**: even for prototypes, internal apps, or "quick fixes"
356
+
163
357
  ### Advanced AI Patterns (from Windsurf, Cursor, Devin, Cline)
164
358
  - **Status Update Pattern**: Brief progress notes before tool use (no monologues)
165
359
  - **Execution Modes**: Discovery → Implementation → Completion (prevents thrashing)
@@ -183,6 +377,10 @@ iOS only?
183
377
  - Requirements Extraction: user stories, screen flows, data models, business rules
184
378
  - Document → Code pipeline: read → extract → map features → scaffold
185
379
 
380
+ ### Architecture Intelligence (from 30+ production repos)
381
+
382
+ - **Architecture Intelligence** (`architecture-intelligence.md`): Cross-platform patterns from Ignite, Immich, AppFlowy, TCA, Now in Android and more. Includes: dual state management, feature-based modules, bootstrap/startup pattern, functional error handling, architecture validation (Konsist), production folder structure templates, and decision matrices for state/nav/testing.
383
+
186
384
  ### Production Patterns (from Senaiverse, Mhuxain, VoltAgent, Nexus)
187
385
 
188
386
  - **Anti-Pattern Detection** (`anti-patterns.md`): Detect PII leaks (CRITICAL), high cardinality tags, unbounded payloads, unstructured logs, sync telemetry on main thread — with auto-fix suggestions
@@ -208,16 +406,20 @@ iOS only?
208
406
 
209
407
  ## Supported Agents
210
408
 
211
- | Agent | Install Path | Status |
212
- |-------|-------------|--------|
213
- | Claude Code | `~/.claude/skills/skill-mobile-mt/` | Full support |
214
- | Codex | `~/.codex/skills/skill-mobile-mt/` | Full support |
215
- | Gemini CLI | `~/.gemini/skills/skill-mobile-mt/` | Full support |
216
- | Kimi | `~/.kimi/skills/skill-mobile-mt/` | Full support |
217
- | Cursor | `~/.cursor/skills/skill-mobile-mt/` | Full support |
218
- | Copilot | `~/.copilot/skills/skill-mobile-mt/` | Full support |
219
- | Windsurf | `~/.windsurf/skills/skill-mobile-mt/` | Full support |
220
- | Antigravity | `~/.agents/skills/skill-mobile-mt/` | Full support |
409
+ | Agent | How it works | Setup command |
410
+ |-------|-------------|---------------|
411
+ | **Claude Code** | Reads from `~/.claude/skills/` | `npx skill-mobile-mt --claude` |
412
+ | **Cline** | Reads `.clinerules/` from project root | `npx skill-mobile-mt --init cline` |
413
+ | **Roo Code** | Reads `.roo/rules/` from project root | `npx skill-mobile-mt --init roocode` |
414
+ | **Cursor** | Reads `.cursorrules` from project root | `npx skill-mobile-mt --init cursor` |
415
+ | **Windsurf** | Reads `.windsurfrules` from project root | `npx skill-mobile-mt --init windsurf` |
416
+ | **Copilot** | Reads `.github/copilot-instructions.md` | `npx skill-mobile-mt --init copilot` |
417
+ | **Codex** | Reads from `~/.codex/skills/` | `npx skill-mobile-mt --codex` |
418
+ | **Gemini CLI** | Reads from `~/.gemini/skills/` | `npx skill-mobile-mt --gemini` |
419
+ | **Kimi** | Reads from `~/.kimi/skills/` | `npx skill-mobile-mt --kimi` |
420
+ | **Kilo Code** | Reads `.kilocode/rules/` from project root | `npx skill-mobile-mt --init kilocode` |
421
+ | **Kiro** | Reads `.kiro/steering/` from project root | `npx skill-mobile-mt --init kiro` |
422
+ | **Antigravity** | Reads from `~/.agents/skills/` | `npx skill-mobile-mt --antigravity` |
221
423
 
222
424
  ## License
223
425