aiagent-material-sync
Installation
SKILL.md
AI Agent Material Sync
Use this skill for safe curriculum updates.
Workflow
- Check
git status. - Warn about local changes and untracked files before sync.
- Check
git remote -vand choose a valid remote. - If
upstreamexists, prefergit fetch upstreamandgit merge upstream/main. - If
upstreamdoes not exist, fall back to the tracked default remote, usuallyorigin/main. - If neither remote is usable, stop and tell the user which remote name is missing.
- Explain conflicts and recovery without using force push or destructive cleanup.
Example Failure Message
upstreamis not configured in this clone. Useorigininstead or addupstreambefore syncing.
References
README.mddocs/codex-safety.md