Agent skill · software engineering · davila7

PocketBase SDK

JavaScript SDK usage for PocketBase client applications. Use when calling PocketBase from frontend or Node.js, authenticating users, subscribing to realtime events, uploading files, or working with the PocketBase JS/TS SDK. Covers CRUD, auth flows, authStore, realtime SSE, file handling, batch operations, and query syntax.

Why this skill is useful

Provides specific CRUD operations and authentication patterns for the PocketBase SDK that the AI wouldn't reliably generate on its own.

What it needs

Requires pocketbase installed locally. About 5k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

PocketBase JavaScript SDK Installation & Setup CRUD Operations List records Get full list (auto-paginate) View single record Get first matching record Create record Update record Delete record Query Parameters Filter syntax Same as API rules filter syntax. Common patterns: Sort syntax Expand relations Fields (partial response) Authentication Email/password OAuth2 (all-in-one) OTP (one-time password) MFA (multi-factor authentication) MFA is triggered automatically when enabled. After primary auth returns a mfaId: Auth store Password reset Email verification Email change Realtime (SSE) Subscribe to record changes Connection management File Upload & Download Upload files Delete a file Get file URL Protected files For files in collections with view rules, include the auth token: Batch Operations Send multiple create/update/delete in one request (transactional): Error Handling Advanced Auto-cancellation By default, duplicate pending requests to the same endpoint are auto-cancelled. Disable per-request: Custom headers SSR / Server-side Sending as superuser

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/pb-sdk

View the source on GitHub

Browse the @skills marketplace