← スキル一覧に戻る

commit-message
by chrisstoy
Knock-off Facebook/Twitter clone for learning
⭐ 0🍴 0📅 2025年10月30日
SKILL.md
name: commit-message description: Generate a git commit message for staged changes
Git Commit Message Generator
Generate a well-formatted git commit message for the currently staged changes.
Instructions
-
Run
git diff --cachedto see all staged changes -
Run
git statusto see the list of staged files -
Analyze the changes and determine:
- The primary purpose of the changes (feature, fix, refactor, docs, etc.)
- The key modifications made
- Which files were affected
-
Generate a commit message with the following format:
JIRA-ID: Short overview of the change - Primary change 1 - Primary change 2 - Primary change 3 -
Guidelines:
- First line: JIRA ticket ID (e.g., "MOC-61") followed by a colon and short summary (50-72 chars total)
- Leave a blank line after the first line
- Bullet list of primary changes (focus on "what" changed, not implementation details)
- Keep bullets concise and focused on user-facing or architectural changes
- Group related changes together
- Use present tense ("update", "add", "fix", not "updated", "added", "fixed")
-
If you cannot determine the JIRA ticket ID from the branch name or recent commits, use "MOC-XXX" as a placeholder and ask the user to provide the ticket ID.
-
Present the commit message to the user in a code block and ask if they want to:
- Use it as-is
- Make modifications
- Create the commit automatically
Example Output
MOC-61: Upgrade ESLint to v9
- Migrate from .eslintrc.json to flat config (eslint.config.js)
- Update ESLint and plugins to v9-compatible versions
- Remove deprecated .eslintignore file
- Update nx.json to reference new config format
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です