[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASH38HMCZQFHNVTRPEQ2TR":3,"skill-same:01M7ASH38HMCZQFHNVTRPEQ2TR":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7ASH38HMCZQFHNVTRPEQ2TR","event-modeling",null,"Designs systems using Event Modeling.","saski\u002Farnesto","saski","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F140356?v=4","01M7ASBDSNXTRYDYB4K1PEA1RV","01M7ASBDTAKBDAAV99S1GE7HK6",6,"Unlicense","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fevent-modeling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: event-modeling\ndescription: Designs systems using Event Modeling.\n---\n\nSTARTER_CHARACTER = 🗺️\n\n## What Event Modeling Produces\n\nA set of vertical slices that fully describe a system's behavior. Each slice is independently implementable and testable. The model uses business language throughout — no infrastructure or technical terms.\n\n```\n                    ┌─────────────────────────────────────┐\n                    │          Event Model                │\n                    │                                     │\n                    │  ┌───────────┐  ┌───────────┐       │\n                    │  │  Slice 1  │  │  Slice 2  │  ...  │\n                    │  │ STATE_    │  │ STATE_    │       │\n                    │  │ CHANGE    │  │ VIEW      │       │\n                    │  └───────────┘  └───────────┘       │\n                    │         │              ▲            │\n                    │         │  (events)    │            │\n                    │         └──────────────┘            │\n                    └─────────────────────────────────────┘\n```\n\n## Slice Types\n\nThree types. Every behavior in the system fits one:\n\nSTATE_CHANGE — user does something\n- Screen → Command → Event\n- Command produces one or more events\n- May have error events for failure paths\n\nSTATE_VIEW — system shows something\n- Events → Read Model → Screen\n- Read model aggregates data from one or more events\n\nAUTOMATION — system reacts to something\n- Event → Processor → Command → Event\n- Background process, no user interaction\n\nSee [references\u002Fslice-types.md](references\u002Fslice-types.md) for element rules, dependency patterns, and naming conventions.\n\n## Conversational Design Process\n\nWork with the user through these phases. Move at the user's pace — they might want to go deep on one slice before seeing the full picture.\n\n### Phase 1: Understand the Domain\nIdentify aggregates (core business entities), actors, and high-level use cases. Ask about the business processes, not technical implementation.\n\n### Phase 2: High-Level Model\nDraft all slices without field details. Show the flow between them — which events feed which read models, which screens lead to which commands. This is the \"map\" of the system.\n\nFormat as a markdown document with one section per slice. Include slice type, aggregate, elements, and how slices connect.\n\n### Phase 3: Slice Detail\nWalk through one slice at a time. For each:\n- Define fields with types and example values\n- Identify business rules (not simple validations — real domain rules)\n- Write specifications as Given\u002FWhen\u002FThen scenarios\n\n### Phase 4: Executable Specifications\nTurn specifications into approval fixture files using the `bdd-with-approvals` skill. That skill teaches how to:\n- Design scannable fixture formats adapted to the domain\n- Structure input\u002Foutput for human validation\n- Build parsers and formatters\n\nRead that skill when it's time to design fixtures. The event model specs (Given events \u002F When command \u002F Then events) map naturally to the approved fixture pattern.\n\n### Analyzing Existing Code\nWhen working with an existing codebase instead of greenfield:\n- Read the code to extract domain concepts\n- Map existing operations to slice types (writes → STATE_CHANGE, reads → STATE_VIEW, background → AUTOMATION)\n- Put code references (class names, packages) in element descriptions\n- Extract specs from unit tests and comments\n\n## Output Format\n\nProduce markdown, not JSON. Design for human readability — someone should look at the model and understand the system.\n\nWrite model artifacts to files. Ask the user where they want them (e.g., `docs\u002Fevent-model.md`). Update the files as the model evolves through conversation.\n\n### High-Level Model\n\nOne document showing all slices and their relationships:\n\n```markdown\n# [System Name] Event Model\n\n## Aggregates\n- Owner — pet owners who use the clinic\n- Pet — animals registered to owners\n\n## Slices\n\n### Register Owner [STATE_CHANGE]\nAggregate: Owner\nScreen: Owner Registration Form\nCommand: Register Owner → Event: Owner Registered\nError: → Owner Registration Failed\n\n### View Owner Profile [STATE_VIEW]\nAggregate: Owner\nEvents: Owner Registered, Pet Registered → Read Model: Owner Profile\nScreen: Owner Profile\n\n### Notify Vet of New Patient [AUTOMATION]\nTrigger: Pet Registered → Processor: New Patient Notifier\nCommand: Send Notification → Event: Vet Notified\n```\n\n### Detailed Slice\n\nPer-slice detail includes fields and specifications:\n\n```markdown\n## Register Owner [STATE_CHANGE]\nAggregate: Owner\n\n### Command: Register Owner\n  firstName: String — \"George\"\n  lastName: String — \"Franklin\"\n  address: String — \"110 W. Liberty St.\"\n  city: String — \"Madison\"\n  telephone: String — \"6085551023\"\n\n### Event: Owner Registered\n  ownerId: UUID — \u003Cgenerated>\n  firstName: String — \"George\"\n  lastName: String — \"Franklin\"\n  address: String — \"110 W. Liberty St.\"\n  city: String — \"Madison\"\n  telephone: String — \"6085551023\"\n\n### Event: Owner Registration Failed\n  errors: Map — {\"lastName\": \"required\"}\n\n### Specifications\n\n#### Successfully register with valid data\nGiven: (no prior state)\nWhen: Register Owner\n  firstName: George, lastName: Franklin\n  address: 110 W. Liberty St., city: Madison\n  telephone: 6085551023\nThen: Owner Registered\n  ownerId: \u003Cgenerated>, firstName: George, lastName: Franklin\n\n#### Fail when required fields missing\nGiven: (no prior state)\nWhen: Register Owner\n  firstName: George, city: Madison\nThen: Owner Registration Failed\n  errors: {address: required, telephone: required}\n\n#### Business rules\n- All fields mandatory: firstName, lastName, address, city, telephone\n- Telephone must be numeric, max 10 digits\n```\n\nThese are defaults. Adapt the format to the domain — what matters is that a person can scan it and quickly validate correctness.\n\n## Anti-Patterns\n\n- Technical language in element names (\"insertOwnerRecord\" → \"Register Owner\")\n- Skipping STATE_VIEW slices — every query\u002Fdisplay is a slice\n- Circular dependencies between elements\n- Specs that test simple validation (\"must be a number\") instead of business rules\n- Jumping to fixture format before the model is understood\n- Combining multiple commands in one slice — one command per STATE_CHANGE\n\n## See Also\n\n- For executable test specifications: invoke the `bdd-with-approvals` skill\n- For approval testing mechanics: invoke the `approval-tests` skill\n","STARTER_CHARACTER = 🗺️\n\n## What Event Modeling Produces\n\nA set of vertical slices that fully describe a system's behavior. Each slice is independently implementable and testable. The model uses business language throughout — no infrastructure or technical terms.\n\n```\n                    ┌─────────────────────────────────────┐\n                    │          Event Model                │\n                    │                                     │\n                    │  ┌───────────┐  ┌───────────┐       │\n                    │  │  Slice 1  │  │  Slice 2  │  ...  │\n                    │  │ STATE_    │  │ STATE_    │       │\n                    │  │ CHANGE    │  │ VIEW      │       │\n                    │  └───────────┘  └───────────┘       │\n                    │         │              ▲            │\n                    │         │  (events)    │            │\n                    │         └──────────────┘            │\n                    └─────────────────────────────────────┘\n```\n\n## Slice Types\n\nThree types. Every behavior in the system fits one:\n\nSTATE_CHANGE — user does something\n- Screen → Command → Event\n- Command produces one or more events\n- May have error events for failure paths\n\nSTATE_VIEW — system shows something\n- Events → Read Model → Screen\n- Read model aggregates data from one or more events\n\nAUTOMATION — system reacts to something\n- Event → Processor → Command → Event\n- Background process, no user interaction\n\nSee [references\u002Fslice-types.md](references\u002Fslice-types.md) for element rules, dependency patterns, and naming conventions.\n\n## Conversational Design Process\n\nWork with the user through these phases. Move at the user's pace — they might want to go deep on one slice before seeing the full picture.\n\n### Phase 1: Understand the Domain\nIdentify aggregates (core business entities), actors, and high-level use cases. Ask about the business processes, not technical implementation.\n\n### Phase 2: High-Level Model\nDraft all slices without field details. Show the flow between them — which events feed which read models, which screens lead to which commands. This is the \"map\" of the system.\n\nFormat as a markdown document with one section per slice. Include slice type, aggregate, elements, and how slices connect.\n\n### Phase 3: Slice Detail\nWalk through one slice at a time. For each:\n- Define fields with types and example values\n- Identify business rules (not simple validations — real domain rules)\n- Write specifications as Given\u002FWhen\u002FThen scenarios\n\n### Phase 4: Executable Specifications\nTurn specifications into approval fixture files using the `bdd-with-approvals` skill. That skill teaches how to:\n- Design scannable fixture formats adapted to the domain\n- Structure input\u002Foutput for human validation\n- Build parsers and formatters\n\nRead that skill when it's time to design fixtures. The event model specs (Given events \u002F When command \u002F Then events) map naturally to the approved fixture pattern.\n\n### Analyzing Existing Code\nWhen working with an existing codebase instead of greenfield:\n- Read the code to extract domain concepts\n- Map existing operations to slice types (writes → STATE_CHANGE, reads → STATE_VIEW, background → AUTOMATION)\n- Put code references (class names, packages) in element descriptions\n- Extract specs from unit tests and comments\n\n## Output Format\n\nProduce markdown, not JSON. Design for human readability — someone should look at the model and understand the system.\n\nWrite model artifacts to files. Ask the user where they want them (e.g., `docs\u002Fevent-model.md`). Update the files as the model evolves through conversation.\n\n### High-Level Model\n\nOne document showing all slices and their relationships:\n\n```markdown\n# [System Name] Event Model\n\n## Aggregates\n- Owner — pet owners who use the clinic\n- Pet — animals registered to owners\n\n## Slices\n\n### Register Owner [STATE_CHANGE]\nAggregate: Owner\nScreen: Owner Registration Form\nCommand: Register Owner → Event: Owner Registered\nError: → Owner Registration Failed\n\n### View Owner Profile [STATE_VIEW]\nAggregate: Owner\nEvents: Owner Registered, Pet Registered → Read Model: Owner Profile\nScreen: Owner Profile\n\n### Notify Vet of New Patient [AUTOMATION]\nTrigger: Pet Registered → Processor: New Patient Notifier\nCommand: Send Notification → Event: Vet Notified\n```\n\n### Detailed Slice\n\nPer-slice detail includes fields and specifications:\n\n```markdown\n## Register Owner [STATE_CHANGE]\nAggregate: Owner\n\n### Command: Register Owner\n  firstName: String — \"George\"\n  lastName: String — \"Franklin\"\n  address: String — \"110 W. Liberty St.\"\n  city: String — \"Madison\"\n  telephone: String — \"6085551023\"\n\n### Event: Owner Registered\n  ownerId: UUID — \u003Cgenerated>\n  firstName: String — \"George\"\n  lastName: String — \"Franklin\"\n  address: String — \"110 W. Liberty St.\"\n  city: String — \"Madison\"\n  telephone: String — \"6085551023\"\n\n### Event: Owner Registration Failed\n  errors: Map — {\"lastName\": \"required\"}\n\n### Specifications\n\n#### Successfully register with valid data\nGiven: (no prior state)\nWhen: Register Owner\n  firstName: George, lastName: Franklin\n  address: 110 W. Liberty St., city: Madison\n  telephone: 6085551023\nThen: Owner Registered\n  ownerId: \u003Cgenerated>, firstName: George, lastName: Franklin\n\n#### Fail when required fields missing\nGiven: (no prior state)\nWhen: Register Owner\n  firstName: George, city: Madison\nThen: Owner Registration Failed\n  errors: {address: required, telephone: required}\n\n#### Business rules\n- All fields mandatory: firstName, lastName, address, city, telephone\n- Telephone must be numeric, max 10 digits\n```\n\nThese are defaults. Adapt the format to the domain — what matters is that a person can scan it and quickly validate correctness.\n\n## Anti-Patterns\n\n- Technical language in element names (\"insertOwnerRecord\" → \"Register Owner\")\n- Skipping STATE_VIEW slices — every query\u002Fdisplay is a slice\n- Circular dependencies between elements\n- Specs that test simple validation (\"must be a number\") instead of business rules\n- Jumping to fixture format before the model is understood\n- Combining multiple commands in one slice — one command per STATE_CHANGE\n\n## See Also\n\n- For executable test specifications: invoke the `bdd-with-approvals` skill\n- For approval testing mechanics: invoke the `approval-tests` skill\n",{"name":5,"description":7},"main","3c24fc2c035029b08c7326774bee3fef8fb95566",".agents\u002Fskills\u002Fevent-modeling",0,"https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto","https:\u002F\u002Fgithub.com\u002Fsaski","http:\u002F\u002Fsaski.com","2026-11-12 20:09:16",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add saski\u002Farnesto --skill event-modeling",{"tool":37,"command":38},"bunx","bunx skills add saski\u002Farnesto --skill event-modeling",{"tool":40,"command":41},"pnpm","pnpm dlx skills add saski\u002Farnesto --skill event-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fevent-modeling\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"credits.md","REFERENCE","参考文档",118,"https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fevent-modeling\u002Fcredits.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"disclaimer.md",347,"https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fevent-modeling\u002Fdisclaimer.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fslice-types.md",3638,"https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fevent-modeling\u002Freferences\u002Fslice-types.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7AT7F5FSHNAMFMF01N0QA1X","visualize","Use \u002Fvisualize for creating compact charts, diagrams, or other visuals inline as part of the conversation itself. It chooses among Markdown tables, Mermaid, inline HTML, and other supported in-transcript forms. Use Canvas for durable artifacts outside the transcript that users may revisit, refine, or share.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fvisualize\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7AT79MHSAR3JDDMP7DGERM9","update-cursor-settings","Modify Cursor\u002FVSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fupdate-cursor-settings\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7AT73WF3Y22E0FKYAMCCJES","update-cli-config","View and modify Cursor CLI configuration settings in ~\u002F.cursor\u002Fcli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fupdate-cli-config\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7AT6F3FBP85AJJ5BJNR8B5W","statusline","Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fstatusline\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7AT6D24QFS5XRAFN8S5XJ7W","split-to-prs","Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fsplit-to-prs\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7AT69FYFN84XZKW452JV5DF","shell","Runs the rest of a \u002Fshell request as a literal shell command. Use only when the user explicitly invokes \u002Fshell and wants the following text executed directly in the terminal.","https:\u002F\u002Fgithub.com\u002Fsaski\u002Farnesto\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fshell\u002FSKILL.md",[],[]]