
Pocketbase Best Practices
Comprehensive PocketBase guardrails covering schema design, access rules, auth, SDK, and server-side extending.
- CCM score
- 52 of 100
- skills.sh installs
- 956
- GitHub stars
- 14
- last updated
- Jul 14, 2026
Own this skill? Claim it
What it does
- Covers collection design, API rules, authentication, SDK usage, query performance, realtime, file handling, deployment, and server-side extending
- Includes 64 rules across 9 categories, each with incorrect and correct code examples for PocketBase v0.36+ and JS SDK v0.28
- Enforces impact-ranked guidance where security holes and broken data models rank Critical, with performance and correctness issues rated High
- Designed for AI agents building PocketBase backends that need guardrails on access control, auth flows, and query optimization
Install
$ npx -y skills add greendesertsnow/pocketbase-skills --skill pocketbase-best-practices -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
PocketBase Best Practices
PocketBase is a single-binary backend (SQLite + REST + realtime + auth) that is easy to start with and easy to misuse at scale. This skill gives AI agents the guardrails: 64 rules across 9 categories, each with an incorrect vs. correct code example, covering the mistakes agents actually make — insecure API rules, unindexed queries, broken auth flows, N+1 expands, leaked server-side handles.
Updated for PocketBase v0.40 and JS SDK v0.28 (August 2026). Works with v0.36+.
How rules are prioritized
Every rule carries an impact level: Critical = security holes or broken data models, High = performance and correctness problems, Medium/Low = operational polish. When rules conflict, higher impact wins.
What's covered
Details
- Repository
- github.com/greendesertsnow/pocketbase-skills
- Categories
- Backend & APIs, Databases
- First seen
- Jun 3, 2026
Similar to Pocketbase Best Practices
More Backend & APIs
supabase-best-practicesSkillpedrobarretocw/supabase-best-practices306 installsSecurity and performance rules for Supabase projects, including Clerk authentication integration and RLS policies.
supabase-postgres-best-practicesSkillsupabase/agent-skills496.8K installsPostgres best-practices guide covering query performance, connections, RLS, schema, locking, and advanced features.
nestjs-best-practicesSkillxirothedev/agent-skills300 installsNestJS guidance covering architecture, security, validation, Prisma, and auth, with 26 rules and Bun-specific patterns.
security-best-practicesSkillmindrally/skills997 installsChecklist-style security guidance covering input validation, authentication, secrets, and injection and XSS prevention for backend services.
backend-api-securityPluginwshobson/agents42.9K starsAPI security hardening, authentication implementation, authorization patterns, rate limiting, and input validation
postgresql-code-reviewSkillgithub/awesome-copilot13K installsPostgreSQL code review guide for JSONB, arrays, custom types, schema design, and Row Level Security.