nexu-io/export-download-debugging
| 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.
npx skills add https://github.com/nexu-io/open-design --skill 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.
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.
showSaveFilePicker,createWritable, <a download>, URL.createObjectURL, and URL revocation.
will-download path: filename, MIME, file extension,save dialog filters, cancellation, and final file size.
normal image viewer.
available.
showSaveFilePicker().createWritable() fails, is sandboxed, or creates empty
files, route to <a download> or Electron's download manager instead.
host from creating an empty destination file on later write failure.
revocation timing, CSP, or iframe sandboxing are suspicious.
(.png, .jpg, .jpeg, .webp) so users can choose a real image target.
and error states, and one primary save action.
file extension/MIME mapping, and UI disabled/error states.
pnpm --filter @open-design/web typecheck.pnpm --filter @open-design/desktop typecheck.
pnpm guard, inspect the staged diff for unrelated files,generated artifacts, and accidental secrets, then use the repository's PR
quality-gate workflow if the fix is being prepared for review.
Take nexu-io/export-download-debugging from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.