Skip to main content

design-a-file-upload-interface

Design a file upload interface with clear acceptance, progress, inspection, correction, and recovery states. Use when users submit one or more files through a web experience.

소스 정보

저장소
protosphinx/sphinxstack
최근 소스 활동
2026년 7월 29일 13:55
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
design-a-file-upload-interface
category
design
description
Design a file upload interface with clear acceptance, progress, inspection, correction, and recovery states. Use when users submit one or more files through a web experience.
# design-a-file-upload-interface Set expectations before selection and preserve a clear record for every file afterward. ## Procedure 1. Define allowed purpose, types, sizes, counts, privacy, retention, and processing time. 2. Support accessible browse, drag and drop, camera, or paste only where useful. 3. Show selected name, type, size, preview, ordering, removal, and replacement. 4. Validate early while keeping server inspection authoritative. 5. Display per-file queued, uploading, paused, processing, complete, warning, and failed states. 6. Support cancellation, bounded retry, duplicate handling, and resumability where justified. 7. Explain rejection and scanning without exposing detection details. 8. Test keyboard, screen reader, mobile capture, slow network, interruption, and mixed outcomes. 9. Reconcile UI completion with durable server and processing state. ## Guardrails - Never imply a file is accepted before server validation and required inspection complete. - Do not expose local paths or other users' filenames. - Preserve a non-drag alternative. ## Done - An upload interaction specification covers every file and processing state - Accessibility, interruption, rejection, and mixed-result cases are tested - Visible completion reconciles with server records
GitHub에서 보기