end to end app store screenshot creation using AI
TypeScript agentic-aiappleappstoreautomateclaudecursordesigngenerateiosios-appmarketingscreenshotskillsskills-shswiftswiftuiui
docs: refresh README for connected canvas editor
Parth Jadhave58f81961b5f
diff --git a/README.md b/README.mdindex 192eff2..c3ec2e0 100644--- a/README.md+++ b/README.md@@ -1,43 +1,45 @@-[](https://bloom.parthjadhav.com)+# App Store & Google Play Screenshots Generator-### NOTE: MAKE SURE TO USE 6.1 INCH simulator to capture starting screenshots-this will save u from adjusting the images later+A skill for AI coding agents that scaffolds a production-ready Next.js editor for App Store and Google Play marketing screenshots. It gives you a connected canvas, real device frames, inspector controls, persistent project state, and one-click export bundles at store-ready sizes.-# App Store & Google Play Screenshots Generator+++Example screenshots generated with this skill were accepted for [Bloom Coffee Shelf Recipe on the App Store](https://apps.apple.com/us/app/bloom-coffee-shelf-recipe/id6759914524).-A skill for AI-powered coding agents (Claude Code, Cursor, Windsurf, etc.) that generates production-ready **App Store and Google Play** screenshots for iOS and Android apps. It scaffolds a Next.js project, designs advertisement-style screenshots, and exports them at all required Apple and Google resolutions.-#### Screenshots & App approved by Apple - https://apps.apple.com/us/app/bloom-coffee-shelf-recipe/id6759914524-+## What It Does-## What it does+- Builds a full screenshot editor instead of a static one-off page+- Turns raw app captures into ad-style slides with big readable copy+- Lets phones, captions, and decorative elements span adjacent screenshots on one connected canvas+- Keeps older projects safe with isolated-screen export mode until you opt into connected crops+- Saves every deck to `app-store-screenshots.json`, so the project is git-trackable and resumable+- Uploads picked screenshots into `public/screenshots/uploaded/<hash>.png`+- Supports iOS, iPad, Android phone, Android tablet, and Play Store feature graphic decks+- Exports exact PNG bundles for all required App Store and Google Play sizes+- Supports locales, RTL-aware copy/layout guidance, reusable themes, and in-place project migration-- Asks you about your app's brand, features, and style preferences-- Scaffolds a minimal Next.js project (or works within an existing one)-- Designs each screenshot as an **advertisement** — not a UI showcase-- Writes compelling copy using proven App Store / Play Store copywriting patterns-- Renders screenshots at full resolution with a built-in iPhone mockup and CSS-based Android device frames-- Exports PNGs at all required sizes for **both stores**-- Supports **Android Phone, 7" Tablet, 10" Tablet** (portrait + landscape) and **Feature Graphic** (1024×500)-- Supports locale-based screenshot sets and localized copy-- Supports reusable theme presets so you can swap art direction quickly-- Supports RTL-aware layouts and bulk export across locale/device/theme combinations+## Current Editor UI-## Included assets+- **Connected canvas** - view the whole screenshot strip at once, drag elements across screen boundaries, then export each screen as a precise crop.+- **Isolated mode** - preserve legacy decks where offscreen elements should not leak into neighboring exports.+- **Screen sidebar** - add, select, and drag-to-reorder screens with live thumbnails.+- **Inspector** - edit layout, labels, headlines, screenshots, element stacking, and transforms from the right panel.+- **Platform switcher** - keep iOS and Android decks side by side while sharing the same editor workflow.+- **Device selector** - design for iPhone, iPad, Android phone, Android tablets, and feature graphic formats.+- **Autosave** - writes to disk through `/api/project` and mirrors to `localStorage` for instant reloads.+- **Export bundle** - downloads a zip organized by platform, device, resolution, and locale.-- `mockup.png` — Pre-measured iPhone frame with transparent screen area-- Android device frames are rendered with **CSS only** — no additional mockup PNGs needed+Tip: when capturing source iPhone screenshots, the 6.1-inch simulator is usually the easiest starting point because it reduces manual image adjustment inside the frames.## Install-### Using npx skills (recommended)+### Using npx skills```bashnpx skills add ParthJadhav/app-store-screenshots```-This works with Claude Code, Cursor, Windsurf, OpenCode, Codex, and [40+ other agents](https://github.com/vercel-labs/skills#available-agents).--Install globally (available across all projects):+Install globally:```bashnpx skills add ParthJadhav/app-store-screenshots -g@@ -49,7 +51,9 @@ Install for a specific agent:npx skills add ParthJadhav/app-store-screenshots -a claude-code```-### Manual (git clone)+This works with Claude Code, Cursor, Windsurf, OpenCode, Codex, and other agents supported by [`skills`](https://github.com/vercel-labs/skills).++### Manual install```bashgit clone https://github.com/ParthJadhav/app-store-screenshots ~/.claude/skills/app-store-screenshots@@ -57,58 +61,28 @@ git clone https://github.com/ParthJadhav/app-store-screenshots ~/.claude/skills/## Usage-Once installed, the skill triggers automatically when you ask Claude Code to:--- Build App Store or Google Play screenshots-- Generate marketing screenshots for an iOS or Android app-- Create exportable screenshot assets for both stores+Once installed, ask your coding agent for store screenshots:-Or just tell Claude Code what you need:--```-> Build App Store and Google Play screenshots for my app+```text+Build App Store and Google Play screenshots for my app.```-Claude will ask you about your app's screenshots, brand colors, font, features, style direction, and number of slides before building anything.--## Example prompts--These are good starting prompts because they provide product context while still leaving room for the skill to guide the design process.+The skill guides the agent to ask for your app context, source screenshots, platforms, locales, visual direction, and slide count before generating the editor project.-### Habit tracker+## Example Prompts```textBuild App Store screenshots for my habit tracker.The app helps people stay consistent with simple daily routines.-I want 6 slides, clean/minimal style, warm neutrals, and a calm premium feel.+I want 6 slides, clean minimal style, warm neutrals, and a calm premium feel.```-### Finance app-```textGenerate App Store screenshots for my personal finance app.-The app's main strengths are fast expense capture, clear monthly trends, and shared budgets.-I want a sharp, modern style with high contrast and 7 slides.-```--### AI productivity tool--```text-Create exportable App Store screenshots for my AI note-taking app.-The core value is turning messy voice notes into clean summaries and action items.-I want bold copy, dark backgrounds, and a polished tech-forward look.+The main strengths are fast expense capture, clear monthly trends, and shared budgets.+I want a sharp modern style with high contrast and 7 slides.```-### Wellness app--```text-Build marketing screenshots for my meditation app.-The app focuses on sleep, stress relief, and short guided sessions.-Use a soft, warm, organic style and prioritize emotional outcomes over feature lists.-```--### Multi-language / multi-theme-```textBuild App Store screenshots for my language learning app.I need English, German, and Arabic screenshot sets.@@ -116,55 +90,74 @@ Use two reusable themes: clean-light and dark-bold.Make sure Arabic slides feel RTL-native, not just translated.```-## Better prompt tips+## Better Prompt Tips-- say what the app does in one sentence-- list the top 3-5 features in priority order-- describe the visual style you want-- mention how many slides you need-- mention if you need multiple languages or RTL locales-- mention if you want one art direction or reusable theme presets-- provide references if you want the output to match a certain App Store style+- Say what the app does in one sentence+- List the top 3-5 features in priority order+- Mention the platforms and devices you need+- Describe the visual style you want+- Say how many slides you want+- Mention required locales or RTL languages+- Provide source screenshot paths, app icon, and style references when available-## What gets scaffolded+## What Gets Scaffolded-If starting from an empty folder, the skill creates:+If starting from an empty folder, the skill creates a Next.js project like this:-```+```textproject/├── public/-│ ├── mockup.png # iPhone frame (copied from skill)-│ ├── app-icon.png # Your app icon-│ ├── screenshots/ # iOS screenshots (locale folders optional)-│ │ └── android/ # Android screenshots (when targeting both)-│ └── screenshots-ipad/ # Optional iPad screenshots-├── app-store-screenshots.json # Git-trackable project state+│ ├── mockup.png+│ ├── app-icon.png+│ └── screenshots/+│ ├── apple/+│ │ ├── iphone/{locale}/01.png+│ │ └── ipad/{locale}/01.png+│ └── android/+│ ├── phone/{locale}/01.png+│ ├── tablet-7/portrait/{locale}/01.png+│ ├── tablet-10/landscape/{locale}/01.png+│ └── feature-graphic/{locale}/01.png+├── app-store-screenshots.json├── src/app/-│ ├── layout.tsx # Font setup-│ └── page.tsx # Editor entry point-├── src/components/editor/ # Connected canvas editor, inspector, export UI-├── package.json-└── ...+│ ├── layout.tsx+│ └── page.tsx+├── src/components/editor/+│ ├── screenshot-editor.tsx+│ ├── toolbar.tsx+│ ├── sidebar.tsx+│ ├── inspector.tsx+│ ├── preview-stage.tsx+│ ├── slide-canvas.tsx+│ ├── screenshot-picker.tsx+│ └── device-frames.tsx+└── src/lib/+ ├── constants.ts+ ├── defaults.ts+ ├── storage.ts+ ├── image-cache.ts+ └── types.ts```-When targeting both stores, the skill uses a platform-based folder structure to keep iOS and Android screenshots separated.+The template README inside `skills/app-store-screenshots/template/README.md` documents the editor internals in more detail.-Run the dev server, open the browser, edit the connected canvas, then use **Export bundle** to download every required PNG size for the current device. The editor autosaves to `app-store-screenshots.json` so the deck can be committed and resumed later.+## Editor Workflow-The latest version of the skill also guides the agent to generate:+1. Capture real app screenshots from a simulator, emulator, or device.+2. Ask your agent to scaffold or migrate the screenshot project.+3. Run the dev server and open the editor.+4. Use the sidebar to organize screens and the inspector to edit copy, layouts, screenshots, and elements.+5. Choose Connected or Isolated mode depending on whether elements should cross screen boundaries.+6. Click **Export bundle** to download store-ready PNGs.-- locale tabs and locale-specific screenshot folders-- reusable theme presets backed by design tokens-- RTL-aware layouts for languages like Arabic and Hebrew-- bulk export flows for locale/device/theme combinations-- connected cross-screen compositions where devices or decorative elements can intentionally span adjacent screenshots+Uploaded files are saved under `public/screenshots/uploaded/`, and the canonical deck state is saved in `app-store-screenshots.json`. Commit both to make the deck reproducible after a fresh clone.-## Export sizes+## Export Sizes### Apple App Store| Display | Resolution |-|---------|-----------|+|---------|------------|| 6.9" | 1320 x 2868 || 6.5" | 1284 x 2778 || 6.3" | 1206 x 2622 |@@ -173,103 +166,55 @@ The latest version of the skill also guides the agent to generate:### Google Play Store| Device | Resolution |-|--------|-----------|-| Phone (portrait) | 1080 x 1920 |-| 7" Tablet (portrait) | 1200 x 1920 |-| 7" Tablet (landscape) | 1920 x 1200 |-| 10" Tablet (portrait) | 1600 x 2560 |-| 10" Tablet (landscape) | 2560 x 1600 |-| Feature Graphic | 1024 x 500 |--Screenshots are designed at the largest size per platform and scaled down for smaller sizes. Android device frames are CSS-rendered.--## Advanced capabilities--### Multi-language screenshots--The skill can generate screenshot systems for multiple locales by nesting images under locale folders such as:--```text-public/screenshots/en/home.png-public/screenshots/de/home.png-public/screenshots/ar/home.png-```--The generated page keeps slide structure the same and swaps only the locale base path and copy dictionary.--### Theme presets--Instead of hardcoding one art direction, the skill now encourages a token-driven preset system, for example:+|--------|------------|+| Phone portrait | 1080 x 1920 |+| 7" tablet portrait | 1200 x 1920 |+| 7" tablet landscape | 1920 x 1200 |+| 10" tablet portrait | 1600 x 2560 |+| 10" tablet landscape | 2560 x 1600 |+| Feature graphic | 1024 x 500 |-```ts-const THEMES = {- "clean-light": { bg: "#F6F1EA", fg: "#171717", accent: "#5B7CFA" },- "dark-bold": { bg: "#0B1020", fg: "#F8FAFC", accent: "#8B5CF6" },- "warm-editorial": { bg: "#F7E8DA", fg: "#2B1D17", accent: "#D97706" },-} as const;-```--This lets you reuse the same slide system while testing different visual directions fast.--### RTL-aware design+Screenshots are designed at the largest size for each platform and scaled down for smaller exports. Android frames are CSS-rendered, while iPhone uses the included `mockup.png` bezel.-For RTL locales such as Arabic and Hebrew, the skill now tells the agent to:+## Project State-- set `dir="rtl"` on the screenshot canvas-- rewrite line breaks for the target language-- mirror asymmetric layouts intentionally-- keep the composition feeling native instead of mechanically flipped+- `app-store-screenshots.json` is the source of truth for app name, active platform, active device, locales, theme, connected-canvas mode, slides, screenshot paths, and transforms.+- Runtime uploads are written to `public/screenshots/uploaded/<hash>.png`.+- The editor reads `localStorage` first for fast paint, then reconciles with the project file.+- Older project files are migrated to schema v2 on load while keeping legacy decks isolated unless connected mode was already enabled.+- Custom themes live in `src/lib/constants.ts`; unknown theme ids fall back to `clean-light`.-### Bulk export matrix+## Design Standards-The generator is now expected to support exporting not only the current slide, but also:+- Screenshots are ads, not documentation+- Each slide should sell one clear user outcome+- Headlines should pass the one-second thumbnail test+- Adjacent slides should vary layout and device placement+- Cross-screen elements should never split required text or critical UI+- Exported crops must still work as standalone screenshots-- all slides for the current locale/device/theme-- all locales for the current theme-- full locale + device + theme matrices when needed--## Tech stack+## Tech Stack| Dependency | Purpose |-|-----------|---------|-| Next.js | Dev server + static image serving |-| TypeScript | Type safety |+|------------|---------|+| Next.js | Dev server and app shell |+| React | Editor UI |+| TypeScript | Project and slide state safety || Tailwind CSS | Styling |-| html-to-image | PNG export at exact resolutions |-| React | Component composition |--## Key design principles--- **Screenshots are ads, not docs** — each slide sells one idea-- **Copy follows the "one second" rule** — readable at thumbnail size in the App Store-- **Layouts vary** — no two adjacent slides share the same phone placement-- **Style is user-driven** — no hardcoded colors, gradients, or fonts--## Quality Checklist--Before exporting, each slide should pass this quick review:--- the headline communicates one idea in about one second-- the first slide sells the strongest user benefit-- adjacent slides do not reuse the same layout-- decorative elements support the message instead of blocking the UI-- text, screenshots, and framing still look correct after export sizing+| shadcn/ui + Radix | Controls, dialogs, selects, tooltips |+| html-to-image | Exact PNG rendering |+| JSZip | Bundle downloads |+| dnd-kit | Screen reordering |+| react-rnd | Draggable and resizable canvas elements |## Requirements- Node.js 18+-- One of: bun, pnpm, yarn, or npm (detected automatically, bun preferred)+- One of bun, pnpm, yarn, or npm## Contributing-Contributions are welcome, especially around:--- screenshot generation reliability-- skill prompt quality-- clearer docs and onboarding-- cross-agent compatibility--If you want to contribute, start with `CONTRIBUTING.md`. Bug reports and feature requests also have issue templates now to make reproduction and review easier.+Contributions are welcome, especially around export reliability, screenshot design guidance, migrations, and cross-agent compatibility. Start with `CONTRIBUTING.md`.## Licensediff --git a/example.png b/example.pngindex 4c46357..3a5efce 100644Binary files a/example.png and b/example.png differ