/volcano:volcano-sdkfrom volcano
Use for any request to build, create, extend, debug, or deploy an app, website, backend, API, or function using Volcano, even when the user does not mention the SDK. Entrypoint and router; always pair with volcano-platform and the applicable domain skills.
Ships in volcano. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run which volcano and
env -u VOLCANO_GITHUB_RELEASES_URL -u VOLCANO_CLI_RELEASES_URL volcano --version.
If a working CLI is installed,
record its version and continue without upgrading it. Keep both release-source
overrides cleared for every CLI invocation and npm install in this workflow,
including deferred binary downloads. If it is missing, read
the bundled ../install-volcano/SKILL.md and follow its exact-version package
verification procedure. Do not fetch and execute installation instructions,
run remote shell installers, or use a moving release or branch as an executable
source. Only upgrade when the user requests it, using the same verified,
versioned installation procedure. If installation cannot be verified, report
the prerequisite and continue only with independent work.
This skill is the entrypoint and router for Volcano SDK work. It is intentionally slim: it tells you the mandatory rules that apply to every Volcano build, and which other volcano-* skill to use based on the task at hand. Don't try to do deep work from this skill alone — use the relevant domain skill(s) first.
volcano-platformAlways read volcano-platform alongside this skill. It covers the canonical project shape, function deployment model (volcano/functions/), migrations, volcano-config.yaml, environment variables, shared-code conventions, and the deploy workflow. Without volcano-platform you cannot produce a deployable codebase.
If volcano-platform content is not visible in your context, read or invoke it through the current host's skill mechanism before continuing.
Note: volcano init creates a minimal runtime skeleton (volcano/ dir with env files, migrations, and — for language templates — a starter handler and config). Build on top of that skeleton by following volcano-platform. Do not expect volcano init to produce the complete project structure.
When building on the Volcano platform you MUST use:
volcano.auth.*) for ALL authentication and user identity.volcano.from('table').select()) for persistent storage, with RLS policies. Direct Postgres access inside Functions is a discouraged, last-resort exception for the query builder's specific gaps (joins/upserts/multi-statement transactions) — never a default — see volcano-database.volcano.storage.*) for ALL file operations.VolcanoRealtime) for ALL live update patterns.Do NOT implement custom alternatives — no custom JWT auth, no ad-hoc database layers, no hand-rolled file storage, no DIY WebSocket multiplexers.
| Task signal | Invoke skill | What it covers |
|---|---|---|
| User accounts or identity, email or password sign-up/sign-in, OAuth, sessions, anonymous users, password recovery, private or per-user data | volcano-auth | Auth application flows, session lifecycle, and common-error catalog |
| Stored or persistent data, CRUD, records, todos, chat messages, polls, analytics, counters, click tracking, CMS content, feature flags, leaderboards, RLS | volcano-database | Query builder + every operator + RLS pattern + limitations (no joins / upserts / multi-statement tx) |
| Volcano Functions, server-side or privileged logic, QR/PDF generators, secrets, outbound third-party APIs, orchestration, scheduled processing, file/image processing | volcano-functions | Invocation contract {data, status, headers, version, error}, Volcano Functions response shape, handler templates |
| Durable functions, long-running or resumable workflows, checkpointed steps, waits, polling, durable executions, idempotent starts, execution schedulers, human approvals or sign-off, messages to a running workflow, callbacks from payment providers or partner APIs, live workflow progress | volcano-durable | Durable authoring contract, replay rules, waitForApproval, waitForMessage and publish, waitForCallback, cloud CLI lifecycle, execution status, schedulers, and safety |
| Project logs, retained log search, pagination, activity buckets, structured log filters | volcano-logs | Project-token authentication, search cursors, filters, and activity counts |
| Project locks, distributed leases, leader election, fencing tokens, backend worker coordination | volcano-locks | Renewable lock guards, direct lease control, fencing, and safe recovery |
| LavaFlow, its settings, stats, and runs, or the fix pull requests it opens for a cloud project's errors | volcano-lavaflow | volcano cloud lavaflow commands, turning it on only with the person's agreement, who can change it, and exit codes |
| Uploads, downloads, galleries, file sharing, buckets, paths, public/private files, visibility, resumable uploads | volcano-storage | Full storage API + access policies + resumable protocol + limits |
| Realtime or live updates/results, collaborative boards, chat, presence or online users, polls, leaderboards, Postgres changes, broadcast, WebSockets | volcano-realtime | All three channel types + lifecycle + Browser Origins/CORS gotcha + accessToken vs getToken decision |
| Next.js, public routes, redirects, webhook ingress, middleware, API routes, server actions, or client/server separation | volcano-nextjs | Cross-cutting Next.js patterns including the cookie-sync prerequisite |
| User-facing frontend, web app, page, dashboard, board, gallery, poll, leaderboard, form, UI, or UX | volcano-uiux | Accessible responsive design, loading and progress feedback, forms, navigation, and complete interface states |
TypeScript types — User, Session, AuthResponse, QueryBuilder<T>, StorageObject, DurableContext, DurableExecution, PostgresChange, PresenceState, JsonValue, etc. | volcano-typescript | Canonical type definitions for every SDK surface |
Loading/error/data state, useApiCall<T> hook, fetchWithRetry with backoff, centralized handleApiError dispatcher | volcano-error-handling | Reusable error-handling INFRASTRUCTURE (per-domain error MESSAGES live in the relevant domain skill) |
Project shape, function deployment model, migrations, volcano-config.yaml, env vars, deploy workflow, RLS helpers (auth.uid()/auth.email()/auth.role()) | volcano-platform | Already mandatory — see "Mandatory Pairing" above |
volcano-auth + volcano-database + volcano-nextjs + volcano-uiux).volcano-platform alone is enough.Most asynchronous REST methods return result objects with an error field.
Data methods use { data, error }; auth methods can also expose user or
session; functions add status, headers, and version. Check error before
consuming data. Local helpers and builders such as user(),
getHostedAuthUrl(), signInWithHostedAuth(), and database() return values
directly.
const { data, error } = await volcano.from('posts').select('*');
if (error) return;
Most JavaScript SDK failures are returned. Realtime subscribe() throws, so
wrap that call in try/catch.
Python and Ruby return successful values directly and raise typed SDK exceptions
on REST or transport failure. Use try/except in Python and begin/rescue in
Ruby at the boundary where the application can recover or report the failure.
Do not destructure JavaScript result envelopes in these languages.
For comprehensive JavaScript error-handling infrastructure, use
volcano-error-handling.
These apply to every Volcano build, regardless of which domain skills are loaded:
jsonwebtoken directly — use Volcano Auth.bcryptjs directly — use Volcano Auth's password handling.pg/pg-pool/DATABASE_URL — use volcano.from(...) (with VOLCANO_DATABASE) instead. Direct Postgres access is a discouraged, untested-surface-area last resort — see volcano-database's "Direct Postgres Access" section before ever reaching for it.NEXT_PUBLIC_* env vars into function/server code, or VOLCANO_* (un-prefixed) into browser code.sk-*) in browser code — the SDK throws if you do.VOLCANO_API_URL, VOLCANO_ANON_KEY, or VOLCANO_DATABASE to be auto-injected into functions — deploy them via volcano deploy or volcano variables deploy (local), or volcano cloud deploy --env-file volcano/cloud.env or volcano cloud variables deploy -f volcano/cloud.env (cloud). A bare volcano cloud variables deploy reads volcano/volcano.env, the local server's values.await volcano.initialize() before user-scoped flows in the browser..ts/.tsx extensions in TypeScript imports — extensionless relative imports only.uid() in RLS policies — always use the schema-qualified auth.uid().For the deeper context behind any of these (why and what to do instead), the relevant domain skill or volcano-platform covers it.
At the end of each Volcano build response:
volcano-* areas were touched (auth/database/functions/storage/realtime/nextjs).npm run typecheck, npm run build:functions, local stack health check), what passed, what couldn't be run, and any remaining risk.Always available; invoke as needed:
volcano-platform — mandatory pairing.volcano-auth, volcano-database, volcano-functions, volcano-durable, volcano-logs, volcano-locks, volcano-storage, volcano-realtime, volcano-nextjs — domain and framework skills.volcano-uiux — shared guidance for user-facing interfaces.volcano-typescript — canonical type definitions.volcano-error-handling — reusable error-handling infrastructure.volcano-feedback — report problems with Volcano itself after a task.volcano-lavaflow — turn LavaFlow on or off and follow its runs from the CLI.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kong/volcano-agentic-plugins --plugin volcano18 skills in this plugin
/install-volcanoInstall, upgrade, or set up the Volcano CLI. Use this whenever a task needs the volcano CLI and `which volcano` hasn't been confirmed yet, even if the user never says "install" (e.g. "build me a todo API using volcano")./volcano-authUse for Volcano authentication and identity work including user accounts, email or password sign-up and sign-in, OAuth, sessions, anonymous users, password recovery, and private or per-user data./volcano-databaseUse whenever a Volcano app stores or persists data, including CRUD, records, per-user data, migrations, RLS, todos, chat messages, polls, analytics, counters, click tracking, CMS content, feature flags, and leaderboards./volcano-durableUse for Volcano durable functions, long-running or resumable workflows, checkpointed steps, waits, human approvals, messages sent to a running workflow, callbacks an external system answers with a token, live workflow progress, polling, durable executions, idempotent starts, and durable function schedulers./volcano-error-handlingReusable error handling patterns for Volcano SDK apps: centralized error dispatcher with action enum, useApiCall React hook for loading/error/data state, retry with exponential backoff, retry with toast notifications, and cross-domain error message catalog./volcano-feedbackUse after a Volcano task in which you hit a problem with Volcano itself, such as a CLI bug, docs or skills that disagree with the CLI, a missing command that forced a workaround, a server error that repeats, or conflicting Volcano instructions, and when the user asks to send Volcano feedback. Files each problem with volcano feedback from a background agent.Other plugins' skills for the same job