Agent skill · Design & Presentation

create-imessage-mockup

Render pixel-accurate iMessage screenshot mockups (DM or group) from a thread JSON. Supports minimal, with-keyboard, and full iPhone 15 Pro frame variants. Outputs HTML + PNG.

gooseworks-aigithub.com/gooseworks-aiGitHub ↗
claude-codecodexcursorships scriptsMIT
Install
npx skills add gooseworks-ai/goose-skills --skill create-imessage-mockup --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 22
SKILL.md size: 13 KB
Bundled scripts: yes
Path: skills/ads/packs/video-ad-formats/create-imessage-mockup/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,091
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# create-imessage-mockup Generate iMessage screenshots that look like real iOS captures — correct bubbles with tails, typing indicators, timestamps, "Delivered" captions, group avatars + sender names, keyboard chrome, and an optional iPhone 15 Pro bezel with Dynamic Island and status bar. ## Purpose Turn a structured thread JSON into a believable iMessage screenshot — first as standalone HTML (`generate.js` + `templates/chat.css`), then rasterized to PNG with headless Chromium (`screenshot.js`/`render.js` via Playwright). It is the atom you reach for when an ad, social post, or video scene needs a fake-but-convincing iOS message capture. What it gets right, grounded in the renderer: - **Bubble runs and tails** — blue `sent` bubbles (right) and gray `received` bubbles (left), with a curved tear-drop tail drawn only on the *last* bubble of each consecutive sender run (`isLastOfRun` in `generate.js`). - **Dark-themed iOS chrome** — `theme: "dark"` flips the page to the iOS dark conversation look; the status bar, Dynamic Island, and keyboard match iPhone 15 Pro. - **Group affordances** — group threads (`mode: "group"`) add per-sender colored avatar circles, sender names above the first

What's inside
Steps it walks through
  1. Purpose
  2. When to use
  3. Inputs
  4. Thread JSON schema
  5. CLI
  6. Flags
  7. Output
  8. Workflow
  9. Setup (one-time)
  10. Files
  11. Testing
  12. Implementation pitfalls — do not re-introduce these bugs
  13. Bubble tail painting order
  14. Tail vs. avatar overlap (group chats)
Ships with 21 files
  • .gitignore
  • examples/dm-minimal.json
  • examples/dm-with-frame.json
  • examples/dm-with-keyboard.json
  • examples/dm-with-typing.json
  • examples/group-minimal.json
  • examples/group-with-frame.json
  • generate.js
  • package-lock.json
  • package.json
  • render.js
  • screenshot.js
  • skill.meta.json
  • templates/chat.css
  • templates/icons.js
  • tests/expected-output.md
  • tests/human-test.md
  • tests/run-all.sh
  • tests/sample-input.md
  • tests/smoke-test.md
  • tests/verifier.md
Commands it runs
node render.js --thread examples/group-with-frame.json --with-iphone-frame
node render.js --thread examples/dm-with-keyboard.json --with-keyboard
node render.js --thread examples/dm-minimal.json       --minimal
node render.js --thread my-thread.json --with-keyboard --output ./my-exports/ --name nightout
cd skills/ads/capabilities/create-imessage-mockup
npm install
npx playwright install chromium
bash tests/run-all.sh
inspect tests/output/<case>/<date-slug>/screenshot.png
More from goose-skills
All skills →
About this skill
What does the create-imessage-mockup skill do?

Render pixel-accurate iMessage screenshot mockups (DM or group) from a thread JSON. Supports minimal, with-keyboard, and full iPhone 15 Pro frame variants. Outputs HTML + PNG.

How do I install it?

Run `npx skills add gooseworks-ai/goose-skills --skill create-imessage-mockup --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From gooseworks-ai/goose-skills, a repository with 1,091 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going