gpt4free-provider-sync
Check the latest xtekky/gpt4free releases for provider additions/changes and decide whether Open Screenshot Generator's AI…
Drive Open Screenshot Generator headlessly (puppeteer-core + Edge) to take UI screenshots, add palette elements, upload device screenshots, export artboard PNGs, and regenerate the 3D device thumbnails. Use when asked to visually verify UI changes, capture the palette or canvas,
Claude Code
$ npx -y skills add dotnetdreamer/open-screenshot-generator --skill app-screenshots --agent claude-code
Codex
$ npx skills add dotnetdreamer/open-screenshot-generator --skill app-screenshots -a codex -y
Cursor
$ npx skills add dotnetdreamer/open-screenshot-generator --skill app-screenshots -a cursor -y
Gemini CLI
$ npx skills add dotnetdreamer/open-screenshot-generator --skill app-screenshots -a gemini-cli -y
GitHub Copilot
$ npx skills add dotnetdreamer/open-screenshot-generator --skill app-screenshots -a github-copilot -y
OpenCode
$ npx skills add dotnetdreamer/open-screenshot-generator --skill app-screenshots -a opencode -y
Windsurf
$ npx skills add dotnetdreamer/open-screenshot-generator --skill app-screenshots -a windsurf -y
name: app-screenshots description: Drive Open Screenshot Generator headlessly (puppeteer-core + Edge) to take UI screenshots, add palette elements, upload device screenshots, export artboard PNGs, and regenerate the 3D device thumbnails. Use when asked to visually verify UI changes, capture the palette or canvas, test PNG exports, check rendering quality, or refresh public/elements/device-3d thumbs. metadata: # Contributor tooling for this repository, not a skill anyone installs. # `npx skills add` walks .claude/skills as a priority container, so without # this flag every person installing the published skills would be offered # our internal harnesses too, including scripts that shell a hardcoded # Windows Edge path. Set INSTALL_INTERNAL_SKILLS=1 to see them anyway. internal: true
Drives the real app in headless Edge to verify changes end-to-end: screenshots, element adds, screenshot uploads, PNG exports, and pixel-level quality checks.
1. **Never use `page.screenshot({ clip })`.** Clipped captures briefly resize the emulated viewport, which trips the responsive sidebar breakpoint and **remounts the palette, wiping tab/drill-in state**. Always take full-page screenshots and crop afterwards with ffmpeg. 2. **Radix tabs ignore synthetic `.click()`** — switch tabs with a real mouse click at the trigger's bounding-box center (`page.mouse.click`). Plain buttons/tiles are fine with DOM `.click()` via `page.evaluate` (also bypasses overlays). 3. **`waitForFunction` needs `polling: 500`** — the default rAF polling starves on static headless pages. Prefer string-expression predicates (`"document.querySelectorAll(...).length > 3"`) over function+args. 4. **After clicking "Start Blank", wait for `?projectId=` in the URL** before interacting — project creation settles asynchronously. 5. **File uploads:** start `page.waitForFileChooser()` *before* clicking the app's "Upload Screenshot" button, then `chooser.accept([path])`. 6. **Exports:** set `Browser.setDownloadBehavior` (CDP) to a download dir, click the export button, poll the dir until the expected number of `.png` files appears, then wait ~3s for writes to finish.
screen; an **AI agent banner** sits above the tabs. `lib.js` `openAgentScreen(page)` steps into that agent screen (back out via `button[aria-label="Back"]`), and `clickByTextContains` clicks a button by a text fragment.
that text and the orange logo). On desktop it holds a detection card ("Claude Code 2.1.202 is ready", or a not installed or not signed in card with `Check again`), a model picker and `Start with Claude Code`; on the web it says Claude Code runs in the desktop app and has no Start button. The plan modes come after it (`Free, use my account`, the desktop-only `Free, built in`, `Use my API key`), so a script that drives one of them has to click its tab first, with a real mouse click (rule 2). Step 1 holds, on every tab, the code folder row `Your app's code (Claude Code only)` with `button[aria-label="Add your app's code folder"]` and its chips (hidden in the Mac App Store build). A folder alone can start a Claude Code run. On the web that button toggles an alert titled `Code folders need the desktop app`; scope any locator to that alert, because the Claude Code tab has its own `Get the desktop app` button.
Preview boards (see `src/lib/previewScenes.ts`); its tiles read `Add the <Scene Name> preview board (scene:<id>)` and each one adds an ARTBOARD, not an element, so count `[data-artboard-dom-id]` rather than `[data-element-id]` to detect the add. To review the scenes themselves, do NOT drive the canvas: headless Edge returns torn frames after scrolling the board row. Bundle `StaticArtboard` + `previewScenes.ts` with esbuild (same recipe as `regen-3d-thumbs.js`), serve the harness from `public/` so the posters resolve, and screenshot the mount node per scene. **Header** holds the eight App Store header and search designs, drawn live from the open project (`creative/StoreArtPaletteTab.tsx`). Its tiles carry no library id: they read `Add the <Look> header`, `Add the <Look> search result` or `Add the <Look> universal image` (for example `Add the Wordmark header`), with an `App name` box and a `Show what an iPhone shows` switch above them. A click adds that design as an ARTBOARD at the start of the canvas and scrolls the canvas to it; a drop puts it after the artboard under the pointer. Any palette tile dragged with a finger and lifted off the canvas (over the toolbar, the sidebar or a panel) adds nothing. Wait for all eight tiles (`[role="tabpanel"][data-state="active"] button[aria-label^="Add the "]`) before
Make screenshots and preview videos for the App Store and Google Play. Start with a template, add screenshots of your app, change the text and colors, then export the finished files at store sizes.
Check the latest xtekky/gpt4free releases for provider additions/changes and decide whether Open Screenshot Generator's AI…
Rewrite AI-sounding text so it reads naturally without changing what it says. Use when editing or reviewing prose for inflated…
Add properly licensed Adobe Stock photos to the Images palette library (e.g. the Touch hand group) via the Adobe MCP — search…
How a sentence the user reads is written in Open Screenshot Generator - toasts, dialog titles and bodies, buttons, tooltips…
Builds an App Store App Preview video (and a Play Store or landing page promo cut) from a screen recording of the app, using the…
Drives the live Open Screenshot Generator editor tool by tool over MCP, using `osg mcp` to expose the design tools (artboards,…
Choose GPT-Image2 / gpt-image-2 visual styles and industrial prompt templates from the awesome-gpt-image-2 style library. Use…
Remove visible Gemini image watermarks from local image files by calling the project's CLI. Use when the user wants an agent to…
Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures,…
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference…