example mobile patterns
- Repo stars 0
- Author repo skills-registry
- Domain
- Other
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @tomevault-io · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No explicit requirements detected
- Detected file/system behavior
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
Step 1: Choose Your Framework
Replace this section with your framework-specific requirements:
# Mobile Patterns (TEMPLATE)
**This is a TEMPLATE skill. Copy this directory and customize it for your mobile framework.**
Quick reference for mobile development patterns. For detailed examples, see linked guides.
## Skill Usage
| Aspect | Details |
|--------|---------|
| **Consumer** | `subagent-mobile-architect` |
| **Purpose** | Code patterns and examples for mobile implementation |
| **Invocation** | Subagents read this skill; NOT directly invocable by users |
| **How to Customize** | Replace examples below with your framework's patterns |
---
## Step 1: Choose Your Framework
Replace this section with your framework-specific requirements:
### Option A: React Native
```typescript
// Example: Redux with hooks
import { useSelector, useDispatch } from 'react-redux'
const MyComponent = () => {
const data = useSelector(state => state.feature.data)
const dispatch = useDispatch()
return <View>...</View>
}
```
### Option B: Flutter
```dart
// Example: Provider pattern
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
final data = Provider.of<DataModel>(context);
return Container(...);
}
}
```
### Option C: Native iOS (Swift)
```swift
// Example: SwiftUI with @State
struct ContentView: View {
@State private var data: String = ""
var body: some View {
Text(data)
}
}
```
### Option D: Native Android (Kotlin)
```kotlin
// Example: Jetpack Compose
@Composable
fun MyScreen(viewModel: MyViewModel = viewModel()) {
val data by viewModel.data.collectAsState()
Text(text = data)
}
```
---
## Critical Stack Requirements (CUSTOMIZE THIS)
| Feature | Your Pattern | Not Allowed |
|---------|--------------|-------------|
| **State** | [Your state management] | [What to avoid] |
| **Navigation** | [Your navigation library] | [What to avoid] |
| **UI** | [Your UI library] | [What to avoid] |
| **Testing** | [Your testing framework] | [What to avoid] |
---
## Quick Patterns Reference (CUSTOMIZE THIS)
### Component Structure
```
[Your framework's component structure example]
```
### State Management
```
[Your state management pattern example]
```
### Navigation
```
[Your navigation pattern example]
```
### Testing
```
[Your testing pattern example]
```
---
## Detailed Guides
When you need specific implementation details, read:
- **[component-patterns.md](component-patterns.md)** - Component templates and structure
- **[state-management.md](state-management.md)** - State management patterns
- **[navigation-patterns.md](navigation-patterns.md)** - Navigation flows
- **[testing-patterns.md](testing-patterns.md)** - Testing strategies
---
## Common Anti-Patterns to Avoid (CUSTOMIZE THIS)
Add framework-specific anti-patterns here:
1. ❌ [Anti-pattern 1 for your framework]
2. ❌ [Anti-pattern 2 for your framework]
3. ❌ [Anti-pattern 3 for your framework]
---
## Dependencies Reference (CUSTOMIZE THIS)
```json
{
"your-framework": "Core framework",
"your-state-library": "State management",
"your-navigation-library": "Navigation",
"your-testing-framework": "Testing"
}
```
---
## When to Consult This Skill
- Designing mobile component architecture
- Implementing state management
- Creating navigation flows
- Setting up mobile testing
- Platform-specific implementations
---
## Customization Instructions
1. **Copy this directory** to a new skill (e.g., `mobile-react-native-patterns`)
2. **Update frontmatter** with your skill name and description
3. **Replace all examples** with your framework's patterns
4. **Create detailed guides** in separate .md files
5. **Update the architect subagent** to reference this skill
6. **Delete this template** or move it to `drafts/skills/`
---
> Source: [CarlosDanielDev/maestro](https://github.com/CarlosDanielDev/maestro) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->
Sections and files
Listed in source order.
sections -> Skill Usage → Step 1: Choose Your Framework → Option A: React Native → Option B: Flutter → Option C: Native iOS (Swift) → Option D: Native Android (Kotlin)
terms -> Consumer · Purpose · Invocation · How to Customize · State · Navigation · UI · Testing
files/cmd -> subagent-mobile-architect · mobile-react-native-patterns · drafts/skills/ · component-patterns.md · state-management.md · navigation-patterns.md · testing-patterns.md · drafts/skills
body sha256 -> 70f185845588
Skill Usage
Aspect · Details Consumer ·
subagent-mobile-architectPurpose · Code patterns and examples for mobile implementation Invocation · Subagents read this skill; NOT directly invocable by users How to Customize · Replace examples below with your framework's patternsStep 1: Choose Your Framework
Replace this section with your framework-specific requirements:
Critical Stack Requirements (CUSTOMIZE THIS)
Feature · Your Pattern · Not Allowed State · [Your state management] · [What to avoid] Navigation · [Your navigation library] · [What to avoid] UI · [Your UI library] · [What to avoid] Testing · [Your testing framework] · [What to avoid]
Detailed Guides
When you need specific implementation details, read: component-patterns.md - Component templates and structure state-management.md - State management patterns navigation-patterns.md - Navigation flows testing-patterns.md - Testing strategies
Common Anti-Patterns to Avoid (CUSTOMIZE THIS)
Add framework-specific anti-patterns here: ❌ [Anti-pattern 1 for your framework] ❌ [Anti-pattern 2 for your framework] ❌ [Anti-pattern 3 for your framework]