一键导入
jp-local-review
git worktreeを使用して同僚のブランチをレビューするためのローカル環境をセットアップします。現在の作業を中断せずに他の人のコードをレビューする必要がある場合に使用します。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
git worktreeを使用して同僚のブランチをレビューするためのローカル環境をセットアップします。現在の作業を中断せずに他の人のコードをレビューする必要がある場合に使用します。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create handoff document for transferring work to another session. Use when ending a session and need to document progress for continuation later.
作業を別のセッションに引き継ぐための引き継ぎドキュメントを作成します。セッション終了時に後で継続するための進捗を文書化する必要がある場合に使用します。
並行サブエージェントを生成して調査結果を統合することで、コードベース全体にわたる包括的な調査を実施して質問に回答します。コードの動作方法の理解、コンポーネントの場所の特定、アーキテクチャの文書化、またはシステム間の接続のトレースを行う場合に使用します。
Conduct comprehensive research across the codebase to answer questions by spawning parallel sub-agents and synthesizing findings. Use when the user wants to understand how code works, find where components live, document architecture, or trace connections between systems.
Create git commits for session changes automatically without user confirmation. Use for CI/automation workflows where commits should be created without interactive approval.
Create git commits for session changes with clear, atomic messages. Use when you need to commit changes made during a coding session with proper commit messages following best practices.
| name | jp-local-review |
| description | git worktreeを使用して同僚のブランチをレビューするためのローカル環境をセットアップします。現在の作業を中断せずに他の人のコードをレビューする必要がある場合に使用します。 |
| compatibility | GitHub Copilot CLI用に設計。gitが必要です。 |
| metadata | {"author":"humanlayer","version":"1.0","original-source":"https://github.com/humanlayer/humanlayer"} |
同僚のブランチのローカルレビュー環境をセットアップするタスクです。worktreeの作成と依存関係のセットアップを含みます。
gh_username:branchName のようなパラメータで呼び出された場合:
username:branchname の形式からGitHubユーザー名とブランチ名を抽出するgh_username:branchName の形式で入力を求めるeng-1696、ISSUE-1696)# リモートが既に存在するか確認する
git remote -v
# 存在しない場合、追加する
git remote add USERNAME git@github.com:USERNAME/REPO_NAME
# リモートからフェッチする
git fetch USERNAME
# worktreeを作成する
git worktree add -b BRANCHNAME ~/wt/REPO_NAME/SHORT_NAME USERNAME/BRANCHNAME
# ローカル設定が存在する場合コピーする
cp .copilot/settings.local.json WORKTREE/.copilot/ 2>/dev/null || true
# プロジェクトに適したセットアップコマンドを実行する
cd WORKTREE && npm install # または make setup、pip install など
git worktree remove ~/wt/REPO_NAME/SHORT_NAME
/local_review samdickson22:sam/eng-1696-hotkey-for-yolo-mode
これにより:
~/wt/repo-name/eng-1696 にworktreeを作成するレビュー完了後、以下でクリーンアップする:
git worktree remove ~/wt/REPO_NAME/SHORT_NAME
git remote remove USERNAME # オプション、再度必要ない場合