Skip to content

Commit d090b4a

Browse files
committed
feat: Complete distributed-systems category with 15 comprehensive skills
Create final batch of distributed systems skills: - distributed-locks: Redlock, ZooKeeper locks, fencing tokens, lease-based - leader-election: Bully, ring, consensus-based election patterns - gossip-protocols: Epidemic protocols, SWIM, failure detection, membership - probabilistic-data-structures: Bloom filters, HyperLogLog, Count-Min Sketch Plus gateway skill and category index with workflow examples. Distributed-systems category complete: 15 skills covering consensus, CRDTs, clocks, consistency, replication, partitioning, coordination, and probabilistic algorithms.
1 parent 44176d8 commit d090b4a

6 files changed

Lines changed: 1918 additions & 0 deletions

File tree

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
---
2+
name: discover-distributed-systems
3+
description: Automatically discover distributed systems skills when working with consensus, CRDTs, replication, partitioning, and distributed algorithms
4+
---
5+
6+
# Distributed Systems Skills Discovery
7+
8+
Provides automatic access to comprehensive distributed systems skills.
9+
10+
## When This Skill Activates
11+
12+
This skill auto-activates when you're working with:
13+
- Consensus algorithms (RAFT, Paxos)
14+
- CAP theorem, consistency models
15+
- CRDTs and eventual consistency
16+
- Vector clocks, causality
17+
- Replication and partitioning
18+
- Distributed locks and leader election
19+
- Gossip protocols
20+
- Probabilistic data structures
21+
22+
## Available Skills
23+
24+
### Quick Reference
25+
26+
The Distributed Systems category contains 15 skills:
27+
28+
1. **cap-theorem** - CAP theorem, consistency vs availability trade-offs
29+
2. **consensus-raft** - RAFT consensus, leader election, log replication
30+
3. **consensus-paxos** - Paxos consensus, Basic/Multi-Paxos
31+
4. **crdt-fundamentals** - Conflict-free Replicated Data Types basics
32+
5. **crdt-types** - Specific CRDT implementations (LWW, OR-Set, RGA)
33+
6. **vector-clocks** - Causality tracking, happens-before
34+
7. **logical-clocks** - Lamport clocks, logical time
35+
8. **eventual-consistency** - Consistency levels, quorums, BASE
36+
9. **conflict-resolution** - LWW, multi-value, semantic resolution
37+
10. **replication-strategies** - Primary-backup, multi-primary, chain, quorum
38+
11. **partitioning-sharding** - Hash/range/consistent hashing, rebalancing
39+
12. **distributed-locks** - Redlock, ZooKeeper locks, fencing tokens
40+
13. **leader-election** - Bully, ring, consensus-based election
41+
14. **gossip-protocols** - Epidemic protocols, failure detection
42+
15. **probabilistic-data-structures** - Bloom filters, HyperLogLog, Count-Min Sketch
43+
44+
### Load Full Category Details
45+
46+
For complete descriptions and workflows:
47+
48+
```bash
49+
cat skills/distributed-systems/INDEX.md
50+
```
51+
52+
This loads the full Distributed Systems category index with:
53+
- Detailed skill descriptions
54+
- Usage triggers for each skill
55+
- Common workflow combinations
56+
- Cross-references to related skills
57+
58+
### Load Specific Skills
59+
60+
Load individual skills as needed:
61+
62+
```bash
63+
cat skills/distributed-systems/cap-theorem.md
64+
cat skills/distributed-systems/consensus-raft.md
65+
cat skills/distributed-systems/crdt-fundamentals.md
66+
cat skills/distributed-systems/replication-strategies.md
67+
```
68+
69+
## Common Workflows
70+
71+
### Understanding Consistency Trade-offs
72+
```bash
73+
# CAP → Eventual consistency → Conflict resolution
74+
cat skills/distributed-systems/cap-theorem.md
75+
cat skills/distributed-systems/eventual-consistency.md
76+
cat skills/distributed-systems/conflict-resolution.md
77+
```
78+
79+
### Implementing Consensus
80+
```bash
81+
# RAFT → Leader election → Replication
82+
cat skills/distributed-systems/consensus-raft.md
83+
cat skills/distributed-systems/leader-election.md
84+
cat skills/distributed-systems/replication-strategies.md
85+
```
86+
87+
### Building Eventually Consistent Systems
88+
```bash
89+
# CRDTs → Vector clocks → Conflict resolution
90+
cat skills/distributed-systems/crdt-fundamentals.md
91+
cat skills/distributed-systems/vector-clocks.md
92+
cat skills/distributed-systems/conflict-resolution.md
93+
```
94+
95+
### Scaling Data
96+
```bash
97+
# Partitioning → Replication → Gossip
98+
cat skills/distributed-systems/partitioning-sharding.md
99+
cat skills/distributed-systems/replication-strategies.md
100+
cat skills/distributed-systems/gossip-protocols.md
101+
```
102+
103+
## Progressive Loading
104+
105+
This gateway skill enables progressive loading:
106+
- **Level 1**: Gateway loads automatically (you're here now)
107+
- **Level 2**: Load category INDEX.md for full overview
108+
- **Level 3**: Load specific skills as needed
109+
110+
## Usage Instructions
111+
112+
1. **Auto-activation**: This skill loads automatically when Claude Code detects distributed systems work
113+
2. **Browse skills**: Run `cat skills/distributed-systems/INDEX.md` for full category overview
114+
3. **Load specific skills**: Use bash commands above to load individual skills
115+
116+
---
117+
118+
**Next Steps**: Run `cat skills/distributed-systems/INDEX.md` to see full category details.
Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
# Distributed Systems Skills
2+
3+
## Category Overview
4+
5+
**Total Skills**: 15
6+
**Category**: distributed-systems
7+
8+
## Skills in This Category
9+
10+
### cap-theorem.md
11+
**Description**: CAP theorem fundamentals, consistency vs availability trade-offs, and practical implications for distributed system design
12+
13+
**Load this skill**:
14+
```bash
15+
cat skills/distributed-systems/cap-theorem.md
16+
```
17+
18+
---
19+
20+
### consensus-raft.md
21+
**Description**: RAFT consensus algorithm including leader election, log replication, safety guarantees, and implementation patterns
22+
23+
**Load this skill**:
24+
```bash
25+
cat skills/distributed-systems/consensus-raft.md
26+
```
27+
28+
---
29+
30+
### consensus-paxos.md
31+
**Description**: Paxos consensus algorithm including Basic Paxos, Multi-Paxos, roles, phases, and practical implementations
32+
33+
**Load this skill**:
34+
```bash
35+
cat skills/distributed-systems/consensus-paxos.md
36+
```
37+
38+
---
39+
40+
### crdt-fundamentals.md
41+
**Description**: Conflict-free Replicated Data Types (CRDTs) fundamentals including convergence, commutativity, and basic CRDT operations
42+
43+
**Load this skill**:
44+
```bash
45+
cat skills/distributed-systems/crdt-fundamentals.md
46+
```
47+
48+
---
49+
50+
### crdt-types.md
51+
**Description**: Specific CRDT implementations including LWW-Register, OR-Set, RGA, and collaborative text editing CRDTs
52+
53+
**Load this skill**:
54+
```bash
55+
cat skills/distributed-systems/crdt-types.md
56+
```
57+
58+
---
59+
60+
### vector-clocks.md
61+
**Description**: Vector clocks for tracking causality in distributed systems, detecting concurrent events, and resolving conflicts
62+
63+
**Load this skill**:
64+
```bash
65+
cat skills/distributed-systems/vector-clocks.md
66+
```
67+
68+
---
69+
70+
### logical-clocks.md
71+
**Description**: Lamport logical clocks for establishing happened-before ordering in distributed systems without synchronized physical clocks
72+
73+
**Load this skill**:
74+
```bash
75+
cat skills/distributed-systems/logical-clocks.md
76+
```
77+
78+
---
79+
80+
### eventual-consistency.md
81+
**Description**: Eventual consistency models, consistency levels, read/write quorums, and practical trade-offs in distributed systems
82+
83+
**Load this skill**:
84+
```bash
85+
cat skills/distributed-systems/eventual-consistency.md
86+
```
87+
88+
---
89+
90+
### conflict-resolution.md
91+
**Description**: Conflict resolution strategies including Last-Write-Wins, multi-value, semantic resolution, and application-specific merge functions
92+
93+
**Load this skill**:
94+
```bash
95+
cat skills/distributed-systems/conflict-resolution.md
96+
```
97+
98+
---
99+
100+
### replication-strategies.md
101+
**Description**: Data replication strategies including primary-backup, multi-primary, chain replication, and quorum-based replication
102+
103+
**Load this skill**:
104+
```bash
105+
cat skills/distributed-systems/replication-strategies.md
106+
```
107+
108+
---
109+
110+
### partitioning-sharding.md
111+
**Description**: Data partitioning and sharding strategies including hash-based, range-based, consistent hashing, and rebalancing
112+
113+
**Load this skill**:
114+
```bash
115+
cat skills/distributed-systems/partitioning-sharding.md
116+
```
117+
118+
---
119+
120+
### distributed-locks.md
121+
**Description**: Distributed locking patterns including Redis Redlock, ZooKeeper locks, lease-based locking, and fencing tokens
122+
123+
**Load this skill**:
124+
```bash
125+
cat skills/distributed-systems/distributed-locks.md
126+
```
127+
128+
---
129+
130+
### leader-election.md
131+
**Description**: Leader election algorithms including bully algorithm, ring algorithm, and consensus-based election with RAFT/Paxos
132+
133+
**Load this skill**:
134+
```bash
135+
cat skills/distributed-systems/leader-election.md
136+
```
137+
138+
---
139+
140+
### gossip-protocols.md
141+
**Description**: Gossip protocols for disseminating information, failure detection, and eventual consistency in large-scale distributed systems
142+
143+
**Load this skill**:
144+
```bash
145+
cat skills/distributed-systems/gossip-protocols.md
146+
```
147+
148+
---
149+
150+
### probabilistic-data-structures.md
151+
**Description**: Probabilistic data structures including Bloom filters, HyperLogLog, Count-Min Sketch for space-efficient approximations
152+
153+
**Load this skill**:
154+
```bash
155+
cat skills/distributed-systems/probabilistic-data-structures.md
156+
```
157+
158+
---
159+
160+
## Loading All Skills
161+
162+
```bash
163+
# List all skills in this category
164+
ls skills/distributed-systems/*.md
165+
166+
# Load specific skills
167+
cat skills/distributed-systems/cap-theorem.md
168+
cat skills/distributed-systems/consensus-raft.md
169+
cat skills/distributed-systems/crdt-fundamentals.md
170+
# ... and 12 more
171+
```
172+
173+
## Related Categories
174+
175+
See `skills/README.md` for the complete catalog of all categories and gateway skills.
176+
177+
---
178+
179+
**Browse**: This index provides a quick reference. Load the `discover-distributed-systems` gateway skill for common workflows and integration patterns.
180+
181+
```bash
182+
cat skills/discover-distributed-systems/SKILL.md
183+
```

0 commit comments

Comments
 (0)