Back to directory

Capturing Preview Screenshots in CI

Agent skill
1 skill

Use this skill to render every Jetpack Compose @Preview as a screenshot on a real Android device or emulator and publish a browsable HTML catalog from CI. Covers the Compose HotSwan Gradle compiler plugin (com.github.skydoves.compose.hotswan.compiler) and debugImplementation("com.github.skydoves.compose.hotswan:preview"), the captureAllPreviews task, capturing one preview over ADB via HotSwanPreviewActivity + screencap, the hotSwanCompiler { preview { renderDelayMs; demoMode; sdkModeEnabled } } DSL, per-preview @PreviewScreenshot(renderDelay = ...), running it on an emulator in GitHub Actions (reactivecircus/android-emulator-runner or Gradle Managed Devices) and deploying the catalog to GitHub Pages, and how device rendering differs from host-JVM tools (Paparazzi, Roborazzi). Use when the user mentions "captureAllPreviews", "HotSwan", "preview screenshots in CI", "screenshot catalog", "preview catalog on GitHub Pages", or "Paparazzi vs Roborazzi vs device screenshots".

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryGeneralStars0

About this skill

Use this skill to render every Jetpack Compose @Preview as a screenshot on a real Android device or emulator and publish a browsable HTML catalog from CI. Covers the Compose HotSwan Gradle compiler plugin (com.github.skydoves.compose.hotswan.compiler) and debugImplementation("com.github.skydoves.compose.hotswan:preview"), the captureAllPreviews task, capturing one preview over ADB via HotSwanPreviewActivity + screencap, the hotSwanCompiler { preview { renderDelayMs; demoMode; sdkModeEnabled } } DSL, per-preview @PreviewScreenshot(renderDelay = ...), running it on an emulator in GitHub Actions (reactivecircus/android-emulator-runner or Gradle Managed Devices) and deploying the catalog to GitHub Pages, and how device rendering differs from host-JVM tools (Paparazzi, Roborazzi). Use when the user mentions "captureAllPreviews", "HotSwan", "preview screenshots in CI", "screenshot catalog", "preview catalog on GitHub Pages", or "Paparazzi vs Roborazzi vs device screenshots".

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: 81fc76b7f43d860072cbd9e0cdff5b6499f2a8b2afcc6acfce0a7b6188a90629

About scan coverage and limitations

About this listing

Category
General
Reported license
Apache-2.0
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Capturing Preview Screenshots in CI | Agent Skills Atlas