apple-notes-multi-env-setup
Installation
SKILL.md
Apple Notes Multi-Environment Setup
Overview
Apple Notes supports multiple accounts simultaneously: iCloud (default), Gmail/Yahoo/AOL via IMAP, Exchange, and the local "On My Mac" account. Each account has isolated folders and notes, making accounts the natural boundary for environment separation. Use this to separate personal vs work notes, production vs development data, or synced vs local-only content. The "On My Mac" account is especially useful for development and testing because it never syncs to iCloud, so experiments stay local.
Prerequisites
- A written environment map that names the intended account and folder by stable local configuration, not a broad account default.
- Separate test data for development and staging; iCloud folders alone are not an access-control boundary.
- An approval path for creating accounts or folders, especially in managed or shared environments.
Instructions
- Resolve the selected environment from an allowlist and fail if it is not explicitly configured.
- Verify the expected account and folder exist before a write; do not silently create missing production folders.
- Keep development local where possible, and require an explicit operator choice before a job touches a synchronized account.
- Log only the environment label and opaque configuration version, never account names, note titles, or bodies.