本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)33k · #8762

git-pushing

できること

このスキルにより、AIは作業内容を1つの手順でリモートのGitブランチに保存できます。Gitのコマンドを一つずつ入力せずに、コミットとプッシュをしたい開発者向けです。

使う場面

  • ✓変更をコミットしてプッシュしてほしいとき、またはGitHubにこれを送ってほしいとき。
  • ✓機能の作業が終わり、リモートで共有したいとき。
  • ✓作業を保存してほしい、またはこれをアップロードしてほしいと伝えたとき。

スキルのリンク

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/git-pushing/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/git-pushing/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私の変更をコミットして、GitHubにプッシュしてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、用意されたスクリプトを実行します。このスクリプトはすべての変更をステージし、コンベンショナルコミットのメッセージを書いて、上流の追跡つきでプッシュします。代わりに独自のメッセージをスクリプトに渡すこともできます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Git Push Workflow

Stage all changes, create a conventional commit, and push to the remote branch.

When to Use

Automatically activate when the user:

  • Explicitly asks to push changes ("push this", "commit and push")
  • Mentions saving work to remote ("save to github", "push to remote")
  • Completes a feature and wants to share it
  • Says phrases like "let's push this up" or "commit these changes"

Workflow

ALWAYS use the script - do NOT use manual git commands:

bash skills/git-pushing/scripts/smart_commit.sh

With custom message:

bash skills/git-pushing/scripts/smart_commit.sh "feat: add feature"

Script handles: staging, conventional commit message, Claude footer, push with -u flag.

よくある質問

すべてのファイルをステージしますか?

はい。スクリプトはコミットの前に、すべての変更をステージします。

コミットメッセージは自分で書けますか?

はい。スクリプトに独自のメッセージを渡せます。

手動のGitコマンドではなくスクリプトを使うのはなぜですか?

このスキルは毎回スクリプトを使うよう指示しており、コミットとプッシュの手順が一貫するためです。

詳細

作者による元の説明

Stage, commit, and push git changes with conventional commit messages. Use when user wants to commit and push changes, mentions pushing to remote, or asks to save and push their work. Also activates when user says "push changes", "commit and push", "push this", "push to github", or similar git workflow requests.

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#8762
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル