Home / Market / architecture-paradigm-service-based

architecture-paradigm-service-based

Applies coarse-grained service architecture for deployment independence

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: architecture-paradigm-service-based description: Applies coarse-grained service architecture for deployment independence 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 Service-Based Architecture Paradigm

When To Use

When NOT To Use

When to Employ This Paradigm

Adoption Steps

  1. Group Capabilities: Bundle related business functions into a small set of well-defined services, each with a designated owner.
  2. Define Service Contracts: Publish formal specifications using standards like OpenAPI or AsyncAPI, including Service Level Agreements (SLAs) and a clear versioning strategy.
  3. Control Database Schemas: Even when services share a database, assign explicit ownership for each schema or table. Gate all breaking changes through a formal review process.
  4. Establish Service Mediation: Use a service registry or an API gateway to handle routing, authentication, and observability.
  5. Plan for Evolution: Identify architectural "hotspots" that are likely candidates for being split into more granular services in the future.

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

coordination mechanism (service registry or API gateway) before any service is deployed independently.

for every inter-service interaction point.

owner merges breaking interface changes.

any service reading another service's tables without a view or replication layer is flagged as an architectural violation.