Sync To Github

Automate git commit and push. Use when user says "sync to github", "commit and push", "push my changes", "save to git", "submit my work", or invokes /sync_to_github. Stages all changes, generates a commit message, commits, and pushes to remote. Use when this capability is needed.

tomevault-io f17b124 2 files · 1.9 KB Updated

File contents

sync_to_github

Run the bundled script to analyze changes, generate a commit message, commit, and push.

Usage

SKILL_DIR="/root/.claude/skills/sync_to_github"

# Commit and push (default)
python3 "$SKILL_DIR/tools/git_sync.py"

# Commit only, no push
python3 "$SKILL_DIR/tools/git_sync.py" --no-push

# Preview message without committing
python3 "$SKILL_DIR/tools/git_sync.py" --dry-run

Notes

  • Stages all changes via git add . — if user wants selective staging, stage files first, then run with --no-push flow
  • Commit message is generated from heuristics (file types, counts, statuses); if user wants a specific or richer message, generate it yourself and call git commit -m directly
  • Push failure is non-destructive — commit is preserved, manual git push is all that's needed

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/lingengyuan--my-skills--sync-to-github commit f17b124e50

Frequently asked questions

npx skillmds@latest add tomevault-io/sync-to-github