From git-actions
Git コミットワークフローの実行。変更のステージング、コミットメッセージ生成、コミット実行を行う。Use when user wants to commit changes, create a commit, or stage and commit files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-actions:commitThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
このスキルは Git コミットの全ワークフローを提供します。
このスキルは Git コミットの全ワークフローを提供します。
重要: git コマンドは作業ディレクトリで直接実行する。git -C は使用禁止。
以下の git コマンドを並列で実行し、現在の状態を把握する:
git status # 未追跡ファイルと変更状態
git branch --show-current # カレントブランチ
git diff # ステージされていない変更
git diff --staged # ステージ済みの変更
git log --oneline -5 # 直近のコミットスタイル確認
ステージされた変更(または新規追加予定の変更)を分析:
機密ファイル検出時は警告:
.env, .env.*credentials.json, secrets.**.pem, *.keyconfig/local.*原則: コミットメッセージは書けば書くほど良い。
コミットメッセージは将来の開発者が「なぜこの変更が必要だったのか」を理解するための重要なドキュメント。
タイトル行: 変更の要約(リポジトリの既存スタイルに準拠)
背景・動機: なぜこの変更が必要になったのか
実装内容: 何を変更したか
設計判断の理由: なぜこの実装方法を選んだのか
参照情報(該当する場合):
実装内容から推測できる事情を記載する:
# 関連ファイルをステージング(必要な場合)
git add <files>
# HEREDOC形式でコミット実行
git commit -m "$(cat <<'EOF'
タイトル: 変更の要約
## 背景
- なぜこの変更が必要になったか
## 実装内容
- 変更したファイルと内容
## 設計判断
- なぜこの方法を選んだか
## 参照
- 関連ドキュメントや Issue
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
EOF
)"
コミット後、git status で成功を確認する。
--no-verify, --no-gpg-sign などのスキップオプションは禁止add: 完全に新しい機能update: 既存機能の改善fix: バグ修正refactor: 機能変更なしのコード改善docs: ドキュメントのみの変更test: テストのみの変更ユーザー認証のセッションタイムアウトを30分から1時間に延長
## 背景
ユーザーから「作業中に頻繁にログアウトされる」というフィードバックが
複数寄せられていた(Issue #234, #256)。特にドキュメント編集中の
セッション切れが問題視されていた。
## 実装内容
- src/config/auth.ts: SESSION_TIMEOUT を 1800 から 3600 に変更
- src/middleware/session.ts: タイムアウト警告を残り5分で表示するよう追加
- tests/auth.test.ts: 新しいタイムアウト値に対応したテストケース追加
## 設計判断
- 2時間案も検討したが、セキュリティチームとの協議の結果、
セキュリティとUXのバランスから1時間が適切と判断
- 無期限セッションは PCI DSS 準拠の観点から却下
- 参照: docs/security-policy.md のセッション管理方針
## 参照
- Issue: #234, #256
- セキュリティレビュー: SEC-2024-001
- 参考実装: src/features/admin/session.ts(管理者セッション処理)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
fix bug
update files
セッションタイムアウトを変更
(何を、なぜ変更したか不明)
npx claudepluginhub biwakonbu/cc-plugins --plugin git-actionsManages Git commit workflow using Conventional Commits format with safety protocols. Creates, validates, executes commits; handles hooks, PRs, and safety checks before operations.
Creates git commits with clear messages from working tree changes, following repo conventions or conventional commits. Handles clean trees and detached HEAD.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.