File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ブランチクリーンアップコマンド
2+
3+ リポジトリでmainにmerge済みかつmainより進んだcommitのないbranchをローカル/リモートとも削除してください。
4+
5+ ## 実行内容
6+ 1 . ` git branch --merged main ` でマージ済みブランチを確認
7+ 2 . mainブランチ以外のマージ済みブランチを特定
8+ 3 . ローカルブランチを削除: ` git branch -d <branch-name> `
9+ 4 . リモートブランチを削除: ` git push origin --delete <branch-name> `
10+
11+ ## 注意事項
12+ - mainブランチは削除対象から除外
13+ - 現在のブランチは削除対象から除外
14+ - 削除前に確認を行う
Original file line number Diff line number Diff line change 1+ # PR修正コマンド
2+
3+ 直前に発行されたPRにreview commentがあるかどうかを確認し、修正対応を実行してください。
4+
5+ ## 実行内容
6+ 1 . 直前のPRのreview commentを確認
7+ 2 . review commentがある場合、内容を読み取り
8+ 3 . 指摘された問題点を修正
9+ 4 . 修正結果をコミット・プッシュ
10+
11+ ## 修正方針
12+ - 指摘された問題に対して適切な修正を実施
13+ - コードの品質・可読性・セキュリティを向上
14+ - 既存の機能に影響しないよう注意
Original file line number Diff line number Diff line change 1+ # マージ後クリーンアップコマンド
2+
3+ PRマージ後のクリーンアップを実行してください。
4+
5+ ## 1. 事前確認
6+ - ` git status ` で未コミット変更がないことを確認
7+ - 変更がある場合はそれらのファイルをstashに入れる
8+
9+ ## 2. メインブランチ更新
10+ - ` git checkout main ` でメインブランチに切り替え
11+ - ` git pull ` で最新の変更を取得
12+
13+ ## 3. ブランチクリーンアップ
14+ - ` git branch -d <feature-branch> ` でローカルブランチ削除
15+ - ` git push origin --delete <feature-branch> ` でリモートブランチ削除
16+ - stashに入れたファイルを戻す
17+
18+ ## 冪等性保証
19+ - 各コマンドは実行前に状態を確認
20+ - エラー時は安全に処理を中断
21+ - 既に削除済みのブランチは無視
Original file line number Diff line number Diff line change 1+ # PR作成コマンド
2+
3+ 以下の手順でPull Request(PR)を作成してください。
4+
5+ ## 1. ブランチ準備
6+ - 現在のブランチがmainの場合: 新しいfeatureブランチを作成
7+ - それ以外の場合: 現在のブランチをそのまま使用
8+
9+ ## 2. 変更のコミット
10+ - ` git status ` で変更ファイルを確認
11+ - ` git add ` で全ての変更をステージング
12+ - ` git commit ` で変更をコミット(適切な日本語メッセージ)
13+
14+ ## 3. リモートプッシュ
15+ - ` git push -u origin <branch-name> ` でリモートにプッシュ
16+
17+ ## 4. PR作成
18+ - ` mcp__github__create_pull_request ` を使用してPRを作成
19+ - タイトル: 日本語で変更内容を要約
20+ - body: Summary、Test planを含む定型フォーマット
21+
22+ ## 命名規則
23+ - ブランチ名: 英語(例: update-config, validation-error)
24+ - github flowに従う(feature/などのprefixは不要)
25+ - コミットメッセージ: 日本語
26+ - PRタイトル・説明: 日本語
Original file line number Diff line number Diff line change 1+ # PRレビューコマンド
2+
3+ 直前に発行されたPRを経験豊富なreview専門家としてレビューしてください。
4+
5+ ## 実行内容
6+ - PRの問題点、改善点の指摘を記述
7+ - コメントを書いたら「Request Changes」としてレビューをcommit
8+ - 指摘点がなければ「Approve」として承認
9+
10+ ## レビュー観点
11+ - コード品質
12+ - セキュリティ
13+ - 可読性
14+ - 保守性
15+ - テストカバレッジ
Original file line number Diff line number Diff line change 1+ # 記憶コマンド
2+
3+ 開発の履歴や得られた知見を記録します。
4+
5+ ## 実行内容
6+ 1 . CLAUDE.mdの記憶の更新日時以降のgit logやファイル変更内容、claude codeのセッション履歴をもとに、知見を収集
7+ * 更新日時が記録されていない場合は直近のPR作成日時以降を対象とする。
8+ 2 . Serena MCPでこれまでの知見を記憶
9+ 3 . Serena MCPの記憶をチェックし、誤りがあれば修正、古くなっていれば削除
10+ 4 . CLAUDE.mdのSerenaの利用方法を更新
11+ 5 . 記憶の更新日時をCLAUDE.mdに記録
Original file line number Diff line number Diff line change 1+ {
2+ "mcpServers" : {
3+ "awslabs.cdk-mcp-server" : {
4+ "command" : " /home/docker/.local/bin/uvx" ,
5+ "args" : [" awslabs.cdk-mcp-server@latest" ],
6+ "env" : {
7+ "FASTMCP_LOG_LEVEL" : " ERROR" ,
8+ "AWS_REGION" : " ap-northeast-1" ,
9+ "CDK_DEFAULT_REGION" : " ap-northeast-1"
10+ },
11+ "disabled" : false
12+ }
13+ },
14+ "allowedTools" : [" *" ],
15+ "ignorePatterns" : [
16+ " node_modules/**" ,
17+ " cdk.out/**" ,
18+ " .git/**" ,
19+ " *.log"
20+ ]
21+ }
You can’t perform that action at this time.
0 commit comments