Pocketbase Skills for Claude Code
npx skills add https://github.com/greendesertsnow/pocketbase-skills --skill pocketbase-best-practicesقم بتثبيت هذه المهارة باستخدام واجهة سطر الأوامر (CLI) وابدأ في استخدام سير عمل SKILL.md في مساحة عملك.
Agent Skills for PocketBase development. Works with Claude Code, Cursor, GitHub Copilot, Gemini CLI, and other Agent Skills-compatible tools.
npx skills add greendesertsnow/pocketbase-skills
Claude Code:
claude /add-skill greendesertsnow/pocketbase-skills
Manual: Clone and add to your project's .claude/settings.json:
{
"includedFiles": ["path/to/skills/pocketbase-best-practices/AGENTS.md"]
}
PocketBase development best practices and performance optimization guidelines.
Contains rules across 8 categories, prioritized by impact.
Use when:
Categories covered:
Skills are automatically available once installed. The agent will reference best practices when relevant PocketBase tasks are detected.
Design a PocketBase schema for a multi-tenant SaaS app with organizations, members, and projects
I have a users collection and a posts collection. Set up the relations with proper cascade options
Create a view collection that shows post counts per author with their latest post date
Write API rules for a private notes app where users can only see their own notes
Review my collection rules for security issues - I want admins to manage content but users to only edit their own
Set up role-based access control with admin, editor, and viewer roles
Implement a complete login flow with email/password and Google OAuth2
Add multi-factor authentication with OTP to my app's login
Set up SSR authentication with SvelteKit using secure cookie handling
I'm getting N+1 query issues loading posts with author names. Fix it
Implement infinite scroll with cursor-based pagination for a feed
Create a batch operation to transfer funds between two accounts atomically
Build a live chat component in React with PocketBase realtime subscriptions
Add reconnection handling to my realtime subscriptions with missed update sync
Set up file uploads with client-side validation and thumbnail generation
Configure Nginx as a reverse proxy for PocketBase with HTTPS and rate limiting
Optimize my PocketBase SQLite database for production with proper indexes
Each skill contains:
SKILL.md - Instructions for the agentAGENTS.md - Compiled rules document (generated)rules/ - Individual rule filesmetadata.json - Version and metadatarules/_template.mdnpm run build to regenerate AGENTS.mdMIT