commit-dis
できること
このスキルは、AI が現在の会話で変更したファイルだけを、すでにチェックアウトしているブランチにコミットします。作業を Git にすばやく保存したい人向けです。
使う場面
- ✓「コミットして」「作業を保存して」「このチャットでの作業をコミットして」と言ったとき。
- ✓このチャットで変更したファイルだけをコミットし、関係のない変更には触れたくないとき。
- ✓コミットを現在のブランチに残し、プッシュやプルリクエストは不要なとき。
スキルのリンク
https://github.com/kortix-ai/suna/blob/dev/.agents/skills/commit-dis/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このチャットで行った変更を、現在のブランチにコミットしてください。それ以外の変更には触れないでください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AI は現在のブランチと変更されたファイルの一覧を確認し、このセッションのファイルだけを名前を指定して追加して、1 つのコミットを作成します。プッシュやプルリクエストは行いません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
commit-dis — commit this session's work, here, now
Stage and commit the changes produced during this conversation onto the current branch. Nothing more. This is the quick "save what we just did" button.
THE RULES
- Stay on the current branch. Do NOT create, switch, or rename a branch.
Commit wherever
HEADalready points — even if that'smain. Never rungit checkout -b,git switch -c, orgit branch. - Only commit what this session changed. Stage the specific files you
created or edited in this thread by path. Do NOT
git add -A/git add .blindly — that risks sweeping in unrelated working-tree changes, untracked scratch files, or another task's edits. No overcommitting. - No push, no PR. Stop after the commit unless the user explicitly asks to push or open a PR.
- One commit for the session's work unless the user asks otherwise.
Steps
- Confirm the branch and see what's changed:
git rev-parse --abbrev-ref HEAD git status --short - Identify the exact files this session touched. If anything in
git statuswas NOT changed by this session, leave it unstaged. If it's ambiguous whether a dirty file belongs to this session, ask the user rather than guessing. - Stage by explicit path (never
-A/.):git add <file1> <file2> ... - Commit with a clear message describing what this session did. End the
message with the standard trailer:
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> - Confirm:
git log --oneline -1
Don't
- Don't create or switch branches.
- Don't
git add -A,git add ., orgit commit -a. - Don't push or open a PR.
- Don't amend or rebase prior commits.
- Don't stage files you didn't touch this session (build artifacts, other in-flight work, untracked scratch).
よくある質問
新しいブランチを作りますか?
いいえ。すでにチェックアウトされているブランチにコミットします。それが main であってもです。
このチャットから来ていないファイルが変更されていたら?
スキルでは、そのファイルをステージせず残すよう指示しています。また、どのファイルがこのセッションのものか不明な場合は、あなたに確認します。
コミットをプッシュしますか?
いいえ。プッシュやプルリクエストを求めない限り、コミットの後で止まります。
詳細
作者による元の説明
Stage and commit ONLY the work done in this session, on the CURRENT branch — no new branch, no PR, no push. Load whenever the user says 'commit this', 'commit-dis', 'git add commit what we did', 'commit dis', 'save my work', or otherwise asks to commit the changes from the current thread. Enforces: stay on the already-checked-out branch, never overcommit unrelated files.
repo: kortix-ai/suna
人気
- GitHubのスター
- 20k
- ランキング
- #10372
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
claude-code
20kエージェントが、コーディング、レビュー、計画のタスクを Anthropic の Claude Code CLI に任せ、その結果を確認できるように取り込めるよう支援します。
codex-cli
20kコーディングやレビューのタスクを OpenAI の Codex CLI に任せ、その結果を受け取ることで、2 つ目のモデルに作業を確認させられるようにします。
composio
20kComposio を使って Gmail、Slack、GitHub、Notion などのアプリを接続し、自分のエージェントや、自分で作る製品で利用できるよう支援します。
e2e
20k平易な言葉の目標と正確な確認項目を使い、ウェブアプリやモバイルアプリを操作するエンドツーエンドのテストを書く方法を、エージェントに教えます。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。