Back to list
hrntknr

git-sync

by hrntknr

dotfiles

1🍴 0📅 Jan 23, 2026

SKILL.md


name: git-sync description: Stage all changes, generate a short commit message, commit, and push. Use when asked to sync changes or run git add/commit/push with an auto-generated concise commit message.

Git Sync

Overview

Sync local changes by staging everything, generating a short commit message from the diff, committing, and pushing.

Workflow

  1. Inspect the repo.
    • Run git status --short.
    • Skim git diff --stat and git diff to understand the main change.
  2. If there are no changes, report that the working tree is clean and stop.
  3. Generate a concise commit message.
    • Keep it short (roughly <= 50 chars), imperative, no trailing period.
    • Focus on the primary change; add a brief scope only if obvious.
  4. Execute the sync.
    • git add .
    • git commit -m "<message>"
    • git push
  5. If push fails due to missing upstream, use git push -u origin <branch> after confirming the branch name.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon