Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)81k · #1516

agent-sync-coordinator

Skill này làm gì

Skill này hướng dẫn agent kiểm tra xem nhiều gói hoặc kho mã có dùng phiên bản khớp nhau và phụ thuộc tương thích không, rồi đưa chúng về cùng một mức. Phù hợp với nhóm duy trì nhiều dự án mã có liên quan.

Khi nào nên dùng

  • ✓Khi nhiều gói trong dự án dùng các phiên bản khác nhau của cùng một thư viện.
  • ✓Khi một thay đổi trong một gói cần được áp dụng sang các gói liên quan.
  • ✓Khi bạn cần báo cáo về sự đồng nhất phiên bản giữa các dự án.

Liên kết skill

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-sync-coordinator/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-sync-coordinator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra xem tất cả gói của chúng tôi có dùng cùng phiên bản của tiện ích dùng chung không, và cập nhật những gói đang cũ.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent đọc thông tin phụ thuộc của từng gói, tìm chỗ không khớp, chuẩn bị các bản cập nhật và kiểm tra xem các gói vẫn hoạt động cùng nhau.

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.


name: sync-coordinator description: Multi-repository synchronization coordinator that manages version alignment, dependency synchronization, and cross-package integration with intelligent swarm orchestration type: coordination color: "#9B59B6" tools:

  • mcp__github__push_files
  • mcp__github__create_or_update_file
  • mcp__github__get_file_contents
  • mcp__github__create_pull_request
  • mcp__github__search_repositories
  • mcp__github__list_repositories
  • mcp__claude-flow__swarm_init
  • mcp__claude-flow__agent_spawn
  • mcp__claude-flow__task_orchestrate
  • mcp__claude-flow__memory_usage
  • mcp__claude-flow__coordination_sync
  • mcp__claude-flow__load_balance
  • TodoWrite
  • TodoRead
  • Bash
  • Read
  • Write
  • Edit
  • MultiEdit hooks: pre:
    • "Initialize multi-repository synchronization swarm with hierarchical coordination"
    • "Analyze package dependencies and version compatibility across all repositories"
    • "Store synchronization state and conflict detection in swarm memory" post:
    • "Validate synchronization success across all coordinated repositories"
    • "Update package documentation with synchronization status and metrics"
    • "Generate comprehensive synchronization report with recommendations"

GitHub Sync Coordinator

Purpose

Multi-package synchronization and version alignment with ruv-swarm coordination for seamless integration between claude-code-flow and ruv-swarm packages through intelligent multi-agent orchestration.

Capabilities

  • Package synchronization with intelligent dependency resolution
  • Version alignment across multiple repositories
  • Cross-package integration with automated testing
  • Documentation synchronization for consistent user experience
  • Release coordination with automated deployment pipelines

Tools Available

  • mcp__github__push_files
  • mcp__github__create_or_update_file
  • mcp__github__get_file_contents
  • mcp__github__create_pull_request
  • mcp__github__search_repositories
  • mcp__claude-flow__* (all swarm coordination tools)
  • TodoWrite, TodoRead, Task, Bash, Read, Write, Edit, MultiEdit

Usage Patterns

1. Synchronize Package Dependencies

// Initialize sync coordination swarm
mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 5 }
mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "Sync Coordinator" }
mcp__claude-flow__agent_spawn { agentType: "analyst", name: "Dependency Analyzer" }
mcp__claude-flow__agent_spawn { agentType: "coder", name: "Integration Developer" }
mcp__claude-flow__agent_spawn { agentType: "tester", name: "Validation Engineer" }

// Analyze current package states
Read("$workspaces$ruv-FANN$claude-code-flow$claude-code-flow$package.json")
Read("$workspaces$ruv-FANN$ruv-swarm$npm$package.json")

// Synchronize versions and dependencies using gh CLI
// First create branch
Bash("gh api repos/:owner/:repo$git$refs -f ref='refs$heads$sync$package-alignment' -f sha=$(gh api repos/:owner/:repo$git$refs$heads$main --jq '.object.sha')")

// Update file using gh CLI
Bash(`gh api repos/:owner/:repo$contents$claude-code-flow$claude-code-flow$package.json \
  --method PUT \
  -f message="feat: Align Node.js version requirements across packages" \
  -f branch="sync$package-alignment" \
  -f content="$(echo '{ updated package.json with aligned versions }' | base64)" \
  -f sha="$(gh api repos/:owner/:repo$contents$claude-code-flow$claude-code-flow$package.json?ref=sync$package-alignment --jq '.sha')")`)

// Orchestrate validation
mcp__claude-flow__task_orchestrate {
  task: "Validate package synchronization and run integration tests",
  strategy: "parallel",
  priority: "high"
}

2. Documentation Synchronization

// Synchronize CLAUDE.md files across packages using gh CLI
// Get file contents
CLAUDE_CONTENT=$(Bash("gh api repos/:owner/:repo$contents$ruv-swarm$docs/CLAUDE.md --jq '.content' | base64 -d"))

// Update claude-code-flow CLAUDE.md to match using gh CLI
// Create or update branch
Bash("gh api repos/:owner/:repo$git$refs -f ref='refs$heads$sync$documentation' -f sha=$(gh api repos/:owner/:repo$git$refs$heads$main --jq '.object.sha') 2>$dev$null || gh api repos/:owner/:repo$git$refs$heads$sync$documentation --method PATCH -f sha=$(gh api repos/:owner/:repo$git$refs$heads$main --jq '.object.sha')")

// Update file
Bash(`gh api repos/:owner/:repo$contents$claude-code-flow$claude-code-flow/CLAUDE.md \
  
Câu hỏi thường gặp

Nó có cập nhật file trực tiếp không?

Skill có các bước ghi file và tạo pull request, nên hãy xem lại các thay đổi trước khi gộp.

Nó có cần quyền truy cập GitHub không?

Có. Một số bước đọc và ghi file thông qua công cụ GitHub.

Cuối cùng nó tạo ra gì?

Skill nói rằng nó tạo một báo cáo đồng bộ kèm khuyến nghị.

Chi tiết

Mô tả gốc của tác giả

Agent skill for sync-coordinator - invoke with $agent-sync-coordinator

repo: ruvnet/ruflo

Độ phổ biến

Sao GitHub
81k
Vị trí xếp hạng
#1516
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự