[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76VZHXPE77QT1V8CPJS3KWA":3,"skill-same:01M76VZHXPE77QT1V8CPJS3KWA":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},"01M76VZHXPE77QT1V8CPJS3KWA","cqrs",null,"Use when separating read and write models in a distributed or high-scale system, or when event sourcing is under consideration. Do not use when simple CRUD or single-model consistency is sufficient.","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\u002Fcqrs\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: cqrs\ndescription: Use when separating read and write models in a distributed or high-scale system, or when event sourcing is under consideration. Do not use when simple CRUD or single-model consistency is sufficient.\nmetadata:\n  source-id: cqrs\n  source-path: skills\u002Fcqrs\u002FSKILL.md\n  provenance-name: Cqrs first-party skill\n  source-category: first_party\n  status: active\n  owner: Harley Bartles\n  use_when:\n    - separating read and write models in a distributed or high-scale system, or when event sourcing is under consideration.\n  do_not_use_when:\n    - simple CRUD or single-model consistency is sufficient.\n  related_skills:\n    - event-sourcing\nlicense: MIT\n---\n\n# CQRS\n\n## Overview\n\nCQRS separates read and write models so each side can evolve, scale, and be optimized independently. Commands mutate state; queries return shaped views.\n\n## When to Use\n\n- Use when read and write workloads differ in volume, shape, or scale.\n- Use when multiple query models need different projections of the same data.\n- Use when event sourcing is being considered as a companion persistence strategy.\n- Do not use when a single consistent model and simple CRUD are sufficient.\n\n## Core Pattern\n\n1. Split commands (intent + validation) from queries (read-optimized DTOs\u002Fviews).\n2. Design separate models: a write model for business rules, read models for consumers.\n3. Choose a synchronization strategy: same database with separate schemas, materialized views, or event-driven projections.\n4. Decide consistency boundaries: eventual consistency is acceptable for most reads; strong consistency only where required.\n\n## Common Mistakes\n\n- Leaking the write model into read APIs or vice versa.\n- Using CQRS for a simple domain to justify unnecessary architecture.\n- Treating event sourcing as mandatory instead of optional.\n","# CQRS\n\n## Overview\n\nCQRS separates read and write models so each side can evolve, scale, and be optimized independently. Commands mutate state; queries return shaped views.\n\n## When to Use\n\n- Use when read and write workloads differ in volume, shape, or scale.\n- Use when multiple query models need different projections of the same data.\n- Use when event sourcing is being considered as a companion persistence strategy.\n- Do not use when a single consistent model and simple CRUD are sufficient.\n\n## Core Pattern\n\n1. Split commands (intent + validation) from queries (read-optimized DTOs\u002Fviews).\n2. Design separate models: a write model for business rules, read models for consumers.\n3. Choose a synchronization strategy: same database with separate schemas, materialized views, or event-driven projections.\n4. Decide consistency boundaries: eventual consistency is acceptable for most reads; strong consistency only where required.\n\n## Common Mistakes\n\n- Leaking the write model into read APIs or vice versa.\n- Using CQRS for a simple domain to justify unnecessary architecture.\n- Treating event sourcing as mandatory instead of optional.\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],"separating read and write models in a distributed or high-scale system, or when event sourcing is under consideration.","skills\u002Fcqrs\u002FSKILL.md",[30],"event-sourcing",[32],"simple CRUD or single-model consistency is sufficient.","Cqrs first-party skill","first_party","main","61dfbcb84501e21a9904b55b207485abcb0b2ffa","skills\u002Fcqrs","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 cqrs",{"tool":48,"command":49},"bunx","bunx skills add HarleyBartles\u002Fagent-asset-marketplace --skill cqrs",{"tool":51,"command":52},"pnpm","pnpm dlx skills add HarleyBartles\u002Fagent-asset-marketplace --skill cqrs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcqrs\u002FSKILL.md",true,[56,62,68,72,76],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"agents\u002Fopenai.yaml","REFERENCE","参考文档",444,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcqrs\u002Fagents\u002Fopenai.yaml",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"assets\u002Fauthority\u002Fauthority.yaml","ASSET","资产文件",878,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcqrs\u002Fassets\u002Fauthority\u002Fauthority.yaml",{"path":69,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":70,"sourceHtmlUrl":71},"assets\u002Fauthority\u002FCITATIONS.md",1130,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcqrs\u002Fassets\u002Fauthority\u002FCITATIONS.md",{"path":73,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":74,"sourceHtmlUrl":75},"assets\u002Fauthority\u002Fsource-map.yaml",363,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcqrs\u002Fassets\u002Fauthority\u002Fsource-map.yaml",{"path":77,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Foperational-guidance.md",833,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fcqrs\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",[],[]]