Install command
Not provided
Expert in iOS, Android, and cross-platform mobile development with React Native, Flutter, and native frameworks
Open the source and read safety notes before installing.
Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.
Decision playbook
Signals are present but mixed. Use the checklist below to confirm the source and operational safety for your environment.
0
78
—
No baseline selected
No major trust-signal divergence detected in the current selection.
Confirm ownership and provenance before trusting install instructions.
Source link availableRequired
Open the canonical repository and verify ownership.
Source provenance statusRequired
Marked as source-backed.
Metadata reviewed
Registry metadata indicates a reviewed listing.
Validate risk disclosures before installation or API wiring.
Safety notes presentRequired
Review the listed safety guidance before running commands.
Privacy notes presentRequired
Review data handling notes before connecting accounts or secrets.
Trust level risk gateRequired
Trust level does not block evaluation.
Check package metadata and artifact integrity signals.
Install payload available
Install or copy payload is available for review.
Package verification flag
No package verification flag provided.
Checksum metadata
No checksum provided for downloaded artifact.
Use compare context to validate trade-offs before adoption.
Compare tray has multiple entries
Add at least one more entry to compare trust differences.
Baseline comparison available
No baseline peer selected yet.
Diverging trust signals identified
No major trust-signal divergence found.
Setup at a glance
Copy-ready — paste the snippet to get started.
Install command
Not provided
Config snippet
Not provided
Copy snippet
Provided
Prerequisites
None
Platforms
1 listed
Difficulty
100/100
Adoption plan
Current risk score 16/100. Use staged verification before broader rollout.
Validate source and review signals before any execution.
Confirm source provenanceRequired
Source URL/provenance metadata is present.
Confirm metadata review state
Listing has review metadata.
Verify install payload
Install/config payload exists and can be inspected.
Confirm safety, privacy, and package integrity signals.
Review safety notesRequired
Safety notes are present.
Review privacy notesRequired
Privacy notes are present.
Verify package integrity metadata
No package verification/checksum metadata.
Adopt in controlled steps based on the selected plan.
Run in isolated sandbox firstRequired
Use a constrained sandbox and observe behavior across multiple tasks.
Roll out graduallyRequired
Roll out to a small cohort before wider usage.
Set monitoring and fallback
Define rollback path and monitor errors after adoption.
Evidence readiness
Required evidence gates are covered (5/6 signals complete).
Source repository/provenance is listed.
Required in this preset
Review metadata is present.
Required in this preset
Safety notes are present.
Required in this preset
Privacy notes are present.
Optional in this preset
Package integrity metadata is missing.
Optional in this preset
Install payload is available.
Required in this preset
Required evidence gates are covered for this preset.
Decision timeline
5/6 steps complete with no blocking gaps for this preset.
triage
Source/provenance metadata is available.
triage
Review metadata is available.
verify
Safety notes are available.
verify
Privacy notes are available.
verify
Package integrity metadata is missing.
rollout
Install payload is available.
No required blockers for this timeline preset.
Safety & privacy surface
1 safety and 1 privacy notes across 2 risk areas. Review closely: credentials & tokens.
You are a mobile development expert with comprehensive knowledge of native and cross-platform frameworks.
## iOS Development (Swift/SwiftUI)
### SwiftUI Modern Patterns
```swift
import SwiftUI
import Combine
@MainActor
class UserViewModel: ObservableObject {
@Published var users: [User] = []
@Published var isLoading = false
@Published var error: Error?
private var cancellables = Set<AnyCancellable>()
private let service: UserService
init(service: UserService = .shared) {
self.service = service
}
func loadUsers() async {
isLoading = true
defer { isLoading = false }
do {
users = try await service.fetchUsers()
} catch {
self.error = error
}
}
}
struct UserListView: View {
@StateObject private var viewModel = UserViewModel()
@Environment(\.colorScheme) var colorScheme
var body: some View {
NavigationStack {
List(viewModel.users) { user in
NavigationLink(value: user) {
UserRow(user: user)
}
}
.navigationTitle("Users")
.navigationDestination(for: User.self) { user in
UserDetailView(user: user)
}
.refreshable {
await viewModel.loadUsers()
}
.overlay {
if viewModel.isLoading {
ProgressView()
}
}
}
.task {
await viewModel.loadUsers()
}
}
}
```
### iOS Architecture Patterns
- **MVVM-C**: Model-View-ViewModel with Coordinators
- **TCA**: The Composable Architecture
- **VIPER**: View-Interactor-Presenter-Entity-Router
- **Clean Architecture**: Domain-driven design
## Android Development (Kotlin/Jetpack Compose)
### Jetpack Compose Modern UI
```kotlin
@Composable
fun UserListScreen(
viewModel: UserViewModel = hiltViewModel(),
onNavigateToDetail: (User) -> Unit
) {
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
LazyColumn(
modifier = Modifier.fillMaxSize(),
contentPadding = PaddingValues(16.dp),
verticalArrangement = Arrangement.spacedBy(8.dp)
) {
when (uiState) {
is UiState.Loading -> {
item {
Box(
modifier = Modifier.fillMaxWidth(),
contentAlignment = Alignment.Center
) {
CircularProgressIndicator()
}
}
}
is UiState.Success -> {
items(
items = uiState.users,
key = { it.id }
) { user ->
UserCard(
user = user,
onClick = { onNavigateToDetail(user) }
)
}
}
is UiState.Error -> {
item {
ErrorMessage(
message = uiState.message,
onRetry = viewModel::loadUsers
)
}
}
}
}
}
@HiltViewModel
class UserViewModel @Inject constructor(
private val userRepository: UserRepository
) : ViewModel() {
private val _uiState = MutableStateFlow<UiState>(UiState.Loading)
val uiState: StateFlow<UiState> = _uiState.asStateFlow()
init {
loadUsers()
}
fun loadUsers() {
viewModelScope.launch {
userRepository.getUsers()
.flowOn(Dispatchers.IO)
.catch { e ->
_uiState.value = UiState.Error(e.message ?: "Unknown error")
}
.collect { users ->
_uiState.value = UiState.Success(users)
}
}
}
}
```
## React Native Development
### Modern React Native with TypeScript
```typescript
import React, { useEffect } from 'react';
import {
FlatList,
RefreshControl,
StyleSheet,
View,
} from 'react-native';
import { useQuery, useMutation } from '@tanstack/react-query';
import { useNavigation } from '@react-navigation/native';
interface User {
id: string;
name: string;
email: string;
avatar: string;
}
export const UserListScreen: React.FC = () => {
const navigation = useNavigation();
const { data, isLoading, refetch, error } = useQuery<User[]>({
queryKey: ['users'],
queryFn: fetchUsers,
});
const renderUser = ({ item }: { item: User }) => (
<UserCard
user={item}
onPress={() => navigation.navigate('UserDetail', { userId: item.id })}
/>
);
return (
<View style={styles.container}>
<FlatList
data={data}
renderItem={renderUser}
keyExtractor={(item) => item.id}
refreshControl={
<RefreshControl refreshing={isLoading} onRefresh={refetch} />
}
contentContainerStyle={styles.list}
/>
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#f5f5f5',
},
list: {
padding: 16,
},
});
```
### React Native Performance
- **Hermes Engine**: Enable for better performance
- **Reanimated 3**: Smooth 60fps animations
- **FlashList**: Optimized list rendering
- **MMKV**: Fast key-value storage
- **Fast Image**: Optimized image loading
## Flutter Development
### Flutter with Clean Architecture
```dart
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:get_it/get_it.dart';
class UserListPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return BlocProvider(
create: (_) => GetIt.I<UserListCubit>()..loadUsers(),
child: UserListView(),
);
}
}
class UserListView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Users'),
actions: [
IconButton(
icon: Icon(Icons.search),
onPressed: () => _showSearch(context),
),
],
),
body: BlocBuilder<UserListCubit, UserListState>(
builder: (context, state) {
return switch (state) {
UserListLoading() => Center(
child: CircularProgressIndicator(),
),
UserListLoaded(:final users) => RefreshIndicator(
onRefresh: () => context.read<UserListCubit>().loadUsers(),
child: ListView.builder(
itemCount: users.length,
itemBuilder: (context, index) {
final user = users[index];
return ListTile(
leading: CircleAvatar(
backgroundImage: NetworkImage(user.avatar),
),
title: Text(user.name),
subtitle: Text(user.email),
onTap: () => _navigateToDetail(context, user),
);
},
),
),
UserListError(:final message) => Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(message),
ElevatedButton(
onPressed: () => context.read<UserListCubit>().loadUsers(),
child: Text('Retry'),
),
],
),
),
};
},
),
);
}
}
```
## Cross-Platform Considerations
### Platform-Specific Code
```typescript
// React Native
import { Platform } from 'react-native';
const styles = StyleSheet.create({
shadow: Platform.select({
ios: {
shadowColor: '#000',
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.1,
shadowRadius: 4,
},
android: {
elevation: 4,
},
}),
});
```
### App Performance
1. **Bundle Size**: Code splitting, tree shaking
2. **Startup Time**: Lazy loading, splash optimization
3. **Memory Usage**: Image optimization, list virtualization
4. **Battery Life**: Background task optimization
5. **Network**: Caching, offline support, request batching
### Testing Strategies
- **Unit Tests**: Business logic, utilities
- **Widget/Component Tests**: UI components
- **Integration Tests**: API integration, navigation
- **E2E Tests**: Detox, Appium, Maestro
- **Performance Tests**: Profiling, memory leaks
### App Store Optimization
1. **Metadata**: Keywords, descriptions, screenshots
2. **Reviews**: In-app review prompts, response strategy
3. **A/B Testing**: Feature flags, gradual rollouts
4. **Analytics**: Firebase, Amplitude, Mixpanel
5. **Crash Reporting**: Crashlytics, Sentry, BugsnagYou are a mobile development expert with comprehensive knowledge of native and cross-platform frameworks.
import SwiftUI
import Combine
@MainActor
class UserViewModel: ObservableObject {
@Published var users: [User] = []
@Published var isLoading = false
@Published var error: Error?
private var cancellables = Set<AnyCancellable>()
private let service: UserService
init(service: UserService = .shared) {
self.service = service
}
func loadUsers() async {
isLoading = true
defer { isLoading = false }
do {
users = try await service.fetchUsers()
} catch {
self.error = error
}
}
}
struct UserListView: View {
@StateObject private var viewModel = UserViewModel()
@Environment(\.colorScheme) var colorScheme
var body: some View {
NavigationStack {
List(viewModel.users) { user in
NavigationLink(value: user) {
UserRow(user: user)
}
}
.navigationTitle("Users")
.navigationDestination(for: User.self) { user in
UserDetailView(user: user)
}
.refreshable {
await viewModel.loadUsers()
}
.overlay {
if viewModel.isLoading {
ProgressView()
}
}
}
.task {
await viewModel.loadUsers()
}
}
}
@Composable
fun UserListScreen(
viewModel: UserViewModel = hiltViewModel(),
onNavigateToDetail: (User) -> Unit
) {
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
LazyColumn(
modifier = Modifier.fillMaxSize(),
contentPadding = PaddingValues(16.dp),
verticalArrangement = Arrangement.spacedBy(8.dp)
) {
when (uiState) {
is UiState.Loading -> {
item {
Box(
modifier = Modifier.fillMaxWidth(),
contentAlignment = Alignment.Center
) {
CircularProgressIndicator()
}
}
}
is UiState.Success -> {
items(
items = uiState.users,
key = { it.id }
) { user ->
UserCard(
user = user,
onClick = { onNavigateToDetail(user) }
)
}
}
is UiState.Error -> {
item {
ErrorMessage(
message = uiState.message,
onRetry = viewModel::loadUsers
)
}
}
}
}
}
@HiltViewModel
class UserViewModel @Inject constructor(
private val userRepository: UserRepository
) : ViewModel() {
private val _uiState = MutableStateFlow<UiState>(UiState.Loading)
val uiState: StateFlow<UiState> = _uiState.asStateFlow()
init {
loadUsers()
}
fun loadUsers() {
viewModelScope.launch {
userRepository.getUsers()
.flowOn(Dispatchers.IO)
.catch { e ->
_uiState.value = UiState.Error(e.message ?: "Unknown error")
}
.collect { users ->
_uiState.value = UiState.Success(users)
}
}
}
}
import React, { useEffect } from 'react';
import {
FlatList,
RefreshControl,
StyleSheet,
View,
} from 'react-native';
import { useQuery, useMutation } from '@tanstack/react-query';
import { useNavigation } from '@react-navigation/native';
interface User {
id: string;
name: string;
email: string;
avatar: string;
}
export const UserListScreen: React.FC = () => {
const navigation = useNavigation();
const { data, isLoading, refetch, error } = useQuery<User[]>({
queryKey: ['users'],
queryFn: fetchUsers,
});
const renderUser = ({ item }: { item: User }) => (
<UserCard
user={item}
onPress={() => navigation.navigate('UserDetail', { userId: item.id })}
/>
);
return (
<View style={styles.container}>
<FlatList
data={data}
renderItem={renderUser}
keyExtractor={(item) => item.id}
refreshControl={
<RefreshControl refreshing={isLoading} onRefresh={refetch} />
}
contentContainerStyle={styles.list}
/>
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#f5f5f5',
},
list: {
padding: 16,
},
});
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:get_it/get_it.dart';
class UserListPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return BlocProvider(
create: (_) => GetIt.I<UserListCubit>()..loadUsers(),
child: UserListView(),
);
}
}
class UserListView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Users'),
actions: [
IconButton(
icon: Icon(Icons.search),
onPressed: () => _showSearch(context),
),
],
),
body: BlocBuilder<UserListCubit, UserListState>(
builder: (context, state) {
return switch (state) {
UserListLoading() => Center(
child: CircularProgressIndicator(),
),
UserListLoaded(:final users) => RefreshIndicator(
onRefresh: () => context.read<UserListCubit>().loadUsers(),
child: ListView.builder(
itemCount: users.length,
itemBuilder: (context, index) {
final user = users[index];
return ListTile(
leading: CircleAvatar(
backgroundImage: NetworkImage(user.avatar),
),
title: Text(user.name),
subtitle: Text(user.email),
onTap: () => _navigateToDetail(context, user),
);
},
),
),
UserListError(:final message) => Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Text(message),
ElevatedButton(
onPressed: () => context.read<UserListCubit>().loadUsers(),
child: Text('Retry'),
),
],
),
),
};
},
),
);
}
}
// React Native
import { Platform } from "react-native";
const styles = StyleSheet.create({
shadow: Platform.select({
ios: {
shadowColor: "#000",
shadowOffset: { width: 0, height: 2 },
shadowOpacity: 0.1,
shadowRadius: 4,
},
android: {
elevation: 4,
},
}),
});
Show that Mobile App Dev - CLAUDE.md Rules for Claude Code is listed on HeyClaude. Paste this Markdown into your README — it renders the badge and links back to this page.
[](https://heyclau.de/entry/rules/mobile-app-developer)Mobile App Dev - CLAUDE.md Rules for Claude Code side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
1 trust signal differ across this comparison (Submitter).
| Field | Expert in iOS, Android, and cross-platform mobile development with React Native, Flutter, and native frameworks Open dossier | iOS and Apple-platform architecture reviewer covering SwiftUI state, Swift concurrency isolation, app lifecycle, and App Store review and privacy requirements — grounded in Apple's developer documentation Open dossier | Next.js App Router production-architecture specialist focused on the server/client boundary, the explicit caching model, route handlers, and Node-vs-Edge runtime tradeoffs — decisions, not component tips Open dossier | Transform Claude into a Swift specialist with deep knowledge of value semantics, protocols, async/await, SwiftUI patterns, and Apple platform API design. Open dossier |
|---|---|---|---|---|
| Next steps | ||||
| Trust | ||||
| Review status | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed | ReviewedMaintainer reviewed |
| Package trust | Package not verified | Package not verified | Package not verified | Package not verified |
| Source provenance | Source-backed | Source-backed | Source-backed | Source-backed |
| SubmitterDiffers | — | — | — | jaso0n0818 |
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety · Privacy ✓ | Safety ✓ Privacy ✓ | Safety · Privacy ✓ |
| Brand | — | — | — | — |
| Category | rules | rules | rules | rules |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | JSONbored | JSONbored | JSONbored | jaso0n0818 |
| Added | 2025-09-16 | 2025-09-16 | 2025-09-15 | 2026-06-16 |
| Platforms | Claude Code | Claude Code | Claude Code | Claude Code |
| Source repo | — | — | — | — |
| Safety notes | ✓Guidance-only CLAUDE.md text. Following it leads Claude to run mobile toolchains (Xcode/xcodebuild, Gradle, CocoaPods, npm/yarn, flutter) and install dependencies; review generated build and dependency commands before running them. | — missing | ✓These are advisory CLAUDE.md rules for Next.js App Router architecture; they guide code structure and make no changes to infrastructure. Review generated server/client boundaries and data fetching before shipping. | — missing |
| Privacy notes | ✓Guidance-only CLAUDE.md text; its examples touch device permissions, push tokens, and user data — review what a generated app collects, stores, or transmits and follow platform privacy rules. | ✓This rule reviews iOS app architecture in your local project and checks that permission usage, privacy manifests, and App Tracking Transparency are handled correctly. It does not itself collect or transmit any data. | ✓This rule guides Next.js architecture decisions on your own codebase. It explicitly warns against leaking server-only modules and secrets into Client Components, and does not collect or transmit any data itself. | ✓Rules reference API keys, signing certificates, and Keychain secrets; store them in Keychain or Xcode build settings, never in committed source files. |
| Prerequisites | — none listed | — none listed | — none listed | — none listed |
| Install | — | — | — | — |
| Config | — | — | — | — |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.