agent-raft-manager
하는 일
이 스킬은 에이전트가 분산 서버의 일관성을 유지하는 Raft 방식을 쓰도록 안내합니다. 리더 선출과 기록 복제가 포함됩니다. 안정적인 서버 클러스터를 만드는 엔지니어를 위한 스킬입니다.
사용하는 경우
- ✓클러스터에서 리더 서버를 하나 골라야 할 때.
- ✓여러 서버에 기록을 안전하게 복제하고 싶을 때.
- ✓네트워크가 나뉜 뒤 서버들이 다시 합류해야 할 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-raft-manager/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- Leader Election: Coordinate randomized timeout-based leader selection
- Log Replication: Ensure reliable propagation of entries to followers
- Consistency Management: Maintain log consistency across all cluster nodes
- Membership Changes: Handle dynamic node addition$removal safely
- 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는 무엇인가요?
일부 서버가 다운되어도 서버 무리가 같은 데이터에 합의하도록 하는 방식입니다.
초보자를 위한 스킬인가요?
서버 클러스터 작업을 하는 엔지니어를 위한 스킬입니다.
서버가 들어오거나 나가는 경우도 다루나요?
네. 스킬은 노드를 안전하게 추가하고 제거하는 방법을 다룹니다.
상세 정보
인기도
- GitHub 스타
- 81k
- 순위
- #1496
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.
비슷한 스킬
api-connector-builder
280k에이전트가 기존 패턴을 따라 새로운 API 연결을 만들도록 합니다. 새로운 방식을 도입하지 않고 연동을 하나 더 추가할 때 씁니다.
api-design
280k에이전트가 모범 사례에 따라 REST API를 설계하도록 돕습니다. API가 통신하는 방식, 오류를 보여 주는 방식, 데이터를 정리하는 방식을 정하는 데 유용합니다.
backend-patterns
280k에이전트가 서버 쪽 아키텍처 패턴과 데이터베이스 최적화를 다루도록 돕습니다. 서버에서 실행되는 코드를 만들거나 검토할 때 유용합니다.