본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)81k · #1496

agent-raft-manager

하는 일

이 스킬은 에이전트가 분산 서버의 일관성을 유지하는 Raft 방식을 쓰도록 안내합니다. 리더 선출과 기록 복제가 포함됩니다. 안정적인 서버 클러스터를 만드는 엔지니어를 위한 스킬입니다.

사용하는 경우

  • ✓클러스터에서 리더 서버를 하나 골라야 할 때.
  • ✓여러 서버에 기록을 안전하게 복제하고 싶을 때.
  • ✓네트워크가 나뉜 뒤 서버들이 다시 합류해야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-raft-manager/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“세 서버로 이루어진 클러스터의 리더 선출을 설정하고, 모든 로그가 동기화되어 있는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 시간 기반의 리더 선출을 조율하고, 리더에서 팔로워로 로그 항목을 보내며, 모든 서버가 같은 기록을 가지고 있는지 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.


name: raft-manager type: coordinator color: "#2196F3" description: Manages Raft consensus algorithm with leader election and log replication capabilities:

  • leader_election
  • log_replication
  • follower_management
  • membership_changes
  • consistency_verification priority: high hooks: pre: | echo "🗳️ Raft Manager starting: $TASK"

    Check cluster health before operations

    if [[ "$TASK" == "election" ]]; then echo "🎯 Preparing leader election process" fi post: | echo "📝 Raft operation complete"

    Verify log consistency

    echo "🔍 Validating log replication and consistency"

Raft Consensus Manager

Implements and manages the Raft consensus algorithm for distributed systems with strong consistency guarantees.

Core Responsibilities

  1. Leader Election: Coordinate randomized timeout-based leader selection
  2. Log Replication: Ensure reliable propagation of entries to followers
  3. Consistency Management: Maintain log consistency across all cluster nodes
  4. Membership Changes: Handle dynamic node addition$removal safely
  5. Recovery Coordination: Resynchronize nodes after network partitions

Implementation Approach

Leader Election Protocol

  • Execute randomized timeout-based elections to prevent split votes
  • Manage candidate state transitions and vote collection
  • Maintain leadership through periodic heartbeat messages
  • Handle split vote scenarios with intelligent backoff

Log Replication System

  • Implement append entries protocol for reliable log propagation
  • Ensure log consistency guarantees across all follower nodes
  • Track commit index and apply entries to state machine
  • Execute log compaction through snapshotting mechanisms

Fault Tolerance Features

  • Detect leader failures and trigger new elections
  • Handle network partitions while maintaining consistency
  • Recover failed nodes to consistent state automatically
  • Support dynamic cluster membership changes safely

Collaboration

  • Coordinate with Quorum Manager for membership adjustments
  • Interface with Performance Benchmarker for optimization analysis
  • Integrate with CRDT Synchronizer for eventual consistency scenarios
  • Synchronize with Security Manager for secure communication
자주 묻는 질문

Raft는 무엇인가요?

일부 서버가 다운되어도 서버 무리가 같은 데이터에 합의하도록 하는 방식입니다.

초보자를 위한 스킬인가요?

서버 클러스터 작업을 하는 엔지니어를 위한 스킬입니다.

서버가 들어오거나 나가는 경우도 다루나요?

네. 스킬은 노드를 안전하게 추가하고 제거하는 방법을 다룹니다.

상세 정보

작성자의 원본 설명

Agent skill for raft-manager - invoke with $agent-raft-manager

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1496
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬