App Recovery
Use this skill when creating or managing recovery actions for critical app issues.
List recovery actions
gpc recovery list --package com.example.appCreate recovery action
gpc recovery create --file recovery.json --package com.example.appDeploy recovery action
gpc recovery deploy --recovery-id abc123 --confirm --package com.example.appCancel recovery action
gpc recovery cancel --recovery-id abc123 --confirm --package com.example.appAdd targeting
gpc recovery add-targeting --recovery-id abc123 --file targeting.json --package com.example.appRecovery workflow
- Identify the issue via vitals:
gpc vitals crashes --days 1 --package com.example.app- Create recovery action:
gpc recovery create --file recovery.json --package com.example.app- Add targeting for affected versions:
gpc recovery add-targeting --recovery-id $RECOVERY_ID --file targeting.json --package com.example.app- Deploy:
gpc recovery deploy --recovery-id $RECOVERY_ID --confirm --package com.example.appAgent behavior
- Always check vitals before recommending recovery actions.
- Show recovery action details before deploying.
- Require explicit
--confirmfor deploy and cancel operations. - Never deploy recovery actions without user approval.
Notes
- Recovery actions notify affected users about the issue.
- Use targeting to limit the recovery to specific app versions or devices.
- See
gpc-vitalsskill for monitoring crash rates.