← スキル一覧に戻る

commit
by jorgeavaldez
⭐ 0🍴 1📅 2026年1月23日
SKILL.md
name: commit description: Reviews staged git changes and drafts a concise commit message. Use when the user wants to commit, needs a commit message, or asks to review staged changes for committing.
Commit Skill
Draft and commit staged changes using a task subagent (isolated context).
Step 1: Check for Staged Files
git diff --cached --name-only
If NO staged files: STOP immediately. Tell the user:
"Nothing staged. Run
git add <files>first."
Do not proceed.
Step 2: Delegate Everything to Task Subagent
Use the task tool to review, draft, and commit:
{
"description": "Review staged changes, draft a commit message, and commit",
"prompt": "1. Run `git diff --cached` to see staged changes.\n2. Draft a 1-line commit message: short phrase, brevity over grammar, explicitly describes changes, NO prefixes (feat:, fix:, etc.), NO verbose descriptions. Examples: 'task tool for parallel subagents', 'fix token expiry edge case', 'refactor auth middleware'.\n3. Run `git commit -m \"<your message>\"`\n4. Return the commit hash and message."
}
Report the commit hash and message returned by the task.
Rules
- NEVER run
git add - NEVER run
git push - NEVER create branches
スコア
総合スコア
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
レビュー
💬
レビュー機能は近日公開予定です