一键导入
github-multi-repo
Multi-repository coordination and synchronization using Git and GitHub CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Multi-repository coordination and synchronization using Git and GitHub CLI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | github-multi-repo |
| version | 2.0.0 |
| description | Multi-repository coordination and synchronization using Git and GitHub CLI. |
| category | github-integration |
| tags | ["multi-repo","synchronization","github","gh-cli"] |
Manage changes, synchronize dependencies, and run operations across multiple GitHub repositories.
Use the GitHub CLI to find and clone related repositories:
# List repositories in an organization matching a topic
gh repo list my-org --topic "microservice" --json name -q '.[].name' > repos.txt
# Clone all matching repositories
while read repo; do
gh repo clone "my-org/$repo"
done < repos.txt
# Run a command in all cloned repositories
for dir in */; do
if [ -d "$dir/.git" ]; then
echo "Processing $dir"
(cd "$dir" && git fetch origin && git status --short)
fi
done
When a shared library is updated, roll out the update across consuming repositories:
for repo in repo-a repo-b repo-c; do
cd $repo
git checkout main
git pull
git checkout -b update-shared-lib
# Example: Update npm dependency
npm install shared-lib@latest
git commit -am "chore: update shared-lib"
git push -u origin update-shared-lib
gh pr create --title "Update shared-lib" --body "Automated dependency update" --fill
cd ..
done
For tight coupling, use Git submodules to ensure repositories are locked to specific commits.
# Add a submodule
git submodule add https://github.com/my-org/shared-config.git
# Update all submodules to their latest remote commits
git submodule update --remote --merge
# Search code across an entire organization
gh search code "TODO" --owner my-org --extension ts
Develop and contribute to the Plexium codebase — package structure, build commands, test patterns, architecture layers
Operate within a Plexium-powered repository — read wiki before work, update wiki after changes, follow ownership rules, use retrieval
Use when the user wants to install or verify the Plexium CLI from inside Codex.
Use when the user wants to initialize Plexium, set up the current repository for Codex, verify readiness, or connect Plexium's MCP server in Codex.
Use when the user wants to install Plexium, set up the current repo for Claude Code, verify readiness, or query the Plexium wiki from Claude Code.
Use when the user wants to search or retrieve information from the Plexium wiki in the current repository.