sync_to_github
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-pushflow - 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 -mdirectly - Push failure is non-destructive — commit is preserved, manual
git pushis all that's needed
More from lingengyuan/my-skills
wechat-archiver
Archives WeChat Official Account articles to knowledge base with auto-generated structured notes. Use when users provide WeChat article URLs (mp.weixin.qq.com) or mention archiving/saving WeChat articles. Combines wechat2md scraper and note-creator for complete workflow.
21md2wechat
Converts Markdown to WeChat Official Account HTML using AI-themed layouts and optionally one-click publishes to the draft box. Use when formatting Markdown for WeChat or uploading drafts with WECHAT_APPID/WECHAT_SECRET set in an env file.
9note-creator
Orchestrates creation of structured Obsidian notes with markdown, canvas diagrams, and table bases. Use when users ask to create notes, save knowledge, or document concepts in their Obsidian vault. Delegates to specialized format skills.
9obsidian-markdown
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.
7json-canvas
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.
6obsidian-bases
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
6