一键导入
mobile-memory
Memory persistence for mobile development context across sessions. Maintains project structure, dependencies, architecture, and test state.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Memory persistence for mobile development context across sessions. Maintains project structure, dependencies, architecture, and test state.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Core Android development patterns for Kotlin, including coroutines, lifecycle management, and functional programming idioms.
Apple Combine framework for reactive programming. Publishers, subscribers, operators, and error handling.
Pattern extraction and skill generation for mobile development sessions. Automatically learns from your coding patterns.
Instinct-based learning system with confidence scoring for mobile patterns. Automatically extracts and evolves patterns.
Core Data for iOS persistence. Data models, fetch requests, background contexts, and SwiftData migration.
Kotlin Coroutines and Flow patterns for structured concurrency, error handling, and async operations.
| name | mobile-memory |
| description | Memory persistence for mobile development context across sessions. Maintains project structure, dependencies, architecture, and test state. |
Persistent memory system that maintains mobile development context across sessions.
Unlike instincts (which capture patterns), memory retains factual project state:
This survives session breaks and compaction.
Remembers your Android project layout:
{
"modules": ["app", "core:network", "feature:auth"],
"buildVariants": ["debug", "release", "staging"],
"featureModules": ["auth", "home", "profile"]
}
Use when: Starting work on a new feature, need to know project layout
Tracks all Gradle dependencies:
{
"libraries": [
{"name": "compose-runtime", "group": "androidx.compose", "version": "1.5.0"}
],
"kgpVersion": "1.9.20",
"gradleVersion": "8.2"
}
Use when: Adding new dependencies, checking compatibility
Documents your architecture patterns:
{
"pattern": "mvi",
"uiLayer": {"screens": ["Home", "Profile"]},
"dataLayer": {"repositories": ["UserRepository"]},
"di": {"framework": "koin", "modules": ["appModule"]}
}
Use when: Onboarding new developers, explaining codebase
Tracks test metrics:
{
"totalCoverage": 78,
"trend": "improving",
"failingTests": [
{"class": "AuthViewModelTest", "method": "testLogin"}
]
}
Use when: Planning testing work, tracking quality goals
Indexes all Composable screens:
{
"screens": [
{"name": "HomeScreen", "route": "home", "file": "HomeScreen.kt"}
]
}
Use when: Finding screens, understanding navigation
# At session start - load all memory
/memory-load all
# Load specific type
/memory-load project-structure
/memory-load dependencies
# Save current state
/memory-save project-structure
/memory-save test-coverage
# Save all (usually automatic)
/memory-save all
# Ask questions about project
/memory-query "What modules use Ktor?"
/memory-query "Which screens are not tested?"
/memory-query "What's the test coverage for auth module?"
# Remove stale memory
/memory-forget recent-changes
/memory-forget --older-than 90days
# Get overview of all memory
/memory-summary
Memory auto-refreshes on:
| Aspect | Memory | Instincts |
|---|---|---|
| Content | Factual state | Patterns |
| Examples | Module list, deps | "Use collectAsStateWithLifecycle" |
| Updates | On changes | On observations |
| Confidence | Binary (exists/doesn't) | 0.0-1.0 score |
| Retention | 30-90 days | Persistent |
Checkpoints include memory state:
{
"checkpoint": {
"memory": {
"project-structure": {...},
"dependencies": {...}
}
}
}
Restoring a checkpoint restores memory too.
Memory survives compaction:
/memory-queryMemory informs instinct extraction:
/memory-query instead of asking user/memory-save after major changes/memory-forget to remove stale dataUser: I need to add a new feature for user profiles
Agent: /memory-query project-structure
Response: Found modules: app, core:network, feature:auth
No profile module exists.
Agent: /memory-query dependencies
Response: Using Compose 1.5.0, Ktor 2.3.0, Koin 3.4.0
Agent: Based on memory, I'll create feature:profile module
following your existing architecture pattern.
Remember: Memory is about what exists, not what should be. That's what instincts are for.