compose-preview SKILL.md skillA

compose-preview from yschimke/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yschimke/skills/compose-preview@git:20261104.b686c03

Pins git:20261104.b686c03 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yschimke/skills
Path
skills/compose-preview/SKILL.md
Versions recorded
28
Latest version
git:20261104.b686c03, committed Nov 4, 2026
First version recorded
Sep 2, 2026
Size
13,527 bytes
Repository stars
2
License
Apache-2.0

Render a Jetpack Compose or Compose Multiplatform @Preview to PNG and look at it. Use when asked to render, show or check what a composable, @Preview or Material/Wear library component looks like, to verify a Compose UI edit, to compare before/after, or to review previews against design guidelines. Also to run an Android APK without an emulator.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Compose Preview

Render `@Preview` composables to PNG without Android Studio (Android via
Robolectric, CMP Desktop via Skia). CLI, Gradle plugin and renderers ship from
[compose-ai-tools](https://github.com/yschimke/compose-ai-tools); the MCP server
from [compose-preview-server](https://github.com/yschimke/compose-preview-server).

## Render first

For a request to render or show a preview, follow the short loop below. For a
requested guidelines review, use
[the review checklist](./references/design-guidelines.md) to choose the local,
hosted or UI Builder lane before invoking tools. Published catalogs and
server-homed designs use hosted tools first; a missing local checkout does not
require cloning, Gradle or a cloud environment. If tools are unavailable,
report blocked evidence and follow the integration's setup guidance.

With the local MCP server attached (compose-preview-server 3.78.0+), its
`initialize` instructions say how to call it: `render_preview
preview=<FunctionName>`, no exploring or registering first, no hand-built
mocks. Follow them. This skill adds the budget: a routine render is at most
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yschimke/skills/compose-preview@sha256:02c36adfbe45cdea

The line at the top of this page pins the label git:20261104.b686c03, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7prb4ufh6azqfyi2.svg)](https://markdownregistry.com/a/art_7prb4ufh6azqfyi2)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 28 versions of this file, between Sep 2, 2026 and Nov 4, 2026, about one every 2 days. Its first recorded version is graded B and its latest A.

versioncommittedcommitsizeaudit
git:20261104.b686c03 latest2026-11-04 b686c03 13,527 BA view · diff
git:20261101.c6e32f62026-11-01 c6e32f6 13,145 BA view · diff
git:20261031.31bb8172026-10-31 31bb817 12,840 BA view · diff
git:20261030.5b40be62026-10-30 5b40be6 12,639 BA view · diff
git:20261030.988b03c2026-10-30 988b03c 12,238 BA view · diff
git:20261030.75bd3482026-10-30 75bd348 11,651 BA view · diff
git:20261014.b72f81d2026-10-14 b72f81d 10,749 BA view · diff
git:20261011.2c645042026-10-11 2c64504 10,758 BB view · diff
git:20261010.1ba57442026-10-10 1ba5744 10,731 BB view · diff
git:20261010.1a1f3062026-10-10 1a1f306 10,486 BB view · diff
git:20261005.1c3abd12026-10-05 1c3abd1 9,516 BB view · diff
git:20261004.7c2818d2026-10-04 7c2818d 9,586 BB view · diff
git:20261002.06ef4cc2026-10-02 06ef4cc 9,582 BB view · diff
git:20261001.304fd822026-10-01 304fd82 8,846 BB view · diff
git:20260930.d2622312026-09-30 d262231 7,749 BB view · diff
git:20260930.65923282026-09-30 6592328 7,208 BB view · diff
git:20260930.e91805a2026-09-30 e91805a 6,354 BB view · diff
git:20260928.3a53a382026-09-28 3a53a38 5,813 BB view · diff
git:20260927.5b2aec62026-09-27 5b2aec6 5,591 BB view · diff
git:20260927.8c42f9b2026-09-27 8c42f9b 5,563 BB view · diff
git:20260927.920475f2026-09-27 920475f 24,974 BB view · diff
git:20260927.5b48a662026-09-27 5b48a66 24,843 BB view · diff
git:20260910.6fe96e52026-09-10 6fe96e5 22,079 BB view · diff
git:20260905.6b93dc72026-09-05 6b93dc7 21,647 BB view · diff
git:20260905.dac0b7d2026-09-05 dac0b7d 19,536 BB view · diff
git:20260905.c8a98f02026-09-05 c8a98f0 19,062 BB view · diff
git:20260905.bdd303e2026-09-05 bdd303e 19,557 BB view · diff
git:20260902.c4864182026-09-02 c486418 19,083 BB view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13527 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yschimke/skills · 2 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7prb4ufh6azqfyi2
GET https://markdownregistry.com/api/v1/resolve?ref=yschimke/skills/compose-preview
GET https://markdownregistry.com/api/v1/blob/02c36adfbe45cdea679f5fe854ed2b1e94de7a497e9aa530da0b39f006214e27

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from yschimke/skills

AGENTS.md AGENTS.md file
yschimke/skills · AGENTS.md
git:20261101.c6e32f6 · audit A · 2 stars
CLAUDE.md CLAUDE.md file
yschimke/skills · CLAUDE.md
git:20260514.8cfbe0d · audit B · 2 stars
compose-preview-ci SKILL.md skill
yschimke/skills · skills/compose-preview-ci/SKILL.md · Set up or repair GitHub Actions CI that renders Compose @Preview composables and posts before/after diff comments on…
git:20260905.6b93dc7 · audit A · 2 stars
compose-preview-review SKILL.md skill
yschimke/skills · skills/compose-preview-review/SKILL.md · Review Compose UI previews and pull requests by rendering base and head, diffing them, and checking catalog design…
git:20261101.c6e32f6 · audit A · 2 stars
compose-ui-builder SKILL.md skill
yschimke/skills · skills/compose-ui-builder/SKILL.md · Design or edit a screen or Wear widget in the Compose UI Builder over MCP. Use only for a UI Builder URL…
git:20261101.c6e32f6 · audit A · 2 stars

Every file in yschimke/skills

Browse by kind, by grade A, or by owner.