create-collection
Installation
SKILL.md
PocketBase Collection Management
Use this skill whenever you need to modify the database schema (create/update/delete collections).
Why This Approach
PocketBase automatically generates migration files when collections are created/modified via the SDK. This ensures:
- Correct internal IDs
- Proper migration format
- Automatic rollback functions
- No manual SQL errors