スキル一覧に戻る
bonny

git-commits

by bonny

git-commitsは、システム間の統合と連携を実現するスキルです。APIとデータの統合により、シームレスな情報フローと業務効率の向上をサポートします。

314🍴 75📅 2026年1月9日
GitHubで見るManusで実行

SKILL.md


name: git-commits description: Create well-structured git commits. ALWAYS use this skill when committing - even for simple single-file commits. Triggers: "commit", "stage", "add and commit", or after completing any code changes.

Git Commits

Always invoke this skill for every commit. This ensures consistent, well-structured commits.

Workflow

  1. Run git status and git diff to see changes
  2. Run git log --oneline -5 to see recent commit style
  3. Determine if changes should be one or multiple commits
  4. Stage and commit with clear message

When to Split vs Combine

Separate commits:

  • CSS vs PHP logic
  • Different features (even in same file)
  • Refactoring vs new functionality
  • Multiple bug fixes (one per fix)

Single commit:

  • Related changes for one feature
  • A handler + its CSS
  • Tests for the feature being added

Commit Message Format

<summary line - what and why, not how>

<optional body with more context>

Examples

Input: Single file change to update details

-  $title = __( 'Old title', 'simple-history' );
+  $title = __( 'New title', 'simple-history' );

Output:

Update 5.22.0 update details title

Input: Multiple related changes across files

# file1.php
+ public function new_feature() { ... }

# file2.php
+ add_filter( 'hook', [ $this, 'new_feature' ] );

Output:

Add new feature for X

Register hook and implement handler.

Multiple Repositories

When changes span core + premium:

  1. Commit core first, then premium
  2. Use related commit messages

スコア

総合スコア

65/100

リポジトリの品質指標に基づく評価

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

+5
最近の活動

3ヶ月以内に更新

+5
フォーク

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

+5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

レビュー

💬

レビュー機能は近日公開予定です