pocketbase-operations

📁 anirudh-777/pocketbase-skills 📅 Today
2
总安装量
2
周安装量
#74690
全站排名
安装命令
npx skills add https://github.com/anirudh-777/pocketbase-skills --skill pocketbase-operations

Agent 安装分布

opencode 2
kilo 2
gemini-cli 2
antigravity 2
claude-code 2
github-copilot 2

Skill 文档

PocketBase Operations

Overview

Use this skill for operating PocketBase reliably in staging and production.

When to Use

  • Backup and restore workflows
  • Incident triage and degraded performance
  • Log inspection and root-cause analysis
  • Security hardening and operational readiness checks

Workflow

  1. Run health checks:
  • API reachability
  • auth path behavior
  • storage path and disk pressure checks
  1. Backup posture:
  • Verify backup schedule and retention
  • Verify backups are readable and restorable
  1. Restore drill:
  • Restore latest backup in staging
  • Run smoke tests for critical auth and data paths
  1. Incident triage:
  • Capture timeline, affected endpoints, and error rates
  • Classify issue: auth, query/performance, storage, network
  • Apply safe rollback or mitigation
  1. Security hardening:
  • Rotate admin/service credentials regularly
  • Confirm HTTPS and strict network boundaries
  • Validate admin UI exposure policy
  1. Handoff:
  • Schema/query regressions -> pocketbase-data-modeling
  • Rule/auth regression -> pocketbase-auth-and-access
  • Client integration faults -> pocketbase-api-and-sdk

Scripts

  • scripts/pb_healthcheck.sh
  • scripts/pb_request.sh

References

Common Mistakes

  • Assuming backup success without restore verification
  • Investigating incidents without preserving timeline evidence
  • Delaying secret rotation after admin credential exposure