Agent skill

Designing Distributed Systems

by ancoleman in ancoleman/ai-design-components

When designing distributed systems for scalability, reliability, and consistency.

MITAuto-check passedBackend & APIs

Install Designing Distributed Systems

skills CLI
$ npx skills add ancoleman/ai-design-components --skill designing-distributed-systems -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ancoleman/ai-design-components designing-distributed-systems --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ancoleman/ai-design-components.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/designing-distributed-systems .claude/skills/designing-distributed-systems && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
designing-distributed-systems
GitHub stars
526
Token cost
~4.3k tokens
SKILL.md length
1,429 words
Files
23 (incl. references)
Skills in repo
75
Repo updated
First seen
Licence
MIT

At a glance

When designing distributed systems for scalability, reliability, and consistency.

  • Tasks that involve Event-driven systems
  • SKILL.md covers Purpose, When to Use This Skill, Core Concepts and Decision Frameworks, plus 5 more sections
  • Runs Python scripts from its folder
  • Tasks that involve Microservices

What it does

Designing Distributed Systems is an agent skill from ancoleman/ai-design-components. 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.

Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 30 other files, including reference files (for example `examples/circuit-breaker/circuit_breaker.py`, `examples/consistent-hashing/consistent_hash.py` and `examples/cqrs/cqrs_example.py`).

It sits in Backend & APIs, covering Event-driven systems, Microservices and Caching. The repository describes itself as: Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude. The licence is MIT.

When your agent uses it

  • Tasks that involve Event-driven systems
  • Tasks that involve Microservices
  • Tasks that involve Caching

Example prompts

  • “/designing-distributed-systems”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 76551b7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Designing Distributed Systems loads about 4.3k tokens when it runs, and up to ~32k if it reads all its reference files. Until then it costs about 125 tokens; SKILL.md has 1,429 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~125
When it runs · the whole SKILL.md, loaded when a task matches
~4.3k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~32k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ancoleman/ai-design-components at commit 76551b7, republished under its MIT licence (© ancoleman). 1,429 words, ~4,282 tokens.

Download SKILL.mdSave it as .claude/skills/designing-distributed-systems/SKILL.md (or your agent's skills folder). This skill also uses 22 other files; get the full folder from GitHub.
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.

Designing Distributed Systems

Design scalable, reliable, and fault-tolerant distributed systems using proven patterns and consistency models.

Purpose

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.

When to Use This Skill

Apply when:

  • Designing microservices architectures with multiple services
  • Building systems that must scale across multiple datacenters or regions
  • Choosing between consistency vs availability during network partitions
  • Selecting replication strategies (single-leader, multi-leader, leaderless)
  • Implementing distributed transactions (saga pattern, event sourcing, CQRS)
  • Designing partition-tolerant systems with proper consistency guarantees
  • Building resilient services with circuit breakers, bulkheads, retries
  • Implementing service discovery and inter-service communication

Core Concepts

CAP Theorem Fundamentals

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).

  • If Partition: Choose Availability (A) or Consistency (C)
  • Else (normal): Choose Latency (L) or Consistency (C)
Consistency Models Spectrum
Strong Consistency ◄─────────────────────► Eventual Consistency
      │                    │                      │
  Linearizable      Causal Consistency     Convergent
  (Slowest,         (Middle Ground,        (Fastest,
   Most Consistent)  Causally Ordered)     Eventually Consistent)

Strong Consistency (Linearizability):

  • All operations appear atomically in sequential order
  • Reads always return most recent write
  • Use for: Bank balances, inventory stock, seat booking
  • Trade-off: Higher latency, reduced availability

Eventual Consistency:

  • If no new updates, all replicas eventually converge
  • Use for: Social feeds, product catalogs, user profiles, DNS
  • Trade-off: Stale reads possible, conflict resolution needed

Causal Consistency:

  • Causally related operations seen in same order by all nodes
  • Use for: Chat apps, collaborative editing, comment threads
  • Trade-off: More complex than eventual, requires causality tracking

Bounded Staleness:

  • Staleness bounded by time or version count
  • Use for: Real-time dashboards, leaderboards, monitoring
  • Trade-off: Must monitor lag, more complex than eventual
Replication Patterns

1. Leader-Follower (Single-Leader):

  • All writes to leader, replicated to followers
  • Followers handle reads (load distribution)
  • Synchronous: Wait for follower ACK (strong consistency, higher latency)
  • Asynchronous: Don't wait (eventual consistency, possible data loss)
  • Use for: Most common pattern, strong consistency with sync replication

2. Multi-Leader:

  • Multiple leaders accept writes in different datacenters
  • Leaders replicate to each other
  • Conflict resolution required: Last-Write-Wins, application merge, vector clocks
  • Use for: Multi-datacenter, low write latency, geo-distributed users
  • Trade-off: Conflict resolution complexity

3. Leaderless (Dynamo-style):

  • No single leader, quorum-based reads/writes
  • Quorum rule: W + R > N (W=write quorum, R=read quorum, N=replicas)
  • Example: N=5, W=3, R=2 → Strong consistency (overlap guaranteed)
  • Use for: Maximum availability, partition tolerance
  • Trade-off: Complexity, read repair needed
Partitioning Strategies

Hash Partitioning (Consistent Hashing):

  • Key → Hash(Key) → Partition assignment
  • Even distribution, minimal rebalancing when nodes added/removed
  • Use for: Point queries by ID, even distribution critical
  • Examples: Cassandra, DynamoDB, Redis Cluster

Range Partitioning:

  • Key ranges assigned to partitions (A-F, G-M, N-S, T-Z)
  • Enables range queries, ordered data
  • Risk: Hot spots if data skewed
  • Use for: Time-series data, leaderboards, range scans
  • Examples: HBase, Bigtable

Geographic Partitioning:

  • Partition by location (US-East, EU-West, APAC)
  • Use for: Data locality, GDPR compliance, low latency
  • Examples: Spanner, Cosmos DB
Resilience Patterns

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]
  • Prevents cascading failures
  • Fast-fail instead of waiting for timeout
  • See references/resilience-patterns.md

Bulkhead Isolation:

  • Isolate resources (thread pools, connection pools)
  • Failure in one partition doesn't affect others
  • Like ship compartments preventing total flooding

Timeout and Retry:

  • Timeout: Set deadlines, fail fast if exceeded
  • Retry: Exponential backoff with jitter
  • Idempotency: Ensure safe retry (critical)

Rate Limiting and Backpressure:

  • Protect services from overload
  • Token bucket, leaky bucket algorithms
  • Backpressure: Signal upstream to slow down
Transaction Patterns

Saga Pattern:

  • Coordinate distributed transactions across services
  • No distributed 2PC (two-phase commit)

Choreography: Services react to events

Order Service → OrderCreated event
Payment Service → listens → PaymentProcessed event
Inventory Service → listens → InventoryReserved event
(Compensating: if payment fails → InventoryReleased event)

Orchestration: Central coordinator

Saga Orchestrator:
1. Call Order Service
2. Call Payment Service
3. Call Inventory Service
(If step fails → call compensating transactions in reverse)

Event Sourcing:

  • Store state changes as immutable events
  • Rebuild state by replaying events
  • Audit trail, time travel, debugging
  • Trade-off: Query complexity, snapshot optimization

CQRS (Command Query Responsibility Segregation):

  • Separate read and write models
  • Write model: Normalized, transactional
  • Read model: Denormalized, cached, optimized
  • Use for: Different read/write patterns, high read:write ratio (10:1+)
  • Often paired with Event Sourcing
Service Discovery

Client-Side Discovery:

  • Client queries service registry (Consul, etcd, Eureka)
  • Client load balances and calls service directly
  • Pro: No proxy overhead
  • Con: Client complexity

Server-Side Discovery:

  • Client calls load balancer
  • Load balancer queries registry and routes
  • Pro: Simple clients
  • Con: Load balancer single point of failure

Service Mesh:

  • Sidecar proxies handle discovery, routing, retry, circuit breaking
  • Examples: Istio, Linkerd
  • Pro: Decouples communication logic from services
  • Con: Operational complexity
Caching Strategies

Cache-Aside (Lazy Loading):

Read:
1. Check cache → hit? return
2. Miss? Query database
3. Store in cache, return

Write-Through:

Write:
1. Write to cache
2. Cache writes to database synchronously
3. Return success

Write-Behind (Write-Back):

Write:
1. Write to cache
2. Return success
3. Cache writes to database asynchronously (batched)

Cache Invalidation:

  • TTL (Time-To-Live): Expire after duration
  • Event-based: Invalidate on data change
  • Manual: Explicit invalidation on update

Decision Frameworks

Choosing Consistency Model
Decision Tree:
├─ Money involved? → Strong Consistency
├─ Double-booking unacceptable? → Strong Consistency
├─ Causality important (chat, edits)? → Causal Consistency
├─ Read-heavy, stale tolerable? → Eventual Consistency
└─ Default? → Eventual (then strengthen if needed)
Choosing Replication Pattern
├─ Single region writes? → Leader-Follower
├─ Multi-region writes + conflicts OK? → Multi-Leader
├─ Multi-region writes + no conflicts? → Leader-Follower with failover
└─ Maximum availability? → Leaderless (quorum)
Choosing Partitioning Strategy
├─ Need range scans? → Range Partitioning (risk: hot spots)
├─ Data residency requirements? → Geographic Partitioning
└─ Default? → Hash Partitioning (consistent hashing)

Quick Reference Tables

CAP/PACELC System Comparison
SystemIf PartitionElse (Normal)Use Case
SpannerPCEC (strong)Global SQL
DynamoDBPAEL (eventual)High availability
CassandraPAEL (tunable)Wide-column store
MongoDBPCEC (default)Document store
Cosmos DBPA/PCEL/EC (5 levels)Multi-model
Consistency Model Use Cases
Use CaseConsistency Model
Bank account balanceStrong (Linearizable)
Seat booking (airline)Strong (Linearizable)
Inventory stock countStrong or Bounded
Shopping cartEventual
Product catalogEventual
Collaborative editingCausal
Chat messagesCausal
Social media likesEventual
DNS recordsEventual
Quorum Configurations
ConfigurationWRNConsistencyUse Case
Strong335StrongBanking
Balanced325StrongDefault
Write-heavy235StrongLogs
Read-heavy315EventualCache
Max Avail115EventualAnalytics
Show full SKILL.md (567 more words)Show less

Progressive Disclosure

Detailed References

For comprehensive coverage of specific topics, see:

  • references/cap-pacelc-theorem.md - CAP and PACELC deep-dive with PACELC matrix
  • references/consistency-models.md - Strong, eventual, causal, bounded staleness patterns
  • references/replication-patterns.md - Leader-follower, multi-leader, leaderless replication
  • references/partitioning-strategies.md - Hash, range, geographic partitioning with examples
  • references/consensus-algorithms.md - Raft and Paxos overview (when consensus needed)
  • references/resilience-patterns.md - Circuit breaker, bulkhead, timeout, retry, rate limiting
  • references/saga-pattern.md - Choreography vs orchestration with working examples
  • references/event-sourcing-cqrs.md - Event sourcing and CQRS implementation patterns
  • references/service-discovery.md - Client-side, server-side, service mesh patterns
  • references/caching-strategies.md - Cache-aside, write-through, write-behind, invalidation
Working Examples

Complete, runnable examples demonstrating patterns:

  • examples/consistent-hashing/ - Consistent hashing implementation with virtual nodes
  • examples/circuit-breaker/ - Circuit breaker pattern with state transitions
  • examples/saga-orchestration/ - Saga orchestrator with compensating transactions
  • examples/event-sourcing/ - Event store with replay and snapshots
  • examples/cqrs/ - CQRS with separate read/write models
  • examples/service-discovery/ - Consul-based service discovery and registration
ASCII Diagrams

Visual representations for complex concepts:

  • diagrams/cap-theorem.txt - CAP theorem decision tree
  • diagrams/replication-topologies.txt - Leader-follower, multi-leader, leaderless
  • diagrams/saga-flow.txt - Saga choreography and orchestration flows
  • diagrams/caching-patterns.txt - Cache-aside, write-through, write-behind

Integration with Other Skills

Related Skills:

For Kubernetes deployment: See kubernetes-operations skill for pod anti-affinity, service mesh For infrastructure: See infrastructure-as-code skill for deploying distributed systems For databases: See databases-sql and databases-nosql for replication configuration For messaging: See message-queues skill for event-driven architectures, saga orchestration For monitoring: See observability skill for distributed tracing, monitoring patterns For testing: See performance-engineering skill for load testing distributed systems For security: See security-hardening skill for mTLS, service authentication

Common Patterns

Multi-Datacenter Pattern
1. Choose replication: Multi-leader or Leaderless
2. Partition data geographically
3. Implement conflict resolution (LWW, vector clocks, app-specific)
4. Monitor replication lag
5. Add circuit breakers between datacenters
Event-Driven Saga Pattern
1. Define saga steps and compensating actions
2. Choose choreography (events) or orchestration (coordinator)
3. Implement idempotent handlers (retries safe)
4. Publish events with outbox pattern (transactional)
5. Monitor saga progress and timeouts
High-Availability Pattern
1. Use leaderless replication (N=5, W=3, R=2)
2. Partition with consistent hashing
3. Add circuit breakers for failing nodes
4. Implement read repair and anti-entropy
5. Monitor quorum health

Best Practices

Design for Failure:

  • Network partitions will occur - always design for partition tolerance
  • Use timeouts, retries with exponential backoff
  • Implement circuit breakers to prevent cascading failures
  • Test chaos engineering scenarios (partition nodes, inject latency)

Choose Consistency Carefully:

  • Default to eventual consistency, strengthen only where needed
  • Strong consistency has real costs (latency, availability)
  • Use bounded staleness for middle ground

Idempotency is Critical:

  • Design operations to be safely retryable
  • Use unique request IDs for deduplication
  • Essential for saga compensating transactions

Monitor and Observe:

  • Distributed tracing with correlation IDs
  • Monitor replication lag, quorum health
  • Alert on circuit breaker state changes
  • Track saga progress and failures

Partition Strategically:

  • Hash partitioning for even distribution
  • Range partitioning for range queries (monitor hot spots)
  • Geographic partitioning for compliance, latency

Version Everything:

  • Event schemas evolve - use versioning
  • API versioning for service compatibility
  • Database schema migrations in distributed systems

Anti-Patterns to Avoid

Distributed Monolith:

  • Microservices with tight coupling
  • Shared database across services
  • Fix: Database per service, async communication

Two-Phase Commit (2PC) Overuse:

  • Slow, blocking, reduces availability
  • Fix: Use saga pattern for distributed transactions

Ignoring Network Failures:

  • Assuming network is reliable
  • Fix: Always add timeouts, retries, circuit breakers

Strong Consistency Everywhere:

  • Unnecessary latency and complexity
  • Fix: Use eventual consistency by default, strengthen where needed

No Conflict Resolution Strategy:

  • Multi-leader without handling conflicts
  • Fix: Choose LWW, vector clocks, or app-specific merge

Cache Stampede:

  • TTL expires, all clients query database
  • Fix: Probabilistic early expiration, request coalescing

Troubleshooting

Replication Lag Too High:

  • Check network bandwidth between datacenters
  • Monitor write throughput on leader
  • Consider async replication or multi-leader

Split-Brain Scenario:

  • Multiple leaders elected during partition
  • Fix: Use consensus (Raft, Paxos) for leader election
  • Implement fencing tokens to prevent dual writes

Hot Partitions:

  • Range partitioning with skewed data
  • Fix: Add hash component, manually redistribute, use composite keys

Saga Timeout/Stalled:

  • Service unavailable, saga can't complete
  • Fix: Implement saga timeout with automated rollback
  • Dead letter queue for manual intervention

Conflict Resolution Failures:

  • Multi-leader conflicts unhandled
  • Fix: Implement clear resolution strategy (LWW, merge, manual)
  • Monitor conflict rate, alert on spikes

© ancoleman, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 22 other files (references) in skills/designing-distributed-systems of ancoleman/ai-design-components.

  • SKILL.md
  • diagrams/caching-patterns.txt
  • diagrams/cap-theorem.txt
  • diagrams/replication-topologies.txt
  • diagrams/saga-flow.txt
  • examples/circuit-breaker/circuit_breaker.py
  • examples/consistent-hashing/consistent_hash.py
  • examples/cqrs/cqrs_example.py
  • examples/event-sourcing/event_store.py
  • examples/saga-orchestration/saga_orchestrator.py
  • examples/service-discovery/consul_discovery.py
  • outputs.yaml
  • references
  • … and 10 more

Open the folder on GitHubat commit 76551b7

Compare with similar skills

Designing Distributed Systems next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Designing Distributed Systems compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Designing Distributed Systems this skillancoleman/ai-design-components526—~4.3kAutomated safety check: PassMIT
System Designninehills/skills280—~4.7kAutomated safety check: PassMIT
System Designwondelai/skills2.4k—~4kAutomated safety check: PassMIT
Azure Resource Manager Redis Dotnetmicrosoft/skills3.1k5 repos~3kAutomated safety check: PassMIT
Stripe Projectsfossasia/eventyay1.7k5 repos~2kAutomated safety check: NotesApache-2.0
AWS Serverless Edazxkane/aws-skills3674 repos~3.2kAutomated safety check: PassMIT

Similar skills

  • System Design

    ninehills/skills

    Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues.

    280 GitHub stars~4.7k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • System Design

    wondelai/skills

    Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues.

    2.4k GitHub stars~4k tokensUpdated 28 days ago
    Backend & APIsAuto-check passed
  • Official

    Azure Resource Manager SDK for Redis in .NET. An agent skill from microsoft/skills.

    3.1k GitHub starsUsed in 5 repos~3k tokens
    DatabasesAuto-check passed
  • Stripe Projects

    fossasia/eventyay

    A skill your agent uses when the user wants to provision infrastructure or third-party services using Stripe Projects.

    1.7k GitHub starsUsed in 5 repos~2k tokens
    Backend & APIsAuto-check: notes
  • AWS Serverless Eda

    zxkane/aws-skills

    AWS serverless and event-driven architecture expert based on Well-Architected Framework.

    367 GitHub starsUsed in 4 repos~3.2k tokens
    Backend & APIsAuto-check passed
  • Foundatio

    FoundatioFx/Foundatio

    A skill your agent uses when working with Foundatio infrastructure abstractions for .NET -- caching, queuing, messaging, file storage, distributed locking, or background jobs.

    2.1k GitHub stars~3.9k tokensUpdated today
    Backend & APIsAuto-check passed

More from ancoleman/ai-design-components

All 75 skills in this repo
  • Building AI Chat

    ancoleman/ai-design-components

    Builds AI chat interfaces and conversational UI with streaming responses, context management, and multi-modal support.

    526 GitHub stars~3.4k tokensUpdated 10 mo ago
    Auto-check passed
  • Building Forms

    ancoleman/ai-design-components

    Builds form components and data collection interfaces including contact forms, registration flows, checkout processes, surveys, and settings pages.

    526 GitHub stars~3.7k tokensUpdated 10 mo ago
    Auto-check passed
  • Building Tables

    ancoleman/ai-design-components

    Builds tables and data grids for displaying tabular information, from simple HTML tables to complex enterprise data grids.

    526 GitHub stars~1.8k tokensUpdated 10 mo ago
    Auto-check passed
  • Creating Dashboards

    ancoleman/ai-design-components

    Creates comprehensive dashboard and analytics interfaces that combine data visualization, KPI cards, real-time updates, and interactive layouts.

    526 GitHub stars~3.5k tokensUpdated 10 mo ago
    Auto-check passed
  • Designing Layouts

    ancoleman/ai-design-components

    Designs layout systems and responsive interfaces including grid systems, flexbox patterns, sidebar layouts, and responsive breakpoints.

    526 GitHub stars~1.7k tokensUpdated 10 mo ago
    Auto-check passed
  • Displaying Timelines

    ancoleman/ai-design-components

    Displays chronological events and activity through timelines, activity feeds, Gantt charts, and calendar interfaces.

    526 GitHub stars~2.7k tokensUpdated 10 mo ago
    Auto-check passed

Categories

Questions about Designing Distributed Systems

What does Designing Distributed Systems do?

When designing distributed systems for scalability, reliability, and consistency. Designing Distributed Systems is an agent skill from ancoleman/ai-design-components. When designing distributed systems for scalability, reliability, and consistency.

When should I use Designing Distributed Systems?

Designing Distributed Systems fits situations like: tasks that involve Event-driven systems; tasks that involve Microservices; tasks that involve Caching.

How do I install Designing Distributed Systems in Claude Code?

Run `npx skills add ancoleman/ai-design-components --skill designing-distributed-systems -a claude-code`. Or copy the skill folder (skills/designing-distributed-systems in ancoleman/ai-design-components) into .claude/skills/designing-distributed-systems in your project. Claude Code loads it when a task matches its description.

How do I install Designing Distributed Systems in Codex?

Run `npx skills add ancoleman/ai-design-components --skill designing-distributed-systems -a codex`. Or copy the skill folder (skills/designing-distributed-systems in ancoleman/ai-design-components) into .agents/skills/designing-distributed-systems in your project. Codex loads it when a task matches its description.

Can I use Designing Distributed Systems in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ancoleman/ai-design-components --skill designing-distributed-systems -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/designing-distributed-systems, .gemini/skills/designing-distributed-systems, .github/skills/designing-distributed-systems and .opencode/skills/designing-distributed-systems in your project.

What does Designing Distributed Systems need to run?

Going by SKILL.md and its folder, Designing Distributed Systems needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Designing Distributed Systems access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Designing Distributed Systems safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Designing Distributed Systems use?

Designing Distributed Systems is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Designing Distributed Systems use?

About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 28k tokens, read only when the agent opens those files.

What are the alternatives to Designing Distributed Systems?

Skills that share tags, products or a category with Designing Distributed Systems: System Design (ninehills/skills, 280 stars), System Design (wondelai/skills, 2.4k stars), Azure Resource Manager Redis Dotnet (microsoft/skills, 3.1k stars) and Stripe Projects (fossasia/eventyay, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Designing Distributed Systems?

ancoleman (a GitHub user) maintains it in ancoleman/ai-design-components, which has 526 GitHub stars. The repository holds 75 skills in this directory. The repository was last updated on December 11, 2025.

Source: ancoleman/ai-design-components on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.