From everything-claude-code-mobile
Saves and restores Android project checkpoints capturing git state, Gradle configs, dependencies, manifests, and tests. Use before refactors, updates, or risky changes for safe recovery.
How this skill is triggered — by the user, by Claude, or both
Slash command
/everything-claude-code-mobile:mobile-checkpointThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive checkpoint workflow for Android development safety and state recovery.
Comprehensive checkpoint workflow for Android development safety and state recovery.
Before risky operations:
./gradlew wrapper, dependency upgrades)After milestones:
# Verify clean state
git status
./gradlew check
# Create checkpoint
/mobile-checkpoint save before-<operation>
# Make your changes
# ... edits, refactors, updates ...
# Verify build
./gradlew build
# If successful - create new checkpoint
/mobile-checkpoint save after-<operation>
# If failed - restore
/mobile-checkpoint restore before-<operation>
| Level | Content | Use Case |
|---|---|---|
| Quick | Git status, branch, recent files | Quick experiments |
| Standard | + Build config, tests | Default for most ops |
| Full | + Dependencies, manifest, instincts | Major refactors, releases |
/mobile-checkpoint restore <name>
# Agent will:
# 1. Show git diff to current state
# 2. Offer git reset --hard <commit>
# 3. Restore staged/unstaged changes
# Checkpoint includes:
# - build.gradle.kts files
# - gradle/wrapper/gradle-wrapper.properties
# - version catalog (libs.versions.toml)
# Agent provides diff for manual restoration
# Checkpoint shows:
# - Previous test results
# - Failing tests (if any)
# - Coverage metrics
# Run tests to verify state:
./gradlew test
The checkpoint system integrates with hooks:
// hooks/checkpoint-hooks.json
{
"trigger": "PreToolUse",
"matcher": "tool == \"Bash\" && command contains \"gradle\"",
"action": "Create quick checkpoint"
}
{
"trigger": "PostToolUse",
"matcher": "tool == \"Edit\" && file == \"AndroidManifest.xml\"",
"action": "Create standard checkpoint"
}
Use descriptive names with operation and context:
| Name Pattern | Example |
|---|---|
before-{operation} | before-mvi-migration |
after-{operation} | after-koin-refactor |
{feature}-complete | auth-flow-complete |
{version}-rc | v1.2.0-rc1 |
working-{date} | working-2026-02-03 |
Avoid: checkpoint1, save, temp
/mobile-checkpoint list
# Output:
# before-mvi-refactor 2 hours ago Standard
# auth-feature-done 1 day ago Full
# working-0203 2 days ago Quick
# Keep last 10
/mobile-checkpoint prune --keep 10
# Delete specific
/mobile-checkpoint delete working-0203
# Export to file
/mobile-checkpoint export release-ready > ~/backups/mobile-checkpoint.json
# Import from file
/mobile-checkpoint import ~/backups/mobile-checkpoint.json
Checkpoints preserve instinct learning:
{
"instincts": {
"version": "2.0",
"count": 47,
"highConfidence": 23,
"lastUpdated": "2026-02-03T10:30:00Z"
}
}
Restoring a checkpoint also restores your learned patterns.
git status/mobile-checkpoint verify <name>./gradlew --refresh-dependenciesRemember: A checkpoint is a safety net, not a time machine. It shows you what changed, not how to undo every change.
npx claudepluginhub ahmed3elshaer/everything-claude-code-mobile --plugin everything-claude-code-mobilePersists mobile Android project context across sessions, tracking structure, Gradle dependencies, MVI architecture, test coverage, and Jetpack Compose screens. Useful for resuming development or onboarding.
Manages Git checkpoints via tags: create before risky refactors or multi-step work, restore for rollbacks, list, and clean. Uses Bash for safe Git operations.
Manages Gemini CLI checkpointing with git snapshots, /restore for listing and restoring states, rollback, and config for experimental workflows.