← 返回 Skill 列表
extension
分类: 开发与工程API Key 暂未确认

saga-orchestration

实现用于分布式事务和跨聚合工作流的Saga模式。在协调多步骤业务流程、处理补偿事务或管理长时间运行...时使用。

person作者: jakexiaohubgithub

Saga Orchestration

Patterns for managing distributed transactions and long-running business processes.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Do not use this skill when

  • The task is unrelated to saga orchestration
  • You need a different domain or tool outside this scope

Use this skill when

  • Coordinating multi-service transactions
  • Implementing compensating transactions
  • Managing long-running business workflows
  • Handling failures in distributed systems
  • Building order fulfillment processes
  • Implementing approval workflows

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Example

After inventory reservation succeeds, a payment timeout is an unknown outcome. Query the provider using the original idempotency key before charging again or releasing inventory; record the resolution and retry compensation durably.