nexu-io avatar

Export Download Debugging

When your image export runs without errors but saves a 0 KB file, this skill walks Claude through the right debugging order. It separates payload capture from the save operation, which matters because browsers often create the empty file first, then fail silently during the write. The guidance covers showSaveFilePicker, blob URLs, data URL fallbacks, and Electron's download manager, with a focus on proof before escalation. It's tuned for web artifacts and preview iframes where sandboxing or CSP can break what looks like working code. If you've ever watched a user click Save As and get nothing, this gives Claude the evidence checklist and fix sequence to actually resolve it.

skills.sh installs
1.9K
GitHub stars
106.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add nexu-io/open-design --skill export-download-debugging --agent claude-code

Installs into .claude/skills of the current project.

Files

Export Download Debugging

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.

Core rule

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.

Evidence

  • Record the payload type, MIME type, byte length, object URL or data URL path, and thrown error name/message.
  • Check browser console output and app logs around showSaveFilePicker, createWritable, <a download>, URL.createObjectURL, and URL revocation.
  • In Electron, inspect the will-download path: filename, MIME, file extension, save dialog filters, cancellation, and final file size.
  • Confirm the actual downloaded file size on disk and whether it opens in a normal image viewer.

Fix order

Sponsors

Details

Repository
github.com/nexu-io/open-design
Categories
Backend & APIs, Debugging, Automation & Workflows, Design & UI/UX
First seen
Jul 14, 2026

More from nexu-io/open-design

All 217
1apollographql avatarapollo-routerapollographql/skillsVersion-aware guide for configuring and running Apollo Router for federated GraphQL supergraphs. Generates correct YAML for both Router v1.x and v2.x. Use this 1.9Kskills.sh installs
2cognitedata avatarintegrate-file-viewercognitedata/builder-skillsMUST be used whenever integrating CogniteFileViewer into a Flows app to preview CDF files (PDFs, images, text). Do NOT manually wire up react-pdf or file resolu1.9Kskills.sh installs
3boomsystel-code avatarimap-smtp-emailboomsystel-code/openclaw-workspaceRead and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Works 1.9Kskills.sh installs
4brightdata avatarbright-data-best-practicesbrightdata/skillsBuild production-ready Bright Data integrations with best practices baked in. Reference documentation for developers using coding assistants (Claude Code, Curso1.8Kskills.sh installs
5inngest avatarinngest-flow-controlinngest/inngest-skillsUse when handling external API rate limits (e.g., OpenAI 429s, HubSpot or Stripe rate limits), preventing duplicate work from rapid event bursts (debouncing use1.8Kskills.sh installs
6everyinc avatarce-dhh-rails-styleeveryinc/compound-engineering-pluginThis skill should be used when writing Ruby and Rails code in DHH's distinctive 37signals style. It applies when writing Ruby code, Rails applications, creating1.8Kskills.sh installs