pocketbase-foundations
2
总安装量
1
周安装量
#63313
全站排名
安装命令
npx skills add https://github.com/anirudh-777/pocketbase-skills --skill pocketbase-foundations
Agent 安装分布
kilo
1
amp
1
cline
1
pi
1
opencode
1
cursor
1
Skill 文档
PocketBase Foundations
Overview
Use this skill to establish a safe PocketBase baseline before schema, auth rules, or app integration work.
When to Use
- New PocketBase project setup
- Local/dev/prod environment planning
- Admin bootstrap and API endpoint sanity checks
- Pre-flight checks before handing off to modeling/auth/api skills
Do not use this skill for detailed schema design or auth rules. Hand off to domain skills.
Workflow
- Confirm runtime mode:
- Local development with ephemeral data
- Shared staging environment
- Production environment with persistent storage
- Establish required environment variables:
PB_URLPB_ADMIN_EMAILPB_ADMIN_PASSWORDPB_DATA_DIR(if self-hosted deployment structure is managed)
- Verify service reachability and version:
- Confirm API health and auth endpoint response
- Confirm expected PocketBase version and plugin compatibility
- Create admin and lock down access:
- Use strong credentials
- Restrict admin credentials to runtime secret stores
- Never embed admin credentials in client applications
- Baseline security posture:
- Ensure HTTPS for all non-local deployments
- Confirm CORS origins are intentionally configured
- Confirm backup directory and retention plan exist
- Handoff:
- If designing schema ->
pocketbase-data-modeling - If defining access controls ->
pocketbase-auth-and-access - If wiring client/server integration ->
pocketbase-api-and-sdk - If deployment hardening/monitoring ->
pocketbase-operations
References
Common Mistakes
- Using admin credentials in frontend code
- Skipping HTTPS and secure cookie validation in production
- Treating staging data as disposable when it is needed for migration rehearsal