Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sweetteabittersugar-microservices
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/microservices
What's inside
- Skill name
microservices- Description
- 微服务架构模式 —— 服务拆分原则、通信模式、数据一致性与治理框架
- License
- MIT
- Instructions
- 31 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- SKILL.md.disabled
SKILL.md (first lines)
# 微服务架构模式 ## 概述 提供微服务架构从设计到运维的完整参考,覆盖服务拆分策略、通信模式选择、数据一致性方案和服务治理实践。 ## 使用场景 - 评估是否应该从单体迁移到微服务 - 确定服务边界和拆分粒度 - 选择服务间通信方式(同步/异步) - 设计分布式数据一致性方案 ## 核心原则 1. **先单体再拆分**:不确定边界时从模块化单体开始。边界稳定后再提取为独立服务。不要过早微服务化。 2. **按业务能力拆分**:每个微服务对应一个业务领域(DDD 有界上下文),而非按技术层拆分。 3. **数据库独立**:每个微服务拥有自己的数据库(或 Schema),共享数据库会导致紧耦合。 4. **异步通信优先**:服务间用消息队列解耦,减少同步调用链。同步调用仅用于需要即时结果的场景。 5. **最终一致性接受**:分布式系统中强一致性代价高昂。业务上接受短暂不一致,通过补偿/对账保证最终一致。 ## 通信模式 - **同步**:REST API、gRPC —— 适合查询类操作,需要即时响应 - **异步**:消息队列(RabbitMQ/Kafka)、事件总线 —— 适合命令类操作,解耦服务 - **编排 vs 编排**:Choreography(事件驱动无中心)vs Orchestration(Saga 编排器协调) ## 检查清单 - [ ] 是否有明确的理由选择微服务而非单体? - [ ] 服务边界是否与业务领域边界对齐? - [ ] 每个服务是否有独立数据库? - [ ] 分布式事务是否采用了 Saga 或其他最终一致性方案? - [ ] 是否有服务发现、负载均衡、配置中心的治理方案?
From Sweetteabittersugar/agency, MIT.
More from Sweetteabittersugar/agency
- 0.555score
architecture-patterns
Sweetteabittersugar
架构设计模式参考 —— 常见架构风格的决策框架、优劣对比与适用场景
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
browser-compatibility
Sweetteabittersugar
浏览器兼容性检查 —— 目标浏览器覆盖率、特性支持度验证与降级策略
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
caching-strategy
Sweetteabittersugar
缓存策略参考 —— 多级缓存架构、失效策略、缓存穿透/击穿/雪崩防护
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
database-design
Sweetteabittersugar
数据库设计规范 —— 范式设计、索引策略、分库分表、命名约定与迁移管理
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
dependency-audit
Sweetteabittersugar
依赖审计方法论 —— CVE 扫描、许可证合规、版本锁定与升级策略
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
docker-patterns
Sweetteabittersugar
Docker 最佳实践 —— 多阶段构建、镜像层优化、安全运行、编排模式
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
e2e-testing
Sweetteabittersugar
端到端测试实战 —— 关键用户流程覆盖、测试数据管理、环境隔离与 Playwright/Cypress 最佳实践
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
error-handling-patterns
Sweetteabittersugar
错误处理模式 —— 异常分类体系、重试与降级策略、错误码规范与用户友好提示
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
health-check-patterns
Sweetteabittersugar
健康检查模式 —— 存活探针、就绪探针、依赖健康检查与服务健康度仪表板
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
parallel-execution
Sweetteabittersugar
并行执行方法论 —— 独立任务识别、并行策略、结果合并与冲突避免
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
query-optimization
Sweetteabittersugar
查询优化指南 —— 慢查询分析、索引调优、执行计划解读与 N+1 问题治理
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
rag-patterns
Sweetteabittersugar
RAG 模式 —— 检索增强生成架构设计、分块策略、向量检索优化与评估方法
SkillBFreshness: B★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jun 10, 2026 (4 months ago)
- Last release
- Aug 24, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Sweetteabittersugar/agency
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Sweetteabittersugar
- 0.555score
browser-compatibility
Sweetteabittersugar
浏览器兼容性检查 —— 目标浏览器覆盖率、特性支持度验证与降级策略
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
caching-strategy
Sweetteabittersugar
缓存策略参考 —— 多级缓存架构、失效策略、缓存穿透/击穿/雪崩防护
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
database-design
Sweetteabittersugar
数据库设计规范 —— 范式设计、索引策略、分库分表、命名约定与迁移管理
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
dependency-audit
Sweetteabittersugar
依赖审计方法论 —— CVE 扫描、许可证合规、版本锁定与升级策略
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
docker-patterns
Sweetteabittersugar
Docker 最佳实践 —— 多阶段构建、镜像层优化、安全运行、编排模式
SkillBFreshness: B★ 3Claude Code +9 - 0.555score
architecture-patterns
Sweetteabittersugar
架构设计模式参考 —— 常见架构风格的决策框架、优劣对比与适用场景
SkillBFreshness: B★ 3Claude Code +9
Cite this page
microservices skill. Agent Mart. https://agentmart.dev/skills/sweetteabittersugar-microservices (last updated 2026-10-24)