skydoves/android-testing-skills/testing-state-restoration
Use this skill to test `rememberSaveable` round-trips with `StateRestorationTester`, the only supported tool for proving Compose state survives process death and configuration change. Covers the constructor (`StateRestorationTester(rule: ComposeContentTestRule)`), why `restorationTester.setContent { }` MUST replace `rule.setContent { }`, the `state = null` between phases trick that proves restoration actually happened, the 1 MB Bundle cap, and what is NOT exercised (Activity lifecycle, configura
Agent skill · version 0.0.0-main.1794523193.g8665ed5 · from skydoves/android-testing-skills
Install
npx yarkr-cli add skill:skydoves/android-testing-skills/testing-state-restorationWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/testing-state-restoration
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/testing-state-restorationOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:skydoves/android-testing-skills/testing-state-restorationWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.