← 返回 Skills 市场
mike47512

Event Driven

作者 mike47512 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
189
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install event-driven
功能描述
Deep event-driven architecture workflow—events vs commands, ordering and idempotency, sagas, outbox pattern, observability, and failure modes. Use when desig...
使用说明 (SKILL.md)

Event-Driven Architecture

Event-driven design trades tight coupling for asynchronous workflows—and introduces ordering, duplicates, schema evolution, and distributed tracing challenges.

When to Offer This Workflow

Trigger conditions:

  • Replacing long chains of synchronous HTTP calls
  • Adopting Kafka, Pub/Sub, EventBridge, NATS, etc.
  • Need for sagas, compensating transactions, or cross-service workflows

Initial offer:

Use six stages: (1) identify events, (2) contracts & versioning, (3) delivery semantics, (4) orchestration vs choreography, (5) observability, (6) failure & replay). Assume at-least-once delivery unless proven otherwise.


Stage 1: Identify Events

Goal: Distinguish domain events (facts that happened) from commands (requests). Assign owning bounded context per event type.

Exit condition: Event catalog: name, schema, producers, consumers, SLAs.


Stage 2: Contracts & Versioning

Goal: Schema registry or equivalent; backward-compatible evolution; consumers ignore unknown fields; deprecation policy for old versions.


Stage 3: Delivery Semantics

Goal: Partition keys for per-entity ordering; idempotent consumers; dedupe keys when exactly-once illusion is needed.


Stage 4: Orchestration vs Choreography

Goal: Central orchestrator (saga coordinator) vs decentralized choreography—trade visibility vs coupling.

Practices

  • Transactional outbox when DB write and event publish must align

Stage 5: Observability

Goal: Correlation ids on events; traces spanning HTTP → broker → consumer; lag and DLQ depth metrics.


Stage 6: Failure & Replay

Goal: Dead-letter queues, replay tooling, poison message handling, and idempotent replays.


Final Review Checklist

  • Event inventory with clear ownership
  • Versioned contracts and compatibility rules
  • Idempotent consumers; partition strategy documented
  • Saga/outbox where transactional consistency required
  • Tracing and replay operationalized

Tips for Effective Guidance

  • Choreography can hide flows—document critical sequences as diagrams.
  • Pair with message-queues and idempotency for implementation detail.

Handling Deviations

  • Low volume: start with a simple queue before full Kafka topology.
安全使用建议
This skill is a safe, high-level design guide and presents low technical risk because it has no install steps, code, or credential requests. Before using it in production work, verify the content matches your organization's standards and run any resulting designs/recipes by your engineering team — the skill gives conceptual guidance but does not provide implementation or enforce correctness. Because the author/source is unknown, prefer manual review of any changes you apply based on its advice; if you later add automation or installer code, re-evaluate for install/credential risks.
功能分析
Type: OpenClaw Skill Name: event-driven Version: 1.0.0 The skill bundle provides architectural guidance and a structured workflow for designing event-driven systems, covering topics such as sagas, idempotency, and observability. The content in SKILL.md is purely instructional and lacks any executable code, suspicious commands, or malicious prompt injection attempts.
能力评估
Purpose & Capability
Name and description match the SKILL.md content (architecture guidance for events, sagas, outbox, observability, failure modes). The skill declares no binaries, env vars, or installs — all proportional to a documentation/consulting skill.
Instruction Scope
SKILL.md is high-level guidance and checklists for designing event-driven systems. It does not instruct the agent to read local files, access credentials, call external endpoints, or perform system changes.
Install Mechanism
No install spec and no code files. Because nothing is written to disk or fetched at install time, install risk is minimal.
Credentials
The skill requires no environment variables, credentials, or config paths — consistent with an advice-only skill.
Persistence & Privilege
always is false and the skill is user-invocable. Model invocation is allowed (the normal default) but there are no elevated privileges or requests to modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install event-driven
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /event-driven 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the event-driven architecture workflow. - Covers events vs commands, ordering, idempotency, sagas, outbox pattern, observability, and failure modes. - Provides a six-stage process: event identification, contracts & versioning, delivery semantics, orchestration/choreography, observability, failure & replay. - Includes practical tips, review checklist, and guidance for handling deviations and special cases.
元数据
Slug event-driven
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Event Driven 是什么?

Deep event-driven architecture workflow—events vs commands, ordering and idempotency, sagas, outbox pattern, observability, and failure modes. Use when desig... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 189 次。

如何安装 Event Driven?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install event-driven」即可一键安装,无需额外配置。

Event Driven 是免费的吗?

是的,Event Driven 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Event Driven 支持哪些平台?

Event Driven 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Event Driven?

由 mike47512(@mike47512)开发并维护,当前版本 v1.0.0。

💬 留言讨论