Agent skill
multi-repo-dev
ghq・gwq・tmuxを使った複数リポジトリでの並行開発セットアップ。「複数リポジトリで同時に開発」「マイクロサービス開発」時に使用
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/multi-repo-dev
SKILL.md
複数リポジトリ並行開発
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 kill→gwq remove -bでクリーンアップ
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?