バックエンド実装時に使用。DRY原則遵守。コーディング規約準拠。
The English summary is being prepared. Showing the original description.
git logからCHANGELOGとリリースノートを自動生成する。リリース作業時に使用。
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
git logから CHANGELOG とリリースノートを自動生成する。リリース時に手動呼び出しして使用する。
Step 1: バージョン情報の確認
↓
Step 2: git log の解析
↓
Step 3: CHANGELOG.md の更新
↓
Step 4: リリースノート生成
↓
Step 5: ユーザー確認
# タグ命名規則: vX.Y.Z
git describe --tags --abbrev=0
タグがない場合(初回リリース)は全コミットを対象とする。
ユーザーに確認する。デフォルト提案としてコミットタイプから推定:
| コミット内容 | バージョンアップ | 例 |
|---|---|---|
feat: が含まれる | マイナー | v1.0.0 -> v1.1.0 |
fix: のみ | パッチ | v1.0.0 -> v1.0.1 |
breaking change(! suffix) | メジャー | v1.0.0 -> v2.0.0 |
# 前回タグからのコミット取得
PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
if [ -z "$PREV_TAG" ]; then
git log --oneline --no-merges
else
git log ${PREV_TAG}..HEAD --oneline --no-merges
fi
コミットメッセージの type でカテゴリ分類する(Conventional Commits形式を前提とする。コミットメッセージ規約は documents/development/coding-rules/common-rules.md Section 1 を参照):
| Type | カテゴリ | CHANGELOG セクション |
|---|---|---|
feat: | 新機能 | Added |
fix: | バグ修正 | Fixed |
refactor: / perf: | 変更 | Changed |
docs: | ドキュメント | Documentation |
test: / chore: / style: | その他 | Other (CHANGELOGには含めない) |
Keep a Changelog 形式に準拠する。
CHANGELOG.md がなければ新規作成、あれば先頭に追記する。
# Changelog
## [X.Y.Z] - YYYY-MM-DD
### Added
- feat: コミットからの機能追加一覧
### Fixed
- fix: コミットからのバグ修正一覧
### Changed
- refactor/perf: コミットからの変更一覧
### Documentation
- docs: コミットからのドキュメント変更一覧
ルール:
GitHub Releases に投稿可能な形式で生成する。
## What's Changed
### New Features
- 機能1の説明 (#PR番号)
- 機能2の説明 (#PR番号)
### Bug Fixes
- 修正1の説明 (#PR番号)
### Other Changes
- その他の変更
**Full Changelog**: https://github.com/[owner]/[repo]/compare/[前回タグ]...[新タグ]
ルール:
以下を出力してユーザーに確認する:
git tag vX.Y.Z でタグ作成gh release create vX.Y.Z --notes-file <file> でGitHub Release作成ユーザーの承認後にのみ、CHANGELOG.md をコミットする。
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
バックエンド実装時に使用。DRY原則遵守。コーディング規約準拠。
The English summary is being prepared. Showing the original description.
Use before implementing any feature, behavior change, or refactor - settles requirements and design, then gets the design independently reviewed and approved by the user before code is written
The English summary is being prepared. Showing the original description.
作業開始時に使用。mainブランチでの作業禁止。Issue先行作成必須。
The English summary is being prepared. Showing the original description.
UI実装後の検証時に使用。agent-browser CLIでブラウザ上の動作を手動検証する。「UIを確認」「画面テスト」と言われたら使用(プロジェクトの E2E スイート実行は quality-check Step 5(推奨度・範囲で自動実施または確認)/ server-startup が担当)。
The English summary is being prepared. Showing the original description.
DBマイグレーション作成時に使用。バージョン番号競合防止。mainブランチ確認必須。
The English summary is being prepared. Showing the original description.
Use when independent tasks benefit from parallel work without shared state or sequential dependencies
The English summary is being prepared. Showing the original description.