administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
When designing distributed systems for scalability, reliability, and consistency. Covers CAP/PACELC theorems, consistency models (strong, eventual, causal), replication patterns (leader-follower, multi-leader, leaderless), partitioning strategies (hash, range, geographic),
$ npx -y skills add ancoleman/ai-design-components --skill designing-distributed-systems --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/designing-distributed-systemsContext preview
The summary Claude sees to decide when to auto-load this skill.
When designing distributed systems for scalability, reliability, and consistency. Covers CAP/PACELC theorems, consistency models (strong, eventual, causal), replication patterns (leader-follower, multi-leader, leaderless), partitioning strategies (hash, range, geographic),
name: designing-distributed-systems description: When designing distributed systems for scalability, reliability, and consistency. Covers CAP/PACELC theorems, consistency models (strong, eventual, causal), replication patterns (leader-follower, multi-leader, leaderless), partitioning strategies (hash, range, geographic), transaction patterns (saga, event sourcing, CQRS), resilience patterns (circuit breaker, bulkhead), service discovery, and caching strategies for building fault-tolerant distributed architectures.
Design scalable, reliable, and fault-tolerant distributed systems using proven patterns and consistency models.
Distributed systems are the foundation of modern cloud-native applications. Understanding fundamental trade-offs (CAP theorem, PACELC), consistency models, replication patterns, and resilience strategies is essential for building systems that scale globally while maintaining correctness and availability.
Apply when:
**CAP Theorem:** In a distributed system experiencing a network partition, choose between Consistency (C) or Availability (A). Partition tolerance (P) is mandatory.
Network partitions WILL occur → Always design for P During partition: ├─ CP (Consistency + Partition Tolerance) │ Use when: Financial transactions, inventory, seat booking │ Trade-off: System unavailable during partition │ Examples: HBase, MongoDB (default), etcd │ └─ AP (Availability + Partition Tolerance) Use when: Social media, caching, analytics, shopping carts Trade-off: Stale reads possible, conflicts need resolution Examples: Cassandra, DynamoDB, Riak
**PACELC:** Extends CAP to consider normal operations (no partition).
Strong Consistency ◄─────────────────────► Eventual Consistency
│ │ │
Linearizable Causal Consistency Convergent
(Slowest, (Middle Ground, (Fastest,
Most Consistent) Causally Ordered) Eventually Consistent)**Strong Consistency (Linearizability):**
**Eventual Consistency:**
**Causal Consistency:**
**Bounded Staleness:**
**1. Leader-Follower (Single-Leader):**
**2. Multi-Leader:**
**3. Leaderless (Dynamo-style):**
**Hash Partitioning (Consistent Hashing):**
**Range Partitioning:**
**Geographic Partitioning:**
**Circuit Breaker:**
[Closed] → Normal operation │ (failures exceed threshold) ▼ [Open] → Fail fast (don't call failing service) │ (timeout expires) ▼ [Half-Open] → Try single request │ success → [Closed] │ failure → [Open]
**Bulkhead Isolation:**
**Timeout and Retry:**
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Repo: ancoleman/ai-design-components
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations.…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional,…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology,…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF,…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import…