بنقرة واحدة
git-sync
Sync all git repos - my-life top repo and spaces/ projects
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Sync all git repos - my-life top repo and spaces/ projects
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
End-of-session reflection. Extracts memories, suggests updates to about-taylor.md and CLAUDE.md. Run before ending a long session or when context is getting full. Triggers on "debrief", "extract memories", "session summary".
Morning routine check-in. Use at start of day to review yesterday, set up today's journal, and check learning reviews due. Triggers on "good morning", "morning", "start my day", "what's on for today".
Silently refresh AI context by reading project configuration and guidelines. Use when starting a new conversation, after context loss, or before major tasks.
Fetch and summarize latest articles from RSS feeds. Creates notes with article summaries as bullet points. Use to catch up on blogs without reading everything. Triggers on "rss catchup", "blog catchup", "check feeds", "summarize articles".
Fetch and summarize latest videos from priority YouTube channels. Creates notes with transcripts summarized as bullet points. Use to catch up on subscriptions without watching everything. Triggers on "youtube catchup", "video catchup", "check youtube", "summarize videos".
Weekly review and planning session. Use at end of week or weekend to review progress, plan next week, and set priorities. Triggers on "weekly review", "plan my week", "what did I do this week", "Sunday planning".
| name | git-sync |
| description | Sync all git repos - my-life top repo and spaces/ projects |
| model | claude-haiku-4-5-20251001 |
| allowed-tools | Read, Glob, Bash |
Synchronize all git repositories: the top-level my-life repo and the spaces/ projects.
/git-sync # Check status of all repos and branches
/git-sync --pull # Pull updates for all branches
/git-sync --push # Push local commits for all branches
/git-sync --clone # Clone missing repos
This skill uses a Python script for reliable validation:
python .claude/skills/git-sync/scripts/sync.py --check # Status report
python .claude/skills/git-sync/scripts/sync.py --pull # Pull behind branches
python .claude/skills/git-sync/scripts/sync.py --push # Push ahead branches
python .claude/skills/git-sync/scripts/sync.py --clone # Clone missing repos
python .claude/skills/git-sync/scripts/sync.py --json # JSON output
python .claude/skills/git-sync/scripts/sync.py --suggest-additions # YAML for untracked repos
Run the script from the my-life repo root directory.
code: path exists in spaces/remote: in index--suggest-additions============================================================
GIT SYNC REPORT
============================================================
## Top-Level Repo (my-life)
my-life (1 branch)
✓ main - Up to date
## Issues
missing-repo
Status: missing
Directory does not exist
Remote: https://github.com/user/repo.git
## Repositories
coordinatr (2 branches)
✓ main - Up to date
↑ feature/001 - 3 commits to push
yourbench (1 branch)
! main - 2 uncommitted files
## Not in Index
? django-tutorial
Path: spaces/django-tutorial
Remote: https://github.com/user/django-tutorial.git
------------------------------------------------------------
SUMMARY
------------------------------------------------------------
Top-level repo: 1 (main: up to date)
Indexed repos: 15 (14 ok, 1 missing)
Remote-only: 6
Not in index: 2
Branches ahead: 1
Branches behind: 0
Branches dirty: 1
Branches diverged:0
Local-only: 0
| Symbol | Meaning |
|---|---|
| ✓ | Up to date |
| ↓ | Behind remote (can pull) |
| ↑ | Ahead of remote (can push) |
| ↕ | Diverged (manual merge needed) |
| + | Local only (no remote tracking) |
| ? | Not in index |
| ! | Dirty (uncommitted changes) |
| ✗ | Error (check manually) |
Use --suggest-additions to get YAML:
python .claude/skills/git-sync/scripts/sync.py --suggest-additions
Output:
# Add to CLAUDE.md Projects Index:
- name: django-tutorial
code: spaces/django-tutorial/
remote: https://github.com/user/django-tutorial.git
branch: main
status: active # or: on-hold, archived, experiment
| Error | Resolution |
|---|---|
| Clone fails | Check network, SSH keys, permissions |
| Remote mismatch | Update CLAUDE.md or fix remote |
| Diverged branches | Manual merge/rebase required |
| Missing remote | Repo may be local-only, skip sync |