Back to skills
extension
Category: Development & EngineeringNo API key required

commit-docs

Analyze uncommitted changes and create and push commits at an appropriate granularity. If there are multiple independent changes, split them logically and ensure that each commit works independently. Write commit messages in Japanese, conveying 'why' it was done rather than 'what' was done.

personAuthor: jakexiaohubgithub

Git Commit & Push

未コミットの変更をコミットし、リモートにプッシュする。

手順

  1. git status --porcelaingit diff --stat で状況把握
  2. 関連する変更をグループ化し、適切な粒度でコミット
  3. git push でリモートに反映(必須)

コミットメッセージ

  • 日本語で記述
  • 最初の行は50文字以内
  • 動詞で開始(追加、修正、更新など)

注意

  • 機密情報や一時ファイルが含まれていないか確認
  • 複数の独立した変更は複数のコミットに分割