github-multi-repo
Skill này làm gì
Skill này giúp AI điều phối công việc trên nhiều repository GitHub, chẳng hạn giữ các phiên bản package thẳng hàng. Skill dành cho các đội quản lý nhiều hơn một dự án được kết nối.
Khi nào nên dùng
- ✓Khi bạn cần giữ các phiên bản package giống nhau trên nhiều repository.
- ✓Khi một thay đổi trong một repository ảnh hưởng đến các repository khác mà đội bạn duy trì.
- ✓Khi bạn muốn lên kế hoạch cấu trúc cho một nhóm dự án liên quan.
Liên kết skill
https://github.com/ruvnet/RuView/blob/main/.claude/skills/github-multi-repo/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Repo frontend và backend của chúng tôi dùng các phiên bản khác nhau của cùng một thư viện. Giúp tôi đưa chúng về cùng một mức.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI đọc các repository bạn nêu tên, so sánh phiên bản package và dependency của chúng, rồi đề xuất cách đồng bộ. Sau đó nó giúp áp dụng các thay đổi mà bạn chấp thuận.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
GitHub Multi-Repository Coordination Skill
Overview
Advanced multi-repository coordination system that combines swarm intelligence, package synchronization, and repository architecture optimization. This skill enables organization-wide automation, cross-project collaboration, and scalable repository management.
Core Capabilities
🔄 Multi-Repository Swarm Coordination
Cross-repository AI swarm orchestration for distributed development workflows.
📦 Package Synchronization
Intelligent dependency resolution and version alignment across multiple packages.
🏗️ Repository Architecture
Structure optimization and template management for scalable projects.
🔗 Integration Management
Cross-package integration testing and deployment coordination.
Quick Start
Initialize Multi-Repo Coordination
# Basic swarm initialization
npx claude-flow skill run github-multi-repo init \
--repos "org/frontend,org/backend,org/shared" \
--topology hierarchical
# Advanced initialization with synchronization
npx claude-flow skill run github-multi-repo init \
--repos "org/frontend,org/backend,org/shared" \
--topology mesh \
--shared-memory \
--sync-strategy eventual
Synchronize Packages
# Synchronize package versions and dependencies
npx claude-flow skill run github-multi-repo sync \
--packages "claude-code-flow,ruv-swarm" \
--align-versions \
--update-docs
Optimize Architecture
# Analyze and optimize repository structure
npx claude-flow skill run github-multi-repo optimize \
--analyze-structure \
--suggest-improvements \
--create-templates
Features
1. Cross-Repository Swarm Orchestration
Repository Discovery
// Auto-discover related repositories with gh CLI
const REPOS = Bash(`gh repo list my-organization --limit 100 \
--json name,description,languages,topics \
--jq '.[] | select(.languages | keys | contains(["TypeScript"]))'`)
// Analyze repository dependencies
const DEPS = Bash(`gh repo list my-organization --json name | \
jq -r '.[].name' | while read -r repo; do
gh api repos/my-organization/$repo/contents/package.json \
--jq '.content' 2>/dev/null | base64 -d | jq '{name, dependencies}'
done | jq -s '.'`)
// Initialize swarm with discovered repositories
mcp__claude-flow__swarm_init({
topology: "hierarchical",
maxAgents: 8,
metadata: { repos: REPOS, dependencies: DEPS }
})
Synchronized Operations
// Execute synchronized changes across repositories
[Parallel Multi-Repo Operations]:
// Spawn coordination agents
Task("Repository Coordinator", "Coordinate changes across all repositories", "coordinator")
Task("Dependency Analyzer", "Analyze cross-repo dependencies", "analyst")
Task("Integration Tester", "Validate cross-repo changes", "tester")
// Get matching repositories
Bash(`gh repo list org --limit 100 --json name \
--jq '.[] | select(.name | test("-service$")) | .name' > /tmp/repos.txt`)
// Execute task across repositories
Bash(`cat /tmp/repos.txt | while read -r repo; do
gh repo clone org/$repo /tmp/$repo -- --depth=1
cd /tmp/$repo
# Apply changes
npm update
npm test
# Create PR if successful
if [ $? -eq 0 ]; then
git checkout -b update-dependencies-$(date +%Y%m%d)
git add -A
git commit -m "chore: Update dependencies"
git push origin HEAD
gh pr create --title "Update dependencies" --body "Automated update" --label "dependencies"
fi
done`)
// Track all operations
TodoWrite { todos: [
{ id: "discover", content: "Discover all service repositories", status: "completed" },
{ id: "update", content: "Update dependencies", status: "completed" },
{ id: "test", content: "Run integration tests", status: "in_progress" },
{ id: "pr", content: "Create pull requests", status: "pending" }
]}
2. Package Synchronization
Version Alignment
// Synchronize package dependencies and versions
[Complete Package Sync]:
// Initialize sync swarm
mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 5 })
// Spawn sync agents
Task("Sync Coordinator", "Coordinate version alignment", "coordinator")
Task("Dependency Analyzer", "Analyze dependencies", "analyst")
Task("Integration Tester", "Validate synchronization", "tester")
// Read package states
Read("/workspaces/ruv-FANN/claude-code-flow/claude-code-flow/package.json")
Read("/
Câu hỏi thường gặp
Nó làm việc được với những repository nào?
Những repository bạn nêu tên, chẳng hạn frontend, backend và các dự án dùng chung của một tổ chức.
Nó có thay đổi repository mà không hỏi không?
Skill tập trung vào điều phối, nên bạn quyết định thay đổi nào được áp dụng.
Nó dùng công cụ nào?
Skill chạy các lệnh của công cụ claude-flow và làm việc cùng GitHub.
Chi tiết
Mô tả gốc của tác giả
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
repo: ruvnet/RuView
Độ phổ biến
- Sao GitHub
- 102k
- Vị trí xếp hạng
- #830
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
AgentDB Advanced Features
102kGiới thiệu cho agent của bạn các tính năng nâng cao của AgentDB, như đồng bộ cơ sở dữ liệu giữa nhiều máy và kết hợp tìm kiếm vector với bộ lọc metadata.
AgentDB Learning Plugins
102kCho phép agent của bạn xây dựng và huấn luyện plugin học cho AgentDB, dùng các phương pháp học tăng cường để cải thiện từ kinh nghiệm trước đó.
AgentDB Memory Patterns
102kCho phép agent của bạn ghi nhớ các cuộc trò chuyện và ngữ cảnh qua nhiều phiên, dùng AgentDB làm kho bộ nhớ lâu dài.
AgentDB Performance Optimization
102kChỉ cho agent của bạn cách tăng tốc tìm kiếm AgentDB và giảm dung lượng bộ nhớ, bằng nén, chỉ mục tìm kiếm nhanh và bộ nhớ đệm.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.