example-mobile-patterns
TEMPLATE - Mobile development patterns. Copy and customize for your mobile framework (React Native, Flutter, Swift, Kotlin, etc.)
от CarlosDanielDev★ 31 звезда на GitHub
Установить example-mobile-patterns в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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
// 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
// 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)
// Example: SwiftUI with @State
struct ContentView: View {
@State private var data: String = ""
var body: some View {
Text(data)
}
}
Option D: Native Android (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 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]
Dependencies Reference (CUSTOMIZE THIS)
{
"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
- Copy this directory to a new skill (e.g.,
mobile-react-native-patterns) - Update frontmatter with your skill name and description
- Replace all examples with your framework's patterns
- Create detailed guides in separate .md files
- Update the architect subagent to reference this skill
- Delete this template or move it to
drafts/skills/
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Grep - 03
Glob - 04
WebSearch
FAQ
Что делает скилл example-mobile-patterns?
TEMPLATE - Mobile development patterns. Copy and customize for your mobile framework (React Native, Flutter, Swift, Kotlin, etc.)
Как установить скилл example-mobile-patterns?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл example-mobile-patterns запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…