← スキル一覧に戻る

sketch-upload-pipeline
by joelklabo
markdowntown scan CLI
⭐ 0🍴 0📅 2026年1月19日
SKILL.md
name: sketch-upload-pipeline description: Upload pipeline troubleshooting for Sketch Magic. Use when HEIC uploads fail, previews don’t render, files are too large, or upload validation errors appear.
Sketch Upload Pipeline
Overview
Standardize debugging for uploads, HEIC conversion, size limits, and preview lifecycle issues.
Workflow
1) Confirm client validation
- Allowed types: PNG, JPG, HEIC/HEIF, WebP.
- Size limit:
MAX_UPLOAD_MB/DEFAULT_MAX_UPLOAD_BYTES(10 MB default).
2) HEIC conversion path
- Client converts HEIC to JPEG via
heic2anybefore upload when possible. - If conversion fails, original file is still used and may preview as blank in some browsers.
3) Preview lifecycle
- Ensure object URL creation/revocation is stable (no early revoke).
- Confirm
sketch-preview-imageloads withnaturalWidth > 0.
4) Server constraints
- Check server body limits (Next.js proxy body size).
- Confirm
/api/converthandles large payloads within timeout.
5) Report safely
- Do not log image bytes or PII.
- Capture file type/size and error code only.
References
references/upload-pipeline.md
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です