소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 5월 11일 16:18
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill multipart-upload명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | multipart-upload |
| description | Chunked file upload — pre-signed URLs, chunk management, retry. |
Use when uploading files > 5 MB or when upload reliability and progress feedback matter.
| Signal | Action |
|---|---|
| File input expected to handle large files (images, video, docs, exports) | Apply this skill |
| S3 / R2 / GCS / Azure Blob storage detected | Apply this skill |
| Upload progress bar or resumable upload required | Apply this skill |
multipart, presigned, chunk anywhere in the codebase | Apply this skill |
Client → POST /uploads/initiate → { uploadId, key }
Client → POST /uploads/presign-chunk → { presignedUrl, partNumber }
Client → PUT presignedUrl (chunk) → ETag from S3
Client → POST /uploads/complete → { url } (final assembled file)
Client → POST /uploads/abort → cleanup on failure
Initiate endpoint
key (UUID + original extension, never user-controlled)Content-Type header aloneuploadIdupload_id, key, user_id, status: pending, expires_at)Pre-sign chunk endpoint
uploadId belongs to the requesting user (ownership check)Complete endpoint
[{ partNumber, ETag }] array from clientcompleteMultipartUpload with parts liststatus: complete, urlAbort endpoint
abortMultipartUploadexpires_at)Use a single pre-signed PUT URL — skip multipart entirely.
private/ prefix; serve via CDN with signed cookies — never public bucket URLsstatus: availableconst CHUNK_SIZE = 10 * 1024 * 1024 // 10 MB — adjust to latency/reliability trade-off
async function uploadFile(file: File) {
const totalChunks = Math.ceil(file.size / CHUNK_SIZE)
const { uploadId, key } = await api.initiateUpload({ filename: file.name, size: file.size })
const parts: { partNumber: number; ETag: string }[] = []
for (let i = 0; i < totalChunks; i++) {
const chunk = file.slice(i * CHUNK_SIZE, (i + 1) * CHUNK_SIZE)
const { presignedUrl } = await api.presignChunk({ uploadId, partNumber: i + 1 })
const res = await fetch(presignedUrl, { method: 'PUT', body: chunk })
parts.push({ partNumber: i + , : res..()! })
(.(((i + ) / totalChunks) * ))
}
api.({ uploadId, key, parts })
}
XMLHttpRequest.upload.onprogress for granular reporting(completedChunks / totalChunks) * 100 for a simple barnavigator.sendBeacon to clean up server-side# Bucket CORS for multipart upload
CorsConfiguration:
CorsRules:
- AllowedOrigins: ["https://yourdomain.com"]
AllowedMethods: [PUT, GET]
AllowedHeaders: ["*"]
ExposeHeaders: [ETag]
MaxAgeSeconds: 3600
{ "AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 1 } }
AllowedMethods: [PUT] in CORS — R2 does not require ExposeHeaders: [ETag] explicitlyresumable upload type for files > 5 MBstageBlock / commitBlockList — analogous to S3 partsSTORAGE_BUCKET=
STORAGE_REGION=
STORAGE_PRESIGN_EXPIRY_SECONDS=900
UPLOAD_MAX_BYTES=524288000 # 500 MB
UPLOAD_ALLOWED_TYPES=image/jpeg,image/png,application/pdf