skymap.contributors
Developmentskymap.contributors is an Agent Skill for development published in the sky-map-team/stardroid repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Fetches GitHub contributors for Sky Map and updates the app/src/main/res/values/notranslate-contributors.xml file. Trigger this when asked to "sync contributors", "update contributors", or "refresh credits".
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/sky-map-team/stardroid/blob/HEAD/stardroid-v1/.claude/skills/skymap.contributors/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/skymap-contributors, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Sky Map Contributors Sync
This skill automates the update of the Sky Map contributors list from GitHub.
Usage
- Check if
tools/no-checkin-github_patexists in the repo root. If it does, read the token from it (strip any leading1→prefix) and pass it asGITHUB_TOKEN.- This file must never be checked in — it is a local secret.
- If the file doesn't exist, check if
GITHUB_TOKENis already set in the environment. - Without a token the script still works but is limited to 60 API requests/hour, which may not be enough to fetch all contributor profiles. Warn the user if unauthenticated.
- Run the script:
GITHUB_TOKEN=<token> python3 tools/sync-contributors.py - After the script runs, verify the changes in
app/src/main/res/values/notranslate-contributors.xml.
What the script does
- Paginates through all commits on
sky-map-team/stardroidvia the GitHub API. - Records contributors in reverse-chronological order of their most recent commit (first appearance in the commit stream).
- Skips bot accounts (logins ending in
[bot]). - For each unique login, fetches the GitHub profile to obtain the user's real name; falls back to the login handle if no name is set.
- Deduplicates by normalizing display names to lowercase alphanumeric — so "John Smith" and "john smith" are treated as the same person.
Standards
- Output file:
app/src/main/res/values/notranslate-contributors.xml - Names are comma-separated, Android-XML-escaped.
- The XML must maintain the
notranslate-naming convention to avoid localization issues.