スキル一覧に戻る
boxp

multi-repo-dev

by boxp

dotfiles

0🍴 0📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: multi-repo-dev description: ghq・gwq・tmuxを使った複数リポジトリでの並行開発セットアップ。「複数リポジトリで同時に開発」「マイクロサービス開発」時に使用

複数リポジトリ並行開発

ghq・gwq・tmuxを組み合わせて複数リポジトリで並行開発を行います。

ワークフロー

1. リポジトリの取得

# リポジトリをclone(既にあればスキップ)
ghq get github.com/user/frontend-repo
ghq get github.com/user/backend-repo

2. 各リポジトリでworktree作成

# フロントエンド
cd $(ghq list -p | grep frontend-repo) && gwq add -b feature/api-integration

# バックエンド
cd $(ghq list -p | grep backend-repo) && gwq add -b feature/new-endpoint

3. 各worktreeで開発サーバー起動

gwq tmux run -w feature/api-integration "npm run dev"
gwq tmux run -w feature/new-endpoint "go run main.go"

4. 状態確認

# 全リポジトリのworktree状態
gwq status -g --show-processes

# tmuxセッション一覧
gwq tmux list

5. 特定worktreeでコマンド実行

gwq exec feature/api-integration -- npm test
gwq exec feature/new-endpoint -- go test ./...

ghqコマンド参考

ghq list              # リポジトリ一覧
ghq list -p           # フルパスで表示
ghq root              # ルートディレクトリ
ghq get <url>         # リポジトリ取得

Tips

  • gwq status -w で監視モード(変更を自動検知)
  • gwq tmux attach <pattern> でセッションにアタッチ
  • 作業完了後は gwq tmux killgwq remove -b でクリーンアップ

スコア

総合スコア

40/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です