SKILL

pb-api-rules

API rules and filter expressions for PocketBase access control. Use when setting permissions, writing filter expressions, configuring who can access what, or debugging 403/404 responses. Covers all 5 rule types, filter syntax, operators, request/collection macros, and field modifiers.

Target: Software development & testing. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • PocketBase API Rules & Filter Expressions
  • Rule Types
  • Superuser Bypass
  • Filter Syntax
  • Operators
  • Logical Operators
  • Values
  • Request Macros (@request.)

Each collection has 5 rule types. Each rule is a filter expression that must evaluate to true for the request to proceed. | Rule | Controls | Locked = | Empty string = | |------|----------|----------|----------------| | List | GET /api/collections/{name}/records | superusers only | everyone can list | | View | GET /api/collections/{name}/records/{id} | superusers only | everyone can view | | Create | POST /api/collections/{name}/records | superusers only | everyone can create | | Update | PATCH /api/collections/{name}/records/{id} | superusers only | everyone can update | | Delete | DELETE /api/collections/{name}/records/{id} | superusers only | everyone can delete | Critical: null/locked means only superusers can perform the action (regular users and guests are denied). Empty string "" means EVERYONE including guests. Superusers always bypass API rules entirely — see below. Superusers (formerly admins) always bypass API rules. Rules only apply to regular auth records and guests. | Operator | Meaning | Example | |----------|---------|---------| | = | Equal | status = "active" | | != | Not equal | status != "draft" | | > | Greater than | count > 5 | | >= | Greater or equal | count >

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/pocketbase/pb-api-rules/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:39.570Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.