Assists with building backends using PocketBase, a single-binary backend with embedded SQLite, real-time subscriptions, file storage, and authentication. Use when creating MVPs, prototyping APIs, configuring collections, or setting up auth flows. Trigger words: pocketbase, backend, sqlite, real-time, single binary, collections, pb.
PocketBase is an open-source backend packaged as a single binary, providing an embedded SQLite database, real-time subscriptions, file storage, and built-in authentication. It auto-generates REST APIs for collections and is ideal for shipping full-stack applications with minimal infrastructure complexity.
pb.collection("name").getList() for queries, .subscribe() for real-time updates, and expand parameter for fetching related data in a single request.listRule, viewRule, createRule, updateRule, deleteRule) using filter syntax like @request.auth.id = user.id for row-level security.onBeforeCreateRecord, onAfterUpdateRecord) for business logic, custom routes with routerAdd(), and cron jobs with cronAdd()../pocketbase serve, mount pb_data/ as a Docker volume, and use Caddy or Nginx for HTTPS termination.pb_data/ directory or use the built-in backup API before running migrations.User request: "Set up a PocketBase backend with user auth and a posts collection"
Actions:
Output: A fully functional backend with auth, permissions, and auto-generated REST API.
User request: "Enable live updates for a chat application using PocketBase"
Actions:
pb.collection("messages").subscribe("*", callback)Output: A real-time chat backend with live message delivery via Server-Sent Events.
null), which breaks client access.expand parameter instead of multiple API calls for related data.onBeforeCreateRecord) for business logic beyond schema validation.pb_data/ before migrations since SQLite migrations are irreversible.npx skills add TerminalSkills/pocketbase下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer