name: skymap.sponsors description: Fetches Buy Me a Coffee supporters and updates the app/src/main/res/values/notranslate-sponsors.xml file. Trigger this when asked to "sync sponsors", "update donors", or "refresh credits".
Sky Map Sponsor Sync
This skill automates the update of the Sky Map sponsor list.
Usage
- Check if
tools/no-checkin-bmac_patexists in the repo root. If it does, read the token from it (strip the1→prefix) and pass it asBMC_TOKEN.- This file must never be checked in — it is a local secret.
- If the file doesn't exist, check if
BMC_TOKENis already set in the environment, or ask the user for the token.
- Use the
bashtool to executeBMC_TOKEN=<token> python3 tools/sync-sponsors.py. - After the script runs, verify the changes in
app/src/main/res/values/notranslate-sponsors.xml.
Standards
- The output file must be
app/src/main/res/values/notranslate-sponsors.xml. - Names must be comma-separated.
- The XML must maintain the
notranslate-naming convention to avoid localization issues.