← Mobilalkalmazás-alapok · projekttervezési csomag adatlapja
Nézd meg, miben segít
Mobilmegvalósítás ellenőrzése
Célzott statikus és viselkedési ellenőrzést kapcsol valódi eszközbizonyítékhoz, a fordítást nem azonosítva a működéssel.
mobile-verification
Ezt a skillt használó ügynökök
Mikor hasznos?
Akkor használd, mielőtt célplatformon működőnek mondasz mobilváltoztatást.
Miben segít neked?
- Futtatja a projekt elemzését, kódgenerálási és fordítási ellenőrzését.
- Teszteli az érintett betöltési, hibás, offline és életciklus-viselkedést.
- Külön jelenti a szimulátor, fizikai eszköz és nem igazolt platform lefedettségét.
Például ezt kérheted
Ellenőrizd a feltöltést, megkülönböztetve az Android-eszközpróbát az el nem indított iOS-buildtől. Fizikai Android-eszközön szakítsd meg a feltöltést, majd nyisd újra az alkalmazást. A megfigyelést külön jelentsd a statikus és el nem végzett iOS-ellenőrzéstől.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Mobile Verification & Build
Verify mobile changes with the project's typechecker, static analyzer, test runner and bundler/compiler, and state explicitly what was verified on iOS, Android, simulator/emulator or only at the code level.
1. Static analysis, codegen and bundle/build verification
- React Native / Expo:
- Run
npx tsc --noEmitand ESLint. - When
package.json,app.jsonor native config plugins change, runnpx expo-doctorand verify bundle compilation (npx expo export --dump-sourcemapor Metro bundle check) catches missing assets, broken imports or New Architecture incompatibilities.
- Run
- Flutter:
- When
@freezed,@JsonSerializable,@riverpodor@HostApi(Pigeon) definitions change, rundart run build_runner build --delete-conflicting-outputsfirst. - Run
flutter analyze(zero warnings/errors) anddart format --output=none --set-exit-if-changed.
- When
- Native iOS / Android:
- When native manifests, Podfile or Gradle files change, verify
xcodebuild/./gradlew assembleDebugortestDebugUnitTestwhen the toolchain is available in the environment.
- When native manifests, Podfile or Gradle files change, verify
2. Targeted automated tests across states
- React Native (Jest + React Native Testing Library):
- Render screens/components with required providers (navigation, query client, safe area), query by accessible role/label (
getByRole,getByLabelText,findByText), trigger interactions viauserEvent/fireEvent, and mock native modules at the service boundary.
- Render screens/components with required providers (navigation, query client, safe area), query by accessible role/label (
- Flutter (
flutter test):- Write unit tests for repositories/notifiers/blocs (
ProviderContainerorblocTest) and widget tests (testWidgets,pumpWidget,pumpAndSettle) with fake/overridden repositories.
- Write unit tests for repositories/notifiers/blocs (
- Required test matrix: verify not only the happy path, but also loading state, empty state, network/server error + retry, form validation errors, and permission-denied fallback.
- Never weaken security settings (
NSAllowsArbitraryLoads,usesCleartextTraffic), skip failing tests or silence type errors to force a pass.
3. Honest platform reporting and release guardrails
- State verification scope explicitly: distinguish what was verified via automated tests, iOS Simulator, Android Emulator or physical hardware. Hardware-dependent features (camera, biometrics, APNs/FCM push delivery, background task throttling, thermal/60fps behavior) must be flagged for physical device QA if only tested in a simulator or unit test.
- Never alter signing certificates, keystores, bundle IDs or store credentials, never send push notifications to production topics, and never trigger
eas submit,fastlane deliveror production OTA publishes without explicit permission.
Before you finish
- Typecheck, analyzer, linter, codegen and bundle/compile checks executed and clean.
- Automated unit and component/widget tests cover happy path + loading, empty, error/retry and permission states.
- Handoff states clearly what ran on iOS, Android, simulator or unit tests, and lists device-only checks for QA.
Csomagban lévő fájlok 2
LICENSE.txtSKILL.md
