Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

PocketBase best practices: schemas and access rules v1.0.0

Use this resource to design a secure PocketBase backend with schemas, access rules and authentication

New

  • 433 downloads
  • 250 likes
  • 153 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install pocketbase-backend-guardrails

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent applies 64 rules across nine categories, each with an incorrect and a correct example. They cover collection design, API rules, authentication, the SDK, queries, realtime, files, deployment and server-side extending. Updated for PocketBase v0.40 and JS SDK v0.28.

Mostly picked by

Updated November 2, 2026

Card for the “PocketBase best practices: schemas and access rules” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: rules and priority order
  • references/: topic guides (API rules, authentication, queries, realtime)
  • rules/auth-impersonation.md: rule on impersonation

Good fit for

  • You are building a PocketBase database and want to avoid overly open access rules
  • You are optimizing slow queries in a PocketBase backend

Not for

    Tags

    • pocketbase
    • backend
    • access rules
    • authentication
    • sqlite

    About

    You say

    “Check the access rules of my PocketBase collection and fix the ones that are too open.”

    Card for the “PocketBase best practices: schemas and access rules” skill

    Skill published by greendesertsnow under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design a secure PocketBase backend with schemas, access rules and authentication
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md6.5 KB
    • LICENSE1 KB
    • metadata.json1.5 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/api-rules-security.md17.4 KB
    • references/authentication.md22 KB
    • references/collection-design.md15.2 KB
    • references/file-handling.md15.4 KB
    • references/production-deployment.md31.9 KB
    • references/query-performance.md28.8 KB
    • references/realtime.md20.1 KB
    • references/sdk-usage.md29.5 KB
    • references/server-side-extending.md77 KB
    • rules/_sections.md1.9 KB
    • rules/_template.md0.9 KB
    • rules/auth-impersonation.md3.8 KB
    • rules/auth-mfa.md3.7 KB
    • rules/auth-oauth2.md5 KB
    • rules/auth-otp.md3.6 KB
    • rules/auth-password.md2.9 KB
    • rules/auth-token-management.md3.6 KB
    • rules/coll-auth-vs-base.md2.2 KB
    • rules/coll-field-types.md2.7 KB
    • rules/coll-geopoint.md3.4 KB
    • rules/coll-indexes.md2.4 KB
    • rules/coll-relations.md3 KB
    • rules/coll-view-collections.md2.1 KB
    • rules/deploy-backup.md4.3 KB
    • rules/deploy-configuration.md5 KB
    • rules/deploy-rate-limiting.md5.2 KB
    • rules/deploy-reverse-proxy.md5.8 KB
    • rules/deploy-scaling.md3.9 KB
    • rules/deploy-sqlite-considerations.md6.5 KB
    • rules/deploy-superuser-ips.md1.9 KB
    • rules/ext-compose-request-flow.md9.9 KB
    • rules/ext-cron-jobs.md4.5 KB
    • rules/ext-filesystem.md4.3 KB
    • rules/ext-filter-binding-server.md3.2 KB
    • rules/ext-go-custom-sqlite.md4.6 KB
    • rules/ext-go-migrations.md4.4 KB
    • rules/ext-go-setup.md3.7 KB
    • rules/ext-hooks-chain.md3.4 KB
    • rules/ext-hooks-record-vs-request.md3.1 KB
    • rules/ext-js-migrations.md4.8 KB
    • rules/ext-js-setup.md2.6 KB
    • rules/ext-jsvm-modules.md4.1 KB
    • rules/ext-jsvm-scope.md2.8 KB
    • rules/ext-mailer.md5.2 KB
    • rules/ext-routing-custom.md3.9 KB
    • rules/ext-settings.md4.4 KB
    • rules/ext-testing.md7.3 KB
    • rules/ext-transactions.md3.3 KB
    • rules/file-serving.md5.9 KB
    • rules/file-upload.md4.4 KB
    • rules/file-validation.md5.2 KB
    • rules/query-back-relations.md4.8 KB
    • rules/query-batch-operations.md5.1 KB
    • rules/query-expand.md4 KB
    • rules/query-field-selection.md3.6 KB
    • rules/query-first-item.md4.3 KB
    • rules/query-n-plus-one.md4.1 KB
    • rules/query-pagination.md3.5 KB
    • rules/realtime-auth.md4.7 KB
    • rules/realtime-events.md4.7 KB
    • rules/realtime-reconnection.md5.5 KB
    • rules/realtime-subscribe.md5.4 KB
    • rules/rules-basics.md2.7 KB
    • rules/rules-cross-collection.md2.7 KB
    • rules/rules-filter-syntax.md3.3 KB
    • rules/rules-locked-vs-open.md3.2 KB
    • rules/rules-request-context.md3.2 KB
    • rules/rules-strftime.md2.8 KB
    • rules/sdk-auth-store.md3.9 KB
    • rules/sdk-auto-cancellation.md4.4 KB
    • rules/sdk-error-handling.md4.8 KB
    • rules/sdk-field-modifiers.md3.9 KB
    • rules/sdk-filter-binding.md4.6 KB
    • rules/sdk-initialization.md4.1 KB
    • rules/sdk-send-hooks.md4.4 KB
    • SKILL.md10.9 KB

    Origin and licence

    Listed unmodified

    Author
    greendesertsnow
    Source
    github.com/greendesertsnow/pocketbase-skills/tree/6565fa03a8356bfc3127b1e7d086787a19e71813/skills/pocketbase-best-practices
    Licence
    MIT

    Notice

    « pocketbase-best-practices » (greendesertsnow, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.