| name | git-workflow |
| description | Gitコミットメッセージ作成とPR説明文生成。
Conventional Commits形式、変更内容の要約、レビューポイント整理。
コミット作成、PR作成、Git操作時に使用。
|
| version | 1.0.0 |
Git Workflow Skill
Overview
一貫性のあるコミットメッセージとPRを作成します。
Commit Message Format (Conventional Commits)
<type>(<scope>): <subject>
<body>
<footer>
Types
| Type | 用途 |
|---|
| feat | 新機能 |
| fix | バグ修正 |
| docs | ドキュメント |
| style | フォーマット(動作に影響なし) |
| refactor | リファクタリング |
| perf | パフォーマンス改善 |
| test | テスト追加・修正 |
| chore | ビルド、CI、依存関係 |
Examples
feat(auth): add JWT refresh token support
Implement automatic token refresh when access token expires.
- Add refresh token endpoint
- Store refresh token in httpOnly cookie
- Add token rotation for security
Closes #123
fix(api): handle null pointer in user lookup
Check for null before accessing user properties to prevent
500 errors when user is not found.
Fixes #456
Pull Request Template
## 概要
<!-- 変更の概要を1-2文で -->
## 変更種別
- [ ] 新機能
- [ ] バグ修正
- [ ] リファクタリング
- [ ] ドキュメント
- [ ] その他
## 変更内容
<!-- 具体的な変更点をリスト -->
-
-
## 技術的な詳細
<!-- 実装のポイント、設計判断の理由 -->
## テスト
<!-- 実施したテスト -->
- [ ] ユニットテスト追加/更新
- [ ] 統合テスト追加/更新
- [ ] 手動テスト実施
## スクリーンショット
<!-- UI変更がある場合 -->
## チェックリスト
- [ ] コードがスタイルガイドに準拠
- [ ] セルフレビュー実施
- [ ] コメント追加(複雑な箇所)
- [ ] ドキュメント更新
- [ ] 破壊的変更なし(ある場合は明記)
## 関連Issue
Closes #
Branch Naming
<type>/<issue-number>-<short-description>
例:
feat/123-add-user-authentication
fix/456-resolve-null-pointer
refactor/789-extract-service-layer
Commit Best Practices
- 1コミット = 1つの論理的変更
- コミットはビルドが通る状態で
- 50文字以内のsubject
- bodyで「なぜ」を説明
- 関連Issueを参照