agent-raft-manager
यह क्या करती है
यह स्किल वितरित सर्वरों को एक जैसा रखने के लिए Raft तरीके में मार्गदर्शन देती है, जिसमें leader चुनना और रिकॉर्ड की नकल करना शामिल है। यह भरोसेमंद सर्वर क्लस्टर बनाने वाले इंजीनियरों के लिए है।
कब इस्तेमाल करें
- ✓जब किसी क्लस्टर में एक सर्वर को leader चुना जाना हो।
- ✓जब आप रिकॉर्ड को कई सर्वरों पर सुरक्षित तरीके से कॉपी करवाना चाहें।
- ✓जब नेटवर्क बँटने के बाद सर्वरों को फिर से जुड़ना हो।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-raft-manager/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे तीन-सर्वर क्लस्टर के लिए leader चुनाव सेट कीजिए और जाँचिए कि सारे logs सिंक में रहते हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट समयबद्ध leader चुनाव का समन्वय करता है, leader से followers को log entries भेजता है, और जाँचता है कि हर सर्वर के पास एक जैसे रिकॉर्ड हैं।
तकनीकी सामग्री (मूल 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 क्या है?
Raft एक ऐसा तरीका है जिससे सर्वरों का समूह एक ही डेटा पर सहमत हो सके, भले ही उनमें से कुछ बंद हों।
क्या यह शुरुआती लोगों के लिए है?
यह उन इंजीनियरों के लिए है जो सर्वर क्लस्टर पर काम करते हैं।
क्या यह सर्वरों के जुड़ने या छोड़ने को संभालती है?
हाँ। स्किल nodes को सुरक्षित तरीके से जोड़ने और हटाने को कवर करती है।
जानकारी
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1496
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।