Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

eventmodeling-brainstorming-events事件建模头脑风暴事件

Agent Skill

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

总安装

474

周安装

19

GitHub Stars

公开资料未说明

下载量

154
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/trogonstack/agentskills --skill eventmodeling-brainstorming-events

简介

eventmodeling-brainstorming-events 协助梳理业务流程并头脑风暴出关键事件集合。

  • 当需求模糊或不完整时启动访谈,确保事件覆盖全面且无遗漏。
  • 区分用户主动触发与系统自动执行的动作,避免角色混淆。
  • 输出结果将作为后续建模的基础,直接影响模型准确性与完整性。
  • 建议邀请领域专家参与评审,提高事件列表的业务贴合度。

SKILL.md

Brainstorming Events

Interview Phase (Optional)

When to Interview: Skip if the user has provided detailed, well-documented requirements (written user stories, feature specs, business rules). Interview when requirements are vague, incomplete, or when domain expertise is uncertain.

Interview Strategy: Ensure requirements are complete and team understands domain well enough to brainstorm comprehensively. Identify hidden complexity areas upfront.

Critical Questions

When requirements need clarification:

  1. Requirements Completeness (Impact: Determines if brainstorm is likely to be exhaustive)

- Question: "How complete are your requirements? Do you have: (A) Written user stories/specs, (B) Documented business rules, (C) Rough list, (D) Just verbal descriptions?" - Why it matters: Incomplete requirements cause missed events; complete requirements enable comprehensive brainstorm - Follow-up triggers: If (C) or (D) → probe for missing scenarios; if rules aren't documented → ask team to state them explicitly

  1. Domain Expertise & Familiarity (Impact: Shapes who should participate and what guidance is needed)

- Question: "Who understands this domain best? (A) Product/Domain expert leading brainstorm, (B) Engineering team figuring it out, (C) Mix of roles" - Why it matters: Domain expert participation dramatically improves event completeness; solo engineering leads to gaps - Follow-up triggers: If (B) → recommend inviting domain expert; if (C) → ask how decisions will be made

  1. Known Complexity Areas (Impact: Determines where to focus brainstorming effort and depth)

- Question: "Are there specific areas known to be complex or error-prone? (e.g., payment processing, state transitions, business rules)" - Why it matters: Complex areas often have hidden events; identifying them upfront ensures they're covered - Follow-up triggers: For each complex area → ask "What are the edge cases? What can go wrong?"

  1. Explicit Business Rules & Constraints (Impact: Ensures no implicit assumptions; may reveal missing events)

- Question: "What are critical business rules that govern this domain? (e.g., 'orders can only be cancelled within 24 hours', 'payments must be authorized before confirmation')" - Why it matters: Business rules often generate specific events; documenting them prevents overlooking state changes - Follow-up triggers: For each rule → ask "When this rule is violated, what event signals that?"

Interview Flow

Conditional Entry:

If user has provided:
  - Written requirements or user stories (not just verbal)
  - AND documented business rules or constraints
  - AND named domain experts who will participate

Then: Skip interview, proceed directly to brainstorming

Else: Conduct interview

Phase 1: Requirements Assessment (Questions 1-2)

  • Gauge requirements completeness
  • Confirm domain expertise available
  • Adjust brainstorm scope accordingly

Phase 2: Complexity Mapping (Questions 3-4)

  • Identify areas needing deep exploration
  • Document rules that may generate events
  • Plan brainstorm focus areas

Capturing Interview Findings

Append findings to the project's event modeling file:

File: .trogonai/interviews/[project-name]/EVENTMODELING.md

Use Write tool to add/update this section:

## 2. Brainstormed Events (eventmodeling-brainstorming-events)

### Requirements Assessment
[From Q1: Written requirements? Documented rules?]

### Domain Expertise
[From Q2: Who understands domain? Available for participation?]

### Role Catalog
#### Human Roles
- [Role 1]: [Description] → Actions: [list]
- [Role 2]: [Description] → Actions: [list]
#### System Actors
- [Actor 1]: [Description] → Triggers: [list]

### Event Streams (Stream Roots)
- Stream: [Name] (Identity: [id field])
  - Events: [Event1, Event2, Event3]
  - State changes: [State transitions]

### Business Rules & Constraints
[From Q3 & Q4]
- Rule 1: [Statement] → [Events it generates]
- Rule 2: [Statement] → [Events it generates]
- Constraint 1: [Limitation]

### Brainstorming Focus Areas
- [Focus area 1]
- [Focus area 2]

Update Interview Trail:

| 2 | eventmodeling-brainstorming-events |  [today] | Event streams, business rules, constraints |

This section feeds into subsequent steps (plotting, storyboarding, etc.)


Workshop Facilitation Guide

Setting: This is a collaborative brainstorming workshop. The facilitator guides participants to envision the system and extract events rapidly.

The Brainstorming Flow

Phase 1: Understand Goals (5-10 min)

  • Someone explains project goals
  • What problem are we solving?
  • Who are the users?
  • What are key outcomes?

Phase 2: Free Brainstorm (15-20 min) Facilitator asks:

"What events could happen in this system? When something changes, what event occurs? Put down ANY event you think of."

Participants call out events (sticky notes or digital cards):

"Customer places order"
"Order confirmed"
"Payment received"
"Inventory updated"
"Order shipped"
"Delivery confirmed"
"Return requested"
"Refund issued"

Phase 3: Gentle Filtering (10-15 min) Facilitator introduces state-changing concept gently:

Facilitator: "Now let's think about these events. An event is something that
CHANGED THE STATE of the system. It's something important that happened that
others need to know about.

Let me ask: Does 'Customer viewed the catalog' change anything?
Participants: "Well... no, they just looked."
Facilitator: "Right, so it's not an event. But if they SELECTED an item
               from catalog, that changes what's in their cart, so that's
               a state change. Call that 'ItemAddedToCart'."

Does 'Payment received' change something?
Participants: "Yes! Order goes from confirmed to paid."
Facilitator: "Exactly! That's an event—state changed."

Key points to clarify:

  • "Customer logged in" → Maybe not state-changing (unless we track logins)
  • "Customer created account" → State-changing event
  • "System checked inventory" → Internal action, not state-changing
  • "Inventory reserved" → State-changing event
  • "Email sent" → Notification, not state-changing (unless we track email history)
  • "Notification requested" → Could be state-changing if we track preferences

Tips for Facilitators

Make it conversational:

  • Don't say: "You identified a non-state-changing event"
  • Say: "Interesting! Does that actually change anything in the system?"

Use examples from their world:

  • If e-commerce: "Like if someone just browsed but didn't buy?"
  • If banking: "Like if they just checked balance but didn't withdraw?"

Don't be rigid:

  • If unsure whether something is state-changing, include it and refine later
  • Some events seem minor now but matter in implementation
  • Better to capture everything than miss important events

Capture the "why":

  • Don't just list events, capture context
  • Why would this event matter?
  • Who cares about it? (Other systems, views, business rules)

Workflow

When given domain requirements, perform the following analysis:

1. Identify User Roles & Actors (MANDATORY)

Before brainstorming events, define who interacts with the system. Every event model needs an explicit role catalog — without it, downstream steps (storyboarding, commands, scenarios) lack clarity on who does what.

Identify all human roles and system actors:

  • Human roles: Customer, Seller, Admin, Support Agent, Reviewer, etc.
  • System actors: Payment Gateway, Inventory System, Notification Service, Scheduler, etc.

For each role/actor, document:

  • Name: Use domain language (e.g., "Seller" not "User Type B")
  • Description: What this role does in the domain (1-2 sentences)
  • Key actions: What state changes can this role initiate?
  • Permissions boundary: What can this role NOT do?

Present as a Role Catalog:

## Role Catalog

### Human Roles

1. **Customer** - Description: End user who browses, purchases, and tracks orders
   - Key actions: Create order, confirm order, cancel order, submit review
   - Cannot: Manage inventory, process refunds, respond to reviews as seller

2. **Seller** - Description: Merchant who lists products and fulfills orders
   - Key actions: List product, confirm stock, respond to reviews, update pricing
   - Cannot: Place orders, approve own reviews, process payments

3. **Support Agent** - Description: Internal staff handling escalations and manual overrides
   - Key actions: Override order status, issue refunds, flag reviews
   - Cannot: Place orders on behalf of customers (unless impersonating)

### System Actors

1. **Payment Gateway** (external)
   - Triggers: Payment authorization, payment failure, refund confirmation
   - Communication: Webhooks

2. **Inventory System** (internal)
   - Triggers: Reserve inventory, release reservation
   - Communication: Event-driven

This catalog feeds directly into:

  • Step 3 (Storyboarding): One swimlane per human role
  • Step 4 (Inputs): Every command attributed to a specific role/actor
  • Step 7 (Scenarios): Scenarios reference roles by name
  • Step 8 (Completeness): Verify every role has at least one command path

2. Identify Event Streams (Stream Roots)

Identify the main entities that will have event streams. These are NOT DDD aggregates—they're simply the logical roots of events:

  • User/Account
  • Order
  • Payment
  • Shipment
  • etc.

For each stream root, note:

  • Name (use domain language, not technical terms)
  • Identity key (what uniquely identifies instances: orderId, paymentId, customerId, etc.)
  • What commands will affect it (we'll define state needs per command, not upfront)

3. Identify Business Processes

Map out critical workflows:

  • What steps does a user go through?
  • What are the decision points?
  • Where do systems integrate?

4. Extract State Changes

For each process, identify what state changes occur:

  • Customer places order → Order created
  • Payment processed → Order confirmed
  • Item shipped → Order status changed

These become your domain events.

5. Document Business Rules & Constraints

  • What rules govern state transitions?
  • What validations must pass?
  • What are the invariants?

Examples:

  • "Order can only be shipped if payment is confirmed"
  • "Inventory must be reserved before order confirmation"
  • "Customer can only cancel within 24 hours"

6. Create Analysis Document

Present findings in this structure (include facilitation notes for future workshops):

## Workshop Notes

**Participants**: [List roles: PO, Dev, QA, Domain Expert]
**Duration**: [Time spent]
**Key facilitation moments**: [What helped clarify understanding?]

---

# Domain Analysis: [Domain Name]

## Role Catalog

### Human Roles
1. **[Role Name]**: [Description]
   - Key actions: [What this role can do]
   - Cannot: [Permission boundaries]

### System Actors
1. **[Actor Name]** ([internal/external]): [Description]
   - Triggers: [What events/commands it initiates]
   - Communication: [Webhooks / Event-driven / API]

## Event Streams (Stream Roots)
List each stream root and its identity:
- **Stream**: Review (Identity: reviewId)
- **Stream**: SellerResponse (Identity: responseId)
- **Stream**: Seller (Identity: sellerId)

Note: These are just the logical groupings of events. The STATE needed for each command will be determined later—not all stream attributes are needed for all commands.

## Business Processes
1. **Process Name**: Description
   - Actor: Who initiates?
   - Steps: 1. → 2. → 3.
   - Outcomes: What changes?

## Identified State Changes (Potential Events)
- [Stream] [Verb]: When? Why? (Use past tense: "ReviewPublished", "SellerResponseAdded")

## Business Rules & Constraints
- Rule 1: Condition and consequence
- Rule 2: Constraint description

## Questions for Domain Expert
- Any gaps in understanding?
- Unclear processes?

Output Format

Present analysis in a clear markdown structure that can be directly used by the eventmodeling-designing-event-models skill.

Core Architectural Rule

NEVER use DDD Aggregate pattern for state design Every command handler must have its own minimal state projection derived from events. This is non-negotiable.

 ANTI-PATTERN (Do NOT do this):
OrderAggregate { orderId, customerId, items[], total, status, paymentId, address, shippedAt, cancelledAt, ... }
Used by: ConfirmOrder, ShipOrder, CancelOrder, ApproveReturn
Problem: Loads unused data, couples unrelated commands, violates minimal state principle

 CORRECT PATTERN:
ConfirmOrderState { status, orderId }
ShipOrderState { status, orderId, paymentId }
CancelOrderState { status, orderId, createdAt }
Each command loads ONLY what it needs.

Key Principles

  • Use domain language, not technical terms
  • Focus on what happens, not how it's implemented
  • Identify state changes as events, not actions (gently!)
  • Document constraints and rules
  • Be specific with examples from the requirements
  • Collaborative Process: This is a group brainstorm, not a solo analysis
  • Rapid Iteration: Capture quickly, refine later
  • Gentle Filtering: Introduce "state-changing events" concept conversationally, not as rigid rule
  • Event Sourcing Mindset: Think in terms of immutable events and stream roots, NOT DDD aggregates. The stream root is just a logical grouping of events; state is minimal and command-specific.
  • Defer State Design: Don't list all entity attributes upfront. In the model designer step, we'll define minimal state projections needed for each specific command.
  • Command State Isolation: Each command handler has its own state shape. Different commands = different state interfaces.

Best Practices for Requirements Analysis

1. Be Specific with Requirements

Provide concrete examples and clear scope:

  • "Handle orders"
  • "Orders have items, pricing, delivery address, and can be cancelled within 24 hours"

2. Use Domain Language

Use terms your business understands, not technical jargon:

  • "obj1 references obj2"
  • "Customer places Order with Products"

3. Document Constraints Explicitly

Make implicit rules explicit:

  • "Process payments"
  • "Authorize payment before marking order confirmed; refund if shipment fails"

4. Verify Role Catalog Completeness

Cross-check that the Role Catalog (from Step 1) covers all actors referenced in events and processes:

  • "Orders can be created" (by whom?)
  • "Customers can create orders; sellers can confirm stock; system can cancel if payment fails"

5. Cover Edge Cases

Include error and boundary conditions:

  • "What happens if payment is declined?"
  • "Can an order be modified after shipping starts?"
  • "What triggers order cancellation?"

Quality Checklist

  • Every event is past tense and names a completed state change (e.g., OrderPlaced, not PlaceOrder)
  • Role Catalog lists every actor (human roles and system processors) with distinct responsibilities
  • Each event can be traced back to a specific actor in the Role Catalog
  • No CRUD events (UserUpdated, RecordDeleted) — events describe business moments, not database operations
  • All known error and boundary conditions have corresponding events
  • Events group into at least one recognizable business process flow
  • No overlapping event semantics — two events don't mean the same thing

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.31%
按下载量换算51

Claude

29.72%
按下载量换算46

Cursor

19.16%
按下载量换算30

Gemini CLI

8.92%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills