Files
Pier_v1/.hmcmkit/knowledge/skills/bkend-storage/SKILL.md
T
ahnyongjooandClaude Sonnet 5.5 964a841de1 chore(rebar): Pier_T_rebar 작업 폴더 초기 구성 및 외부 의존 파일 통합
- Code\rebar_pipeline, review_pipeline, pier-program을 정션에서 실제 폴더로 전환
- Code\rhino_mcp 및 CLAUDE_rhino배경.md 추가, .mcp.json은 PYTHONPATH로 새 위치 사용
- pier-program 내부 .git 제거(이력은 backup\pier-program_20261028.bundle에 보관)
- worktree 가이드 반영(CLAUDE.local.md, HANDOFF.md)
- D:\Rhino-MCP 경로 참조를 새 위치로 치환

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 11:20:18 +09:00

3.7 KiB

name, classification, classification-reason, deprecation-risk, description, user-invocable, agent, allowed-tools, imports
name classification classification-reason deprecation-risk description user-invocable agent allowed-tools imports
bkend-storage capability Pattern guidance may overlap with model's built-in knowledge as it improves medium bkend.ai file storage — upload (presigned URL), download (CDN), visibility levels, buckets. Triggers: bkend file, upload, download, presigned URL, storage, 파일 업로드, 스토리지. false hmcmkit:bkend-expert
Read
Write
Edit
Glob
Grep
Bash
mcp__bkend__*
${PLUGIN_ROOT}/templates/shared/bkend-patterns.md

bkend.ai Storage Guide

Upload Methods

Method Use Case Process
Single Normal files Presigned URL -> PUT upload -> Register metadata
Multiple Multiple files Repeat single upload
Multipart Large files Initialize -> Part URLs -> Complete

Presigned URL

  • Validity: 15 minutes
  • PUT method with file binary
  • Content-Type header required

File Visibility (4 levels)

Level Access URL Type
public Anyone CDN URL (no expiry)
private Owner only Presigned URL (1 hour)
protected Authenticated users Presigned URL (1 hour)
shared Specified targets Presigned URL (1 hour)

Size Limits

Category Max Size
Images 10 MB
Videos 100 MB
Documents 20 MB

Storage Categories

images, documents, media, attachments

MCP Storage Workflow

bkend MCP does NOT have dedicated storage tools. Use this workflow:

  1. Search docs: search_docs with query "file upload presigned url"
  2. Get examples: search_docs with query "file upload code examples"
  3. Generate code: AI generates REST API code for file operations

Searchable Storage Docs

Doc ID Content
7_code_examples_data CRUD + file upload code examples

REST Storage API

Method Endpoint Description
POST /v1/files/presigned-url Generate presigned URL
POST /v1/files Register metadata (complete upload)
GET /v1/files File list
GET /v1/files/:fileId File detail
PATCH /v1/files/:fileId Update metadata
DELETE /v1/files/:fileId Delete file
POST /v1/files/:fileId/download-url Generate download URL

Multipart Upload (Large Files)

Method Endpoint Description
POST /v1/files/multipart/init Initialize multipart upload
POST /v1/files/multipart/presigned-url Get part upload URL
POST /v1/files/multipart/complete Complete multipart upload
POST /v1/files/multipart/abort Abort multipart upload

Upload Flow (Single File)

1. POST /v1/files/presigned-url -> { url, fileId }
2. PUT {url} with file binary + Content-Type header
3. POST /v1/files with { fileId, filename, contentType, size, visibility }

Multipart Upload Flow (Large File)

1. POST /v1/files/multipart/init -> { uploadId }
2. POST /v1/files/multipart/presigned-url -> [{ partNumber, url }]
3. PUT each part URL with file chunk
4. POST /v1/files/multipart/complete -> { file }

Official Documentation (Live Reference)

For the latest storage documentation, use WebFetch: