現在のブランチの変更とコミットを確認し、規約に沿ったタイトルとテンプレートでプルリクエストを作成します。
- 作業ブランチをPRに出したいとき
- 変更全体をPR本文にまとめたいとき
- テンプレートに沿ってPRを作りたいとき
変更内容を確認して対象ファイルを選び、Conventional CommitsとDCO署名の形式でGitコミットを作成します。
Stage and commit changes using Conventional Commits
実行スコア 未検証
インストール方法を見る作業ツリー、ステージ済みの差分、直近のコミット形式を確認し、今回の変更に合うファイルとコミット種別を選んでコミットを作成します。秘密情報を含む可能性がある.envや認証情報などは対象から除外します。メッセージはConventional Commitsの形式にし、必要に応じてスコープや本文を加えます。すべてのコミットに必要なDCO署名はgit commit -sで付与し、作成後にgit statusで状態を確認します。
変更を小さく整理して記録したいときや、プロジェクト内でコミットメッセージの書式をそろえたいときに役立ちます。会話の経緯からClaudeがコード変更を手伝ったかも確認し、該当する場合だけ指定のトレーラーを付ける手順が含まれています。
Gitを使います。コミットにはDCO署名が必要です。引数が渡された場合は、メッセージやスコープを決める際の参考にします。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Create a git commit for the current changes following the Conventional Commits specification.
Run these commands in parallel to understand the current state:
git status to see all changed and untracked filesgit diff to see unstaged changesgit diff --cached to see already-staged changesgit log --oneline -5 to see recent commit styleAnalyze the changes and determine:
.env, credentials, etc.)Stage the relevant files by name (do NOT use git add -A or git add .)
Determine attribution — analyze the conversation context:
Assisted-by: Claude:<model-id> trailerCo-Authored-ByCraft the commit message following this format:
<type>(<scope>): <description>
[optional body]
[Assisted-by: Claude:<model-id> — only if Claude assisted with code changes]
Signed-off-by: <name> <email>
Important: All commits require a DCO sign-off. Always use git commit -s to automatically add the Signed-off-by trailer.
See CONTRIBUTING.md for the full list of types and scopes.
git commit -s -m "$(cat <<'EOF'
type(scope): description
Optional body.
Assisted-by: Claude:<model-id>
EOF
)"
git status to verify success.If $ARGUMENTS is provided, use it as guidance for the commit message or scope.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
現在のブランチの変更とコミットを確認し、規約に沿ったタイトルとテンプレートでプルリクエストを作成します。