Home / Market / architecture-paradigm-client-server

architecture-paradigm-client-server

Applies client-server architecture for web/mobile apps

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: architecture-paradigm-client-server description: Applies client-server architecture for web/mobile apps version: 1.10.3 triggers:

metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/archetypes", "emoji": "\ud83c\udfd7\ufe0f"}} source: claude-night-market source_plugin: archetypes

---

> Night Market Skill: ported from claude-night-market/archetypes. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

The Client-Server and Peer-to-Peer Paradigms

When to Employ This Paradigm

When NOT To Use

archetypes:architecture-paradigm-modular-monolith)

archetypes:architecture-paradigms)

Adoption Steps

  1. Define Responsibilities: Clearly delineate which logic and data reside on the client versus the server, with the goal of minimizing duplication.
  2. Document the Contracts: Formally document all APIs, data schemas, authentication flows, and any capability negotiation required for handling different client versions.
  3. Plan for Version Skew: Implement a strategy to manage different client and server versions, such as using feature flags, Accept headers for content negotiation, or semantic versioning for APIs.
  4. Address Connectivity Issues: If the application is not purely client-server, design for intermittent connectivity. This may involve implementing offline caching, data synchronization protocols, or peer discovery and membership services.
  5. Secure All Communications: Enforce the use of TLS for all data in transit. Implement authorization policies, rate limiting, and detailed telemetry for every endpoint.

Key Deliverables

Risks & Mitigations

Concrete Components

Vocabulary for the tools and abstractions an implementation of this paradigm tends to carry. Not dependencies, and not `tools:` frontmatter.

Exit Criteria

boundaries, and the API versioning strategy chosen.

all documented endpoints or capabilities.

documented before any client or server code is written.

last-write-wins, or consensus mechanism) is named in the ADR.