一键导入
example-mobile-patterns
TEMPLATE - Mobile development patterns. Copy and customize for your mobile framework (React Native, Flutter, Swift, Kotlin, etc.)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
TEMPLATE - Mobile development patterns. Copy and customize for your mobile framework (React Native, Flutter, Swift, Kotlin, etc.)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compressed-prose response style for the orchestrator (opt-in via behavior.caveman_mode). Drops articles, fillers, and transitional prose; preserves code, paths, JSON/TOML, and quoted text verbatim.
Maestro project patterns — Rust CLI with ratatui TUI, tokio async, Claude CLI process management, and stream-json parsing.
TEMPLATE - Backend API development patterns. Copy and customize for your backend framework (Express, Django, Spring Boot, FastAPI, etc.)
TEMPLATE - Frontend web development patterns. Copy and customize for your frontend framework (React, Vue, Angular, Svelte, etc.)
Defensive patterns for GitHub (gh) and Azure DevOps (az) CLI interactions — error handling, idempotency, rate limits, missing resources.
API contract validation patterns for ensuring client-side models match backend JSON responses. Prevents decoding failures from schema mismatches. Tech-stack agnostic.
| name | example-mobile-patterns |
| version | 1.0.0 |
| description | TEMPLATE - Mobile development patterns. Copy and customize for your mobile framework (React Native, Flutter, Swift, Kotlin, etc.) |
| allowed-tools | Read, Grep, Glob, WebSearch |
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.
| 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 |
Replace this section with your framework-specific requirements:
// 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>
}
// Example: Provider pattern
class MyWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
final data = Provider.of<DataModel>(context);
return Container(...);
}
}
// Example: SwiftUI with @State
struct ContentView: View {
@State private var data: String = ""
var body: some View {
Text(data)
}
}
// Example: Jetpack Compose
@Composable
fun MyScreen(viewModel: MyViewModel = viewModel()) {
val data by viewModel.data.collectAsState()
Text(text = data)
}
| 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] |
[Your framework's component structure example]
[Your state management pattern example]
[Your navigation pattern example]
[Your testing pattern example]
When you need specific implementation details, read:
Add framework-specific anti-patterns here:
{
"your-framework": "Core framework",
"your-state-library": "State management",
"your-navigation-library": "Navigation",
"your-testing-framework": "Testing"
}
mobile-react-native-patterns)drafts/skills/