od-contribute
One-click contribution flow for OpenDesign (nexu-io/open-design) — even for non-coders. Pick one of four cards (ship a Skill or…
Diagnose and fix browser, preview, or Electron export/download failures, especially image export issues involving Save As, Blob/Data URLs, the File System Access API, createWritable failures, and 0 KB files.
Claude Code
$ npx -y skills add nexu-io/open-design --skill export-download-debugging --agent claude-code
Codex
$ npx skills add nexu-io/open-design --skill export-download-debugging -a codex -y
Cursor
$ npx skills add nexu-io/open-design --skill export-download-debugging -a cursor -y
Gemini CLI
$ npx skills add nexu-io/open-design --skill export-download-debugging -a gemini-cli -y
GitHub Copilot
$ npx skills add nexu-io/open-design --skill export-download-debugging -a github-copilot -y
OpenCode
$ npx skills add nexu-io/open-design --skill export-download-debugging -a opencode -y
Windsurf
$ npx skills add nexu-io/open-design --skill export-download-debugging -a windsurf -y
name: export-download-debugging description: | Diagnose and fix browser, preview, or Electron export/download failures, especially image export issues involving Save As, Blob/Data URLs, the File System Access API, createWritable failures, and 0 KB files. triggers: - "export image failed" - "image export" - "download is 0kb" - "0 KB file" - "showSaveFilePicker" - "createWritable" - "blob URL" - "Electron download" od: mode: utility category: web-artifacts
Use this when an export or download appears to run but produces an empty, missing, or unusable file. It is tuned for browser previews, iframe capture, and Electron shells.
Separate capture from save. Prove the export payload has non-zero bytes before debugging the destination path. A 0 KB file often means the native picker or host created the target file, then the write failed or was blocked.
and thrown error name/message.
`createWritable`, `<a download>`, `URL.createObjectURL`, and URL revocation.
save dialog filters, cancellation, and final file size.
normal image viewer.
1. Prepare and validate the export payload first; disable Save until bytes are available. 2. Prefer the simplest stable save channel for the host. If `showSaveFilePicker().createWritable()` fails, is sandboxed, or creates empty files, route to `<a download>` or Electron's download manager instead. 3. Avoid opening a native picker before the payload is ready. This prevents the host from creating an empty destination file on later write failure. 4. For PNG fallback, prefer a verified non-empty data URL when blob URLs, revocation timing, CSP, or iframe sandboxing are suspicious. 5. In Electron, add explicit Save As filters for exported image extensions (`.png`, `.jpg`, `.jpeg`, `.webp`) so users can choose a real image target. 6. Keep the UI restrained: format selection, filename/path hint, clear pending and error states, and one primary save action.
file extension/MIME mapping, and UI disabled/error states.
`pnpm --filter @open-design/desktop typecheck`.
generated artifacts, and accidental secrets, then use the repository's PR quality-gate workflow if the fix is being prepared for review.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
One-click contribution flow for OpenDesign (nexu-io/open-design) — even for non-coders. Pick one of four cards (ship a Skill or…
Hyperframes-based video template for retro pixel deck motion design. Use when users want a high-fidelity, multi-scene…
Generate and iterate ad creative including headlines, descriptions, and primary text. Useful for paid social and search ad…
Luxury dark-editorial HyperFrames template for three-page cinematic storyboards, inspired by haute couture title cards and…
Browser automation CLI for AI agents. Use when the user needs to inspect, test, or automate browser behavior: navigating pages,…
Full-lifecycle AI music album production — concept, lyric drafting, track sequencing, and export. Useful for indie album…
Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with optional…
Use to design, redesign, critique, audit, polish or animate a frontend: websites, landing pages, dashboards, app UI, components,…
Create branded architecture, architecture delta, IT current-state, flowchart, sequence, state machine, ER/data model, timeline,…
Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at…