Token导航 LogoToken导航

Agent Skill · 研究检索

event-modeling(事件建模)

event-modeling 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

event-modeling 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 35,207。

总安装 2,122周安装 85GitHub Stars 2下载 687核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:event-modeling(事件建模)
来源仓库:https://github.com/jwilger/agent-skills
仓库路径:skills/event-modeling
安装命令:
npx skills add https://github.com/jwilger/agent-skills --skill event-modeling
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jwilger/agent-skills --skill event-modeling

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

event-modeling 通过结构化对话提取领域知识,适合在 Codex、Claude、Cursor、Gemini CLI 中开展事件风暴工作坊或生成统一语言时使用。它产出 actors、events、commands 等完整模型,驱动后续开发。

使用时应在项目初期启动建模过程,并分 discovery 与 design 两阶段推进。安装前应准备 stakeholders 参与讨论,确保各方对术语达成一致。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/event-modeling

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/jwilger/agent-skills --skill event-modeling;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

event-modeling 怎么安装?

在终端执行 npx skills add https://github.com/jwilger/agent-skills --skill event-modeling。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

event-modeling 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

event-modeling 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

event-modeling 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

event-modeling 用的人多吗?

公开数据是累计安装 2,122 次,近一周安装 85 次,下载 687 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

event-modeling 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
event-modeling

事件建模 · 本页

2,1222操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Event Modeling

Value: Communication -- event modeling is a structured conversation that surfaces hidden domain knowledge and creates shared understanding between humans and agents before any code is written.

Purpose

Teaches the agent to facilitate event modeling sessions following Martin Dilger's "Understanding Eventsourcing" methodology. Produces a complete event model (actors, events, commands, read models, automations, slices) that drives all downstream implementation. The model lives in docs/event_model/.

Practices

Two-Phase Process: Discovery Then Design

Never jump into detailed workflow design without broad domain understanding first. Phase 1 maps the territory; Phase 2 explores each region.

Phase 1 -- Domain Discovery. Identify what the business does, who the actors are, what major processes exist, what external systems integrate, and which workflows to model. Ask these questions of the user; do not assume answers. Output: docs/event_model/domain/overview.md.

Phase 2 -- Workflow Design. For each workflow, follow the 9-step process. You MUST follow references/nine-steps.md for the full methodology. Design one workflow at a time. Complete all 9 steps before starting the next workflow. Output: docs/event_model/workflows/<name>/overview.md plus individual slice files in slices/.

The Prime Directive: Not Losing Information

Store what happened (events), not just current state. Events are immutable past-tense facts in business language. Every read model field must trace back to an event. If a field has no source event, something is missing from the model.

Event Design Rules

  1. Name events in past tense using business language: OrderPlaced, not PlaceOrder or CreateOrderDTO
  2. Events are immutable facts -- never modify or delete
  3. Include relevant data: what happened, when, who/what caused it
  4. Find the right granularity -- not DataUpdated (too broad) and not FieldXChanged (too narrow)
  5. Commands depend on user inputs and the event stream, not read models. Read models serve views and automations only.
  6. Events record domain facts (true on any machine). Runtime context (file paths, hostnames, PIDs, working directories) does not belong in event data.

The Four Patterns

Every event-sourced system uses these patterns. Each pattern maps to one vertical slice.

  1. State Change: Command -> Event. The only way to modify state. A command may produce multiple events as part of a single operation.
  2. State View: Events -> Read Model. How the system answers queries. When the domain supports concurrent instances, use collection types in read model fields, not singular values. Commands derive their inputs from user-provided data and the event stream — never from read models. No ReadModel → Command edges should appear in diagrams. If a command needs to check whether something already happened (e.g., idempotency), it checks the event stream, not a read model. Read models represent meaningful domain projections. Infrastructure preconditions ("does directory exist?", "is service running?") that are implicit in the command's execution context do not need their own read model.
  3. Automation: Event -> Read Model (todo list) -> Process -> Command -> Event. Background work triggered by events. Requires all four components: triggering event, read model consulted, conditional process logic, and resulting command. If there is no read model and no conditional logic, it is NOT an automation — it is a command producing multiple events. Must have clear termination conditions.
  4. Translation: External Data -> Internal Event. Anti-corruption layer for workflow-specific external integrations. Generic infrastructure shared by all workflows (event persistence, message transport) is NOT a Translation — it is cross-cutting infrastructure that belongs outside the event model.

Required Layers Per Slice Pattern

Each slice pattern implies a minimum set of architectural layers. A slice is not complete until all required layers are implemented and wired together.

  • State View: infrastructure (read events/data from store) + domain (projection/query logic) + presentation (render or return result to caller) + application wiring (connect layers end-to-end)
  • State Change: presentation (accept user input or external request) + domain (command validation and business rules) + infrastructure (persist resulting events/data) + application wiring (connect layers end-to-end)
  • Automation: infrastructure (detect triggering condition — timer, external event, threshold) + domain (policy/decision logic) + infrastructure (execute resulting action — send message, write data, call service) + application wiring (connect trigger to policy to action)
  • Translation: infrastructure (receive from external system) + domain (mapping/transformation logic) + infrastructure (deliver to target system) + application wiring (connect inbound adapter to mapper to outbound adapter)

When decomposing a slice, verify that your acceptance criteria and task breakdown cover every required layer. A slice that only implements domain logic without presentation or infrastructure is incomplete — it is a component, not a vertical slice.

GWT Scenarios

After workflow design, generate Given/When/Then scenarios for each slice. These become acceptance criteria for implementation.

Command scenarios: Given = prior events establishing state. When = the command with concrete data. Then = events produced OR an error (never both).

View scenarios: Given = current projection state. When = one new event. Then = resulting projection state. Views cannot reject events.

Critical distinction: GWT scenarios test business rules (state-dependent policies), not data validation (format/structure checks that belong in the type system). If the type system can make the invalid state unrepresentable, it is not a GWT scenario.

You MUST use references/gwt-template.md for the full scenario format and examples.

Application-Boundary Acceptance Scenarios

Every vertical slice MUST include at least one GWT scenario defined at the application boundary:

  • Given: The system is in a known state (prior events, seed data, configuration)
  • When: A user (or external caller) interacts through the application's external interface — the specific interface depends on the project (HTTP endpoint, CLI command, message queue consumer, UI action, etc.)
  • Then: The result is observable at that same boundary — a response, output, rendered state change, emitted event, etc.

A GWT scenario that can be satisfied entirely by calling an internal function in a unit test describes a unit-level specification, not a slice acceptance criterion. Slice acceptance criteria must exercise the path from external input to observable output.

Acceptance Test Strategy

Where the application boundary is programmatically testable — HTTP endpoints, CLI output parsing, headless browser automation, message queue assertions, API contract tests, etc. — write automated acceptance tests that exercise the full GWT scenario from external input to observable output. These tests provide fast feedback and serve as living documentation of slice behavior.

Where automated boundary testing is not feasible (complex GUI interactions, hardware-dependent behavior, visual/aesthetic verification), document what the human should manually verify: the specific steps to perform and the expected observable result. This manual verification checklist becomes part of the slice's definition of done.

Slice Independence

Slices sharing an event schema are independent. The event schema is the shared contract. Command slices test by asserting on produced events; view slices test with synthetic event fixtures. Neither needs the other to be implemented first. No artificial dependency chains between slices.

Model Validation

After GWT scenarios are written, validate the model for completeness:

  1. Every read model field traces to an event
  2. Every event has a triggering command, automation, or translation
  3. Every command has documented rejection conditions (business rules)
  4. Every automation has a termination condition
  5. GWT Given/When/Then clauses do not reference undefined elements

When gaps are found, ask the user to clarify, create the missing element, and re-validate. Do not proceed with gaps remaining.

Facilitation Mindset

You are a facilitator, not a stenographer. Ask probing questions. Challenge assumptions. Keep asking "And then what happens?" after every event, every command, every answer. Use business language, not technical jargon. Do not discuss databases, APIs, frameworks, or implementation during event modeling. The only exception: note mandatory third-party integrations by name and purpose.

Do:

  • Follow all steps in order -- the process reveals understanding
  • Ask "And then what happens?" relentlessly
  • Use concrete, realistic data in all examples and scenarios
  • Design one workflow at a time
  • Ensure information completeness before proceeding
  • Ask "Can there be more than one of these at the same time?" for read model fields
  • Verify automations have all four components before labeling them as such

Do not:

  • Skip steps because you think you know enough
  • Make architecture or implementation decisions during modeling
  • Write GWT scenarios for data validation (use the type system)
  • Design multiple workflows simultaneously
  • Proceed with gaps in the model

Enforcement Note

  • Standalone mode: Advisory. The agent follows the nine-step methodology by convention.
  • Pipeline mode: Gating. Incomplete models (missing GWT scenarios, undefined automations) block slice decomposition.

Hard constraints:

  • Do not proceed with gaps in the model: [RP]

Constraints

  • "MUST follow nine-steps.md": Following the nine steps means executing each step's specific activities and producing its specific outputs. It does not mean reading the reference and claiming "I followed the spirit." Each step has defined outputs -- produce them.
  • "Do not design multiple workflows simultaneously": This includes starting "discovery" for Workflow 2 while Workflow 1's steps are incomplete. Discovery IS design. If you're gathering information about a future workflow, you're designing it.
  • Facilitation vs. stenography: Facilitation means asking questions that help the domain expert discover things they haven't articulated yet. It does not mean asking leading questions that guide toward your preferred answer. The test: could the expert's answer genuinely surprise you? If not, you're leading, not facilitating.

Verification

After completing event modeling work, verify:

  • Domain overview exists at docs/event_model/domain/overview.md with actors, workflows, external integrations, and recommended starting workflow
  • Each designed workflow has docs/event_model/workflows/<name>/overview.md with all 9 steps completed
  • All events are past tense, business language, immutable facts
  • Every read model field traces to a source event
  • Every event has a trigger (command, automation, or translation)
  • Automations have all four components (event, read model, conditional logic, command)
  • Read model fields use collection types when domain supports concurrent instances
  • No cross-cutting infrastructure modeled as Translation slices
  • GWT scenarios exist for each slice (inline in docs/event_model/workflows/<name>/slices/*.md) with concrete data
  • GWT error scenarios test business rules only, not data validation
  • Slices sharing an event schema are independently testable (no artificial dependency chains)
  • No gaps remain in the model after validation

If any criterion is not met, revisit the relevant practice before proceeding.

Dependencies

This skill works standalone. For enhanced workflows, it integrates with:

  • domain-modeling: Events reveal domain types (Email, Money, OrderStatus) that the domain modeling skill refines
  • tdd: Each vertical slice maps to one TDD cycle
  • architecture-decisions: Event model informs architecture; ADRs should not be written during event modeling itself
  • task-management: Workflows map to epics, slices map to tasks

Missing a dependency? Install with:

npx skills add jwilger/agent-skills --skill domain-modeling

平台分布

Codex

39.36%
按下载量换算270

Claude

29.1%
按下载量换算200

Cursor

18.78%
按下载量换算129

Gemini CLI

9.07%
按下载量换算62

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills