返回顶部
m

microservices

Deep microservices workflow—service boundaries, data ownership, synchronous vs async integration, contracts, deployment independence, and operational complexity. Use when splitting a monolith, reviewing service boundaries, or debugging distributed failures.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
155
下载量
0
收藏
概述
安装方式
版本历史

microservices

# Microservices (Deep Workflow) Microservices trade **code simplicity** for **operational and contract complexity**. Justify each boundary with **ownership** and **data isolation**—not fashion. ## When to Offer This Workflow **Trigger conditions:** - Splitting the monolith; coupling blocks independent deploys - Latency cascades, partial failures, contract breaks - Conway’s law alignment between teams and services **Initial offer:** Use **six stages**: (1) goals & constraints, (2) boundaries & data ownership, (3) integration patterns, (4) contracts & versioning, (5) reliability patterns, (6) ops & governance). Confirm org maturity and platform capabilities. --- ## Stage 1: Goals & Constraints **Goal:** Why not a modular monolith first? ### Valid drivers - Independent deploy cadence per team - Different scaling profiles or stacks - Clear domain ownership and blast-radius isolation ### Costs - Distributed transactions, harder debugging, broader test matrix **Exit condition:** Explicit assumption that modular monolith was considered. --- ## Stage 2: Boundaries & Data Ownership **Goal:** One service owns each aggregate’s write path; no shared writable tables across services. ### Practices - Bounded contexts from DDD when helpful **Exit condition:** Entity → owning service map. --- ## Stage 3: Integration Patterns **Goal:** Sync HTTP/gRPC vs async events—match consistency needs. ### Patterns - Sagas or outbox for multi-step business processes **Exit condition:** Sequence diagrams for top three flows. --- ## Stage 4: Contracts & Versioning **Goal:** Backward-compatible evolution; consumer-driven contracts optional. ### Practices - Deprecation policy published --- ## Stage 5: Reliability Patterns **Goal:** Timeouts, retries with backoff, circuit breakers, bulkheads; idempotent handlers for retries. --- ## Stage 6: Ops & Governance **Goal:** Service catalog, SLIs on dependency edges, golden paths for new services. --- ## Final Review Checklist - [ ] Boundary and data ownership clear - [ ] Integration style matches consistency needs - [ ] Contract versioning policy exists - [ ] Reliability patterns applied at boundaries - [ ] Ops ownership and catalog in place ## Tips for Effective Guidance - Microservices without delivery maturity often fail—say so explicitly. - Shared databases are hidden coupling—flag them. - The network is not reliable—design for partial failure. ## Handling Deviations - Small teams: strong bias toward modular monolith or few services.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 microservices-1776028745 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 microservices-1776028745 技能

通过命令行安装

skillhub install microservices-1776028745

下载 Zip 包

⬇ 下载 microservices v1.0.0

文件大小: 1.94 KB | 发布时间: 2026-4-13 11:02

v1.0.0 最新 2026-4-13 11:02
- Initial release of the "microservices" skill, providing a deep workflow for evaluating and implementing microservice architectures.
- Covers key areas: service boundaries, data ownership, integration patterns, contracts and versioning, reliability, and operational governance.
- Includes a six-stage workflow with clear goals, best practices, and exit conditions for each stage.
- Provides a practical review checklist to ensure all critical aspects are addressed before proceeding.
- Offers guidance for effective adoption and highlights common pitfalls such as hidden coupling and inadequate operational maturity.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部