This is your reference implementation for system design patterns and distributed systems concepts. It covers the fundamentals you'd expect in a senior engineering interview: CAP theorem, circuit breakers, rate limiting, caching strategies, database sharding, and load balancing algorithms. The code examples are clean and practical, like the circuit breaker with three states and the cache-aside pattern implementation. What I appreciate here is it's not just theory. You get working Python implementations of patterns you can actually adapt, from singleton and factory to write-through caching and weighted round-robin load balancing. It's basically a cheat sheet for building scalable systems, with enough depth to be useful but not so much you're drowning in academic theory.

skills.sh installs
176
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill design-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

System Design Expert

Expert guidance for system design, software architecture, scalability patterns, and distributed systems.

Core Concepts

Architecture Patterns

  • Microservices vs Monolithic
  • Event-driven architecture
  • CQRS and Event Sourcing
  • Layered architecture
  • Hexagonal architecture
  • Service-oriented architecture (SOA)

Scalability

  • Horizontal vs vertical scaling
  • Load balancing strategies
  • Caching layers
  • Database sharding
  • Read replicas
  • CDN usage

Distributed Systems

  • CAP theorem
  • Consistency models
  • Distributed consensus (Raft, Paxos)
  • Message queues
  • Service discovery
  • Circuit breakers

Design Patterns

# Singleton Pattern
class DatabaseConnection:
    _instance = None
    _lock = threading.Lock()

    def __new__(cls):
        if cls._instance is None:
            with cls._lock:
                if cls._instance is None:
                    cls._instance = super().__new__(cls)
                    cls._instance._initialize()
        return cls._instance

    def _initialize(self):
        self.connection = self._create_connection()

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Categories
Code Review & Quality, Design & UI/UX
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99
1borghei avatarcto-advisorborghei/claude-skillsTechnical leadership guidance for engineering teams, architecture decisions, and technology strategy. Use when assessing technical debt, scaling engineering tea175skills.sh installs
2xy121718 avatarbaoyu-infographicxy121718/baoyu-skillsGenerates professional infographics with 21 layout types and 20 visual styles. Analyzes content, recommends layout×style combinations, and generates publication175skills.sh installs
3aiskillstore avatarmcp-integrationaiskillstore/marketplaceModel Context Protocol (MCP) integration specialist. Use when creating MCP server configurations, implementing MCP integrations, or optimizing MCP performance. 173skills.sh installs
4charleswiltgen avataraxiom-textkit-refcharleswiltgen/axiomTextKit 2 complete reference (architecture, migration, Writing Tools, SwiftUI TextEditor) through iOS 26173skills.sh installs
5madappgang avataropenrouter-trending-modelsmadappgang/claude-codeFetch trending programming models from OpenRouter rankings. Use when selecting models for multi-model review, updating model recommendations, or researching cur173skills.sh installs
6xy121718 avatarbaoyu-article-illustratorxy121718/baoyu-skillsAnalyzes article structure, identifies positions requiring visual aids, generates illustrations with Type × Style two-dimension approach. Use when user asks to 173skills.sh installs