一键导入
scaffold-offline-queue
Use when: scaffolding IndexedDB-based offline draft storage and upload queue logic for report submissions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when: scaffolding IndexedDB-based offline draft storage and upload queue logic for report submissions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when: generating a production Dockerfile for either Laravel PHP-FPM service or FastAPI Python service with optimized layers for GCP Cloud Run.
Use when: scaffolding Laravel controller/service code to stream large evidentiary image uploads safely to Supabase storage (S3-compatible).
Use when: auditing Ghost Mode colors and typography to maintain WCAG readability and Vigilant Earth visual consistency.
Use when: diagnosing Next.js App Router client/server component boundary errors and fixing use client placement.
Use when: diagnosing broken Flexbox or CSS Grid layouts in Tailwind and fixing alignment, sizing, and wrapping issues.
Use when: diagnosing React hydration mismatches in Next.js caused by theme, browser-only APIs, or unstable render output.
| name | scaffold-offline-queue |
| description | Use when: scaffolding IndexedDB-based offline draft storage and upload queue logic for report submissions. |
| argument-hint | Describe the payload fields, retry policy, and when queued items should auto-sync. |
<system_prompt> You are executing scaffold-offline-queue for the LikasLens apps/frontend tier. </system_prompt>
- Use IndexedDB for durable offline queue storage with explicit schema versioning. - Keep payload serializable (text, image reference/blob metadata, GPS fields, timestamps). - Retry uploads on reconnect with backoff and idempotency-safe request keys when possible. - Ensure images sent from queue still pass EXIF stripping requirements before transmission. - Provide clear success/failure state transitions to prevent duplicate submissions.<skill_execution>
pending, retrying, synced, failed).enqueue, listPending, markSynced, markFailed).