Build and debug RPG Maker MV/MZ cloud save plugins backed by PocketBase. Use when implementing sync-code auth, PocketBase JS SDK integration, StorageManager hooks, startup smart sync, Options menu integration, handling extended save metadata (screenshots, location, level, gold), and when troubleshooting missing local saves, title-screen Continue button issues, tainted canvas errors, or missing save thumbnails after cloud sync.
Follow these steps to implement or debug a PocketBase cloud-save plugin for RPG Maker MV/MZ.
Confirm engine and storage mode
Detect extended save metadata
2a. Configure PocketBase with extended fields (if extended metadata detected)
2b. Configure PocketBase without extended fields (if no extended metadata)
Initialize SDK once and disable auto-cancel
Handle extended save metadata (if present)
Implement sync-code auth
Startup smart sync
Hook StorageManager.save for auto-upload
Options menu integration
Validate title-screen behavior
rpg_managers.js audio path (AudioManager.createBuffer/checkWebAudioError), handle audio startup first. See ../rpgmaker-audio-ios-fix/SKILL.md.