serialization-storage
БесплатноБез исполняемых скриптовНе проверенSerialize, persist, stream, and route DocArray BaseDoc, DocList, DocVec, file store, S3, and FastAPI payload workflows.
от lza6★ 19 звёзд на GitHubОб этом скилле
DocArray serialization and storage
Use this sub-skill when a task needs to move DocArray objects across process, file, tabular, web, or object-store boundaries.
Route here for
- Choosing JSON, protobuf, bytes, base64, binary file, CSV, or DataFrame formats for
BaseDoc,DocList, andDocVec. - Preserving or deliberately changing
DocVectensor backend withtensor_type=...during deserialization. - Saving and loading
DocListorDocVecbinaries, including streaming-safe single-document protocols. - Using
DocList.push(),DocList.pull(),push_stream(), andpull_stream()withfile://stores. - Documenting S3
DocListstore requirements and constraints before credentials or network access are available. - Returning DocArray documents and JSON payloads from FastAPI with
DocArrayResponse. - Diagnosing missing
proto,pandas,web, orawsextras and protocol mismatch failures.
Route elsewhere
- Schema design, predefined documents, nested document modeling, and tensor field choices before serialization: use sibling
document-modeling. - Vector indexes, nearest-neighbor search, document indexes, or vector database backends: use sibling
vector-indexing. - Live S3 operations that require credentials, buckets, endpoints, or network access: verify those separately in the future task before relying on them.
Read these bundled references
- Start with Serialization reference for the protocol matrix, exact method names,
DocVec tensor_typebehavior, CSV/DataFrame caveats, and FastAPI response routing. - Use Storage reference for
file://and S3DocListstore behavior, streaming, list/delete operations, path requirements, and optional service constraints. - Use Troubleshooting when optional extras, protobuf unions, CSV tensor fields, file namespace paths,
local_cache, S3 credentials, or FastAPI imports fail.
Safe bundled helper
Run roundtrip_smoke.py in any environment where DocArray is installed to exercise safe local round-trips without external services:
Run these commands from this sub-skill root (the directory containing this SKILL.md):
python scripts/roundtrip_smoke.py --help
python scripts/roundtrip_smoke.py
python scripts/roundtrip_smoke.py --skip-protobuf --skip-dataframe --skip-file-store
The verified minimum scope is CPU with DocArray base plus proto, pandas, and web extras. Optional S3/AWS services and optional tensor frameworks are documented as boundaries, not verified defaults.
Установить serialization-storage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл serialization-storage?
Serialize, persist, stream, and route DocArray BaseDoc, DocList, DocVec, file store, S3, and FastAPI payload workflows.
Как установить скилл serialization-storage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл serialization-storage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic