Registry / skydoves

skydoves/android-testing-skills/developing-with-compose-previews

Use this skill to make `@Preview` functions the primary feedback loop for Jetpack Compose UI work — preview-driven development. Covers hoisting state out of composables so a preview never needs a `ViewModel` or DI graph, `LocalInspectionMode` for conditional preview rendering (e.g. placeholder instead of Coil/Glide), `@PreviewParameter` + `PreviewParameterProvider` for rendering every UI state side by side, multi-configuration previews (`uiMode`, `fontScale`, `device`, `widthDp`, `locale`), `@Pr

Agent skill · version 1.0.0 · from skydoves/android-testing-skills

Install

npx yarkr-cli add skill:skydoves/android-testing-skills/developing-with-compose-previews

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/developing-with-compose-previews
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:skydoves/android-testing-skills/developing-with-compose-previews

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:skydoves/android-testing-skills/developing-with-compose-previews

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.