create-commit
できること
このスキルは、完成した作業を、きれいで小さなコミットとしてGitに保存するようAIを助けます。意図したファイルだけを含む、慎重なコミットがほしい開発者向けです。
使う場面
- ✓完成した作業をコミットするようAIに頼むとき。
- ✓作業フォルダに多くの変更があり、その一部だけをコミットしたいとき。
- ✓Conventional Commitsのスタイルに従ったコミットメッセージがほしいとき。
スキルのリンク
https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-commit/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“今日完成させた章だけを、わかりやすいメッセージでコミットしてください。プッシュはしないでください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは変更と最近のメッセージを確認し、最も妥当な最小のファイルのセットを選び、関連するチェックを実行してコミットを作ります。依頼されない限り、プッシュ、コミットの修正、ブランチの変更は行いません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Create Commit
Create small, reviewable commits that follow this repository's contribution rules. Do not push, amend, rebase, reset, or change branches unless the user explicitly asks.
Workflow
Inspect
git status --short, the staged and unstaged diffs, and recent commit messages.Determine the smallest coherent commit. Preserve unrelated user changes; never use
git add -Aorgit add ..If the intended files or scope are unclear, ask the user before staging or committing.
Stage only the chosen paths with
git add <path>....Select a Conventional Commit message. Prefer a scoped type when useful:
docs(scope): describe documentation change feat(scope): describe user-facing addition fix(scope): describe corrected behavior test(scope): describe test change chore(scope): describe maintenance work ci: describe workflow changeUse a concise, lowercase imperative subject with no final period. Reuse an explicit user-provided message if it is suitable.
Run the relevant validation commands from
CONTRIBUTING.mdwhen they are practical for the changed files. Report any pre-existing or environment-related failure; do not conceal it by weakening checks.Review the staged diff one final time, then create the commit with
git commit -m "<message>".Confirm success with
git status --shortandgit log -1 --oneline.
Safety rules
- Do not commit secrets, generated output, local configuration, or unrelated files.
- Do not modify existing commits, force-push, or push any branch as part of this skill.
- Do not bypass hooks with
--no-verifyunless the user explicitly authorizes it after the failure is explained. - If validation fails because of the proposed change, fix it before committing when the user asked for a finished commit. If it is unrelated, report it clearly.
よくある質問
コミットをサーバーにプッシュしますか?
いいえ。明示的に頼まれない限り、スキルはプッシュしません。
一度にすべてをコミットできますか?
いいえ。スキルは、すべてのファイルを無条件に追加することを避け、意図したパスだけをステージします。
メッセージも書いてくれますか?
はい。Conventional Commitsのスタイルのメッセージを提案するか、あなたが用意したものを再利用します。
詳細
作者による元の説明
Create a safe, focused Git commit for this repository. Use when the user asks to commit completed work, prepare a commit, or choose a Conventional Commit message. Inspect the working tree, stage only intended files, validate relevant changes, and create the commit without pushing.
人気
- GitHubのスター
- 8.2k
- ランキング
- #12545
- ライセンス
- MIT
- 更新日
- 2026/8/8
コメント
- …
このリポジトリの他のスキル
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。