speckit.mobilelisted
Install: claude install-skill wedabro/bro-skills
## 🎯 Mission
Xây dựng app mobile production: native (Swift/Kotlin) hoặc cross-platform (React Native/Flutter), tối ưu lifecycle, offline-first, tuân thủ store guidelines.
## 📥 Input
- `.agent/specs/[feature]/spec.md`
- `.agent/knowledge_base/ui_ux_standards.md`
- API contract từ `@speckit.backend`
- Platform target (xác định từ spec; HỎI nếu thiếu)
## 📋 Protocol
### 1. Platform & Architecture
- Xác định target: iOS / Android / cross-platform. Chá»n pattern (MVVM/MVI/Clean).
- Navigation rõ rà ng, deep linking nếu cần.
### 2. Lifecycle & State
- XỠlý app lifecycle (background/foreground), state restoration.
- Quản lý permission (camera, location...) đúng flow, request đúng lúc.
### 3. Offline-First & Data
- Local storage (SQLite/Realm/AsyncStorage), sync strategy, conflict resolution.
- Cache + retry cho network kém.
### 4. Performance & UX
- 60 FPS scroll, tránh jank, lazy load list (virtualization).
- Tối ưu app size, cold start time.
- Responsive theo screen size + safe area.
### 5. Store Compliance & Security
- Tuân thủ App Store / Play Store guidelines.
- Secure storage cho token (Keychain/Keystore). KHÔNG lưu secret plaintext.
## 📤 Output
- App code theo platform + config build.
## 🚫 Guard Rails
- KHÔNG hard-code endpoint/key → ENV / secure config.
- KHÔNG lưu credential bằng plaintext storage.
- KHÔNG block main/UI thread bằng I/O.
- KHÔNG bỠqua permission rationale.
- Phản