Aiagent material sync

From minicoohei/ai-agent-camp · View interactive version

Aiagent material sync is an AI agent skill from the GitHub repository minicoohei/ai-agent-camp. ai-agent-campの教材をupstreamから安全に同期するスキル。 「教材を最新にしたい」「upstreamから更新」「コースを同期」「git pullしたい」「教材アップデート」等のリクエストで発動。

How to use this skill

Skill file

AI Agent Material Sync

Use this skill for safe curriculum updates.

Workflow

  1. Check git status.
  2. Warn about local changes and untracked files before sync.
  3. Check git remote -v and choose a valid remote.
  4. If upstream exists, prefer git fetch upstream and git merge upstream/main.
  5. If upstream does not exist, fall back to the tracked default remote, usually origin/main.
  6. If neither remote is usable, stop and tell the user which remote name is missing.
  7. Explain conflicts and recovery without using force push or destructive cleanup.

Example Failure Message

References

Safety

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.