بنقرة واحدة
git-sync
Scan local git repos for dirty trees, unpushed/unpulled commits, and stashes — keep machines in sync
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scan local git repos for dirty trees, unpushed/unpulled commits, and stashes — keep machines in sync
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scrape and summarize Reddit subreddits via the browser tool — extract posts, comments, and trends using old.reddit.com
Control a headless Chromium browser — navigate pages, read content via accessibility snapshots, interact with elements, fill forms, take screenshots
Send and receive messages via Telegram — notifications, reports, and two-way messaging with a Telegram bot
Read and send email via Gmail — fetch inbox, summarize messages, send reports and notifications via IMAP/SMTP
| name | git-sync |
| description | Scan local git repos for dirty trees, unpushed/unpulled commits, and stashes — keep machines in sync |
Check git repositories for sync issues: uncommitted changes, unpushed commits, commits behind remote, and stashes.
Run the check script using the git-sync tool path:
git-sync [path ...] [--no-fetch]
.git/) are checked as-is. Parent directories are scanned for subdirectories containing .git/. Default: ~/code (scans all repos).git fetch (faster, but won't detect unpulled commits).The skill config provides the repo whitelist:
git-sync:
repos:
- ~/code/jstorrent
- ~/code/yepanywhere
- ~/code/dotfiles
Build the CLI args from config: pass each repos entry as a positional arg.
git-sync ~/code/jstorrent ~/code/yepanywhere ~/code/dotfiles
The script prints each repo that needs attention with its issues, then a summary line:
yepanywhere
dirty: 2 modified 1 untracked
unpushed: 3 commit(s) — latest: abc1234 Fix thing
dotfiles
behind remote: 2 commit(s)
---
2 repo(s) need attention, 8 clean (10 total)
Exit code 0 = all clean, 1 = something needs attention.
When in interactive mode and repos need attention:
git diff --stat for the repo. Ask if user wants to commit, stash, or leave it.Never force-push or reset without explicit user request.