Export Download Debugging
Diagnostic playbook for image export failures that produce 0 KB or unusable files in browsers and Electron.
- CCM score
- 57 of 100
- skills.sh installs
- 2.1K
- GitHub stars
- 110.1K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the capture-then-save split: confirm the payload has non-zero bytes before debugging the destination path
- Includes a fix order (prepare payload, fall back to
<a download>or Electron's download manager, add image save filters) plus test and typecheck validation steps - Enforces a rule to disable Save until bytes are ready, so a native picker never creates an empty destination file
- Designed for web previews, iframe capture, and Electron shells that hit Save As, Blob/Data URL, or
createWritablefailures
Install
$ npx -y skills add nexu-io/open-design --skill export-download-debugging -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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-downloadpath: 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
Details
- Repository
- github.com/nexu-io/open-design
- Categories
- Debugging, Frontend & UI Code
- First seen
- Jul 14, 2026
Questions
What does the export-download-debugging skill do?
It diagnoses and fixes browser, preview, or Electron export and download failures, especially image exports that produce empty or 0 KB files. It covers Save As, Blob and Data URLs, the File System Access API, and createWritable failures.
How do I install the export-download-debugging skill?
Run npx -y skills add nexu-io/open-design --skill export-download-debugging -y in a project. After that, the agent can separate capture from save and check that the export payload has non-zero bytes before debugging the destination path.
Where does export-download-debugging rank in the Debugging category?
It ranks in the top 100 on the Claude Marketplaces Debugging category page. It sits alongside diagnosing-bugs, safe-debug, systematic-debugging, and sentry-cli, but it focuses on export and download failures.
When should I use the export-download-debugging skill?
Use it 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, and it checks Save As and the Electron will-download path.
What tools or setup does export-download-debugging need?
The listing gives no separate accounts or keys. It works in a repository with pnpm and runs the typecheck and guard scripts, such as pnpm --filter @open-design/web typecheck and pnpm guard.
More from nexu-io/open-design
All 196- Pr Feedback Quality Gate2K
- Taste Skill808
- Web Prototype305
- Dashboard299
- Saas Landing281
- Mobile Onboarding276
- Mobile App270
- Wireframe Sketch266
- Magazine Poster264
- Social Carousel263
- Critique258
- Sprite Animation251
- Motion Frames250
- Email Marketing249
- Invoice249
- Docs Page248
- Pricing Page247
- Blog Post246
- Tweaks243
- Simple Deck242
- Finance Report241
- Kanban Board241
- Digital Eguide239
- Magazine Web Ppt239
Similar to Export Download Debugging
More Debuggingfull-page-screenshotSkillnexu-io/open-design3K installsCapture full-page web screenshots through Chrome DevTools Protocol with no external dependencies.
download-gemini-imagesPlugindaymade/claude-code-skills1.6K starsDownload, export, save, or package images from a Google Gemini conversation page — uploaded images or generated image previews. Use when the task needs logged-i
base44-troubleshooterSkillbase44/skills14.7K installsTroubleshoot Base44 app production issues via function logs, workflow runs, and realtime log streaming.
upload-insecure-filesSkillyaklang/hack-skills3.9K installsPlaybook for testing upload validation, storage, processing pipelines, and upload-to-RCE chains across file-accepting features.
implementation-debuggingSkilldylantarre/animation-principles582 installsDiagnostic framework that debugs broken or inconsistent animations using Disney's principles as a checklist.
browser-previewSkillstarchild-ai-agent/official-skills4.6K installsDiagnostic playbook for Preview panel failures: missing tabs, blank screens, asset 404s, and running-service recovery.