[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76W0KVBS37CEX4XTZDFMCJ9":3,"skill-same:01M76W0KVBS37CEX4XTZDFMCJ9":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M76W0KVBS37CEX4XTZDFMCJ9","event-sourcing",null,"Use when the system needs an audit log, temporal queries, or event-driven state reconstruction. Do not use when a simple relational model is enough or when strong immediate consistency is required.","HarleyBartles\u002Fagent-asset-marketplace","HarleyBartles","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F32537371?v=4","01M7590KP2F50J1QPVEK7V7071","Harley Bartles","01M7590KQ4B141665T2GDDCWQX",0,"MIT","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fevent-sourcing\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: event-sourcing\ndescription: Use when the system needs an audit log, temporal queries, or event-driven state reconstruction. Do not use when a simple relational model is enough or when strong immediate consistency is required.\nmetadata:\n  source-id: event-sourcing\n  source-path: skills\u002Fevent-sourcing\u002FSKILL.md\n  provenance-name: Event Sourcing first-party skill\n  source-category: first_party\n  status: active\n  owner: Harley Bartles\n  use_when:\n    - the system needs an audit log, temporal queries, or event-driven state reconstruction.\n  do_not_use_when:\n    - a simple relational model is enough or when strong immediate consistency is required.\n  related_skills:\n    - cqrs\nlicense: MIT\n---\n\n# Event Sourcing\n\n## Overview\n\nEvent sourcing persists the state of a system as a sequence of immutable events, making the event store the source of truth. Current state is reconstructed by replaying events.\n\n## When to Use\n\n- Use when an immutable audit trail and temporal querying are required.\n- Use when reconstructing past states or diagnosing why a state changed is valuable.\n- Use when event-driven integrations need a reliable history.\n- Do not use when simple relational queries and strong immediate consistency are sufficient.\n\n## Core Pattern\n\n1. Record every state change as an append-only event with identity, type, payload, and timestamp.\n2. Organize events into streams keyed by aggregate or entity.\n3. Build projections (read models) by folding events into views; use snapshots to speed replay.\n4. Version events carefully and evolve schemas without breaking historical streams.\n\n## Common Mistakes\n\n- Modifying or deleting events instead of appending compensating events.\n- Reconstructing state on every read without projections or snapshots.\n- Ignoring concurrency conflicts and idempotency.\n","# Event Sourcing\n\n## Overview\n\nEvent sourcing persists the state of a system as a sequence of immutable events, making the event store the source of truth. Current state is reconstructed by replaying events.\n\n## When to Use\n\n- Use when an immutable audit trail and temporal querying are required.\n- Use when reconstructing past states or diagnosing why a state changed is valuable.\n- Use when event-driven integrations need a reliable history.\n- Do not use when simple relational queries and strong immediate consistency are sufficient.\n\n## Core Pattern\n\n1. Record every state change as an append-only event with identity, type, payload, and timestamp.\n2. Organize events into streams keyed by aggregate or entity.\n3. Build projections (read models) by folding events into views; use snapshots to speed replay.\n4. Version events carefully and evolve schemas without breaking historical streams.\n\n## Common Mistakes\n\n- Modifying or deleting events instead of appending compensating events.\n- Reconstructing state on every read without projections or snapshots.\n- Ignoring concurrency conflicts and idempotency.\n",{"name":5,"license":15,"metadata":24,"description":7},{"owner":12,"status":25,"use_when":26,"source-id":5,"source-path":28,"related_skills":29,"do_not_use_when":31,"provenance-name":33,"source-category":34},"active",[27],"the system needs an audit log, temporal queries, or event-driven state reconstruction.","skills\u002Fevent-sourcing\u002FSKILL.md",[30],"cqrs",[32],"a simple relational model is enough or when strong immediate consistency is required.","Event Sourcing first-party skill","first_party","main","61dfbcb84501e21a9904b55b207485abcb0b2ffa","skills\u002Fevent-sourcing","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace","https:\u002F\u002Fgithub.com\u002FHarleyBartles","Full Stack Software Engineer","2026-10-08 23:51:53",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add HarleyBartles\u002Fagent-asset-marketplace --skill event-sourcing",{"tool":48,"command":49},"bunx","bunx skills add HarleyBartles\u002Fagent-asset-marketplace --skill event-sourcing",{"tool":51,"command":52},"pnpm","pnpm dlx skills add HarleyBartles\u002Fagent-asset-marketplace --skill event-sourcing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fevent-sourcing\u002FSKILL.md",true,[56,62,68,72,76],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"agents\u002Fopenai.yaml","REFERENCE","参考文档",482,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fevent-sourcing\u002Fagents\u002Fopenai.yaml",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"assets\u002Fauthority\u002Fauthority.yaml","ASSET","资产文件",958,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fevent-sourcing\u002Fassets\u002Fauthority\u002Fauthority.yaml",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"assets\u002Fauthority\u002FCITATIONS.md",1169,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fevent-sourcing\u002Fassets\u002Fauthority\u002FCITATIONS.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"assets\u002Fauthority\u002Fsource-map.yaml",393,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fevent-sourcing\u002Fassets\u002Fauthority\u002Fsource-map.yaml",{"path":77,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Foperational-guidance.md",747,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fevent-sourcing\u002Freferences\u002Foperational-guidance.md",[81,88,95,102,108,115],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M76WCC1A6JQP15DX8HPZ5C5J","writing","Use when drafting, revising, or reviewing prose for human readers and clarity, an authorised voice, or reader-fatigue concerns may interact.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M76WC4DSHYD15E8BDPQ433XF","writing-with-clarity","Use when drafting, revising, or reviewing prose intended for human readers, including documentation, README files, reports, explanations, UI copy, errors, comments, commit messages, and pull request text.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-with-clarity\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M76WBZ9MYM991K6QKY1DN4MK","writing-style","Use when revising or reviewing human-facing prose against an authorised voice card or a contextual reader-fatigue profile.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-style\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M76WBVKC1Y158TTZJR400A4J","skill","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M76WBFD4D1XY20075H00AGYK","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M76WB8S7XZZFTFFCFYW1J9CW","writing-roadmaps","Use when a goal is too large for one writing-plans plan and requires a sequenced roadmap of consecutive plans.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-roadmaps\u002FSKILL.md",[],[]]