edgeone-makers-storage
БесплатноБез исполняемых скриптовНе проверенKV and Blob storage services on EdgeOne Makers. KV for edge key-value pairs, Blob for file/object storage in Cloud Functions. Covers SDK usage, setup, and…
от TencentEdgeOne★ 1 840 звёзд на GitHubОб этом скилле
EdgeOne Makers Storage
🗄️ There is NO managed database on this platform — no SQL, no MongoDB, no Prisma, no ORM. Do not reach for
sqlite,pg,mysql,mongodb, or an in-memory array (it resets on every cold start / redeploy). Blob IS your database. Any dynamic data a generated site needs to persist — guestbook messages, uploaded drawings, votes, leaderboards, per-user save state, form submissions — is modeled as Blob keys. Model your "tables" as key prefixes (messages/<id>.json,users/<uid>.json). See references/blob.md → "Blob as your backend".
⚠️ Local dev does NOT always require login.
edgeone makers devruns without authentication for pure-static previews. Login only becomes necessary through this chain: using Blob ⇒ the project must belinked ⇒ linking requires a logged-in account first. So if (and only if) dev/deploy must read/write Blob (or any credentialed backend), runedgeone login(browser) or pass-t <token>before linking/starting dev. If your site has no backend, skip login and just runedgeone makers dev. See also makers-env-adaption (Login authentication + Project linking).⛔ When the project uses Blob/KV, ALWAYS pass
-n <project-name>toedgeone makers dev. Bareedgeone makers devdrops into an interactive "Link existing / Create and link" picker that hangs in sandbox / non-interactive environments. With-n, the CLI auto-creates the project if the name doesn't exist yet — one command, no separate step needed.🔒 Every Blob store:
getStore({ name, consistency: "strong" })— never the string formgetStore("name"). The string form defaults to eventual consistency and causes "I just wrote but the next read returns stale/null" bugs. Full rule and rationale: references/blob.md → IRON RULE (top of file).
EdgeOne Makers provides two storage services. Choose based on your runtime and data type:
| Storage | Runtime | Data Type | SDK | Use Case |
|---|---|---|---|---|
| KV | Edge Functions only | Small key-value pairs (≤ 25 MB) | Global variable (no npm) | Counters, config, session tokens, simple CRUD |
| Blob | Cloud Functions (Makers Functions) | Files & objects (images, docs, uploads) | @edgeone/pages-blob (npm) |
User uploads, AI-generated content, file management |
Decision Tree
Need to persist anything (records, lists, counters, uploads, save state)?
├─ Edge Function (V8 runtime, no npm)?
│ → KV Storage (global variable) → read references/kv.md
└─ Cloud Function (Node.js, has npm)? ← default for any real backend
├─ Files / images / large objects?
│ → Blob Storage → read references/blob.md
└─ Structured data (records, lists, counters, per-user state)?
→ Blob with setJSON / key prefixes → read references/blob.md
Routing
| Task | Read |
|---|---|
| KV Storage (Edge Functions, global variable, put/get/delete/list) | references/kv.md |
| Blob Storage (Cloud Functions, npm SDK, file upload/download, pre-signed URLs) | references/blob.md |
Установить edgeone-makers-storage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл edgeone-makers-storage?
KV and Blob storage services on EdgeOne Makers. KV for edge key-value pairs, Blob for file/object storage in Cloud Functions. Covers SDK usage, setup, and troubleshooting.
Как установить скилл edgeone-makers-storage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл edgeone-makers-storage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic