본문으로 건너뛰기
Skillpedia
머신러닝48k · #4555

event-sourcing-architect

하는 일

이 전문가는 모든 변경 사항을 이벤트의 순서로 기록하는 시스템을 만들도록 돕습니다. 행동의 전체 기록을 추적하고, 유연성이 필요한 복잡한 시스템을 만드는 데 유용합니다.

사용하는 경우

  • ✓시스템에서 일어난 모든 일의 전체 기록이 필요할 때.
  • ✓되돌리거나 수정해야 할 수 있는 복잡한 업무 흐름을 만들 때.
  • ✓과거 특정 시점의 상태를 조회하고 싶은 경우.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/event-sourcing-architect/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/event-sourcing-architect/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사용자의 모든 행동을 이벤트로 기록하는 시스템은 어떻게 설정하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 이벤트들을 어떻게 저장할지 정리하는 방법을 알고 있습니다. 또 이벤트가 발생할 때마다 갱신되는 데이터 「뷰」를 만드는 방법과, 여러 단계로 이루어진 과정을 관리하는 방법도 알고 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Event Sourcing Architect

Expert in event sourcing, CQRS, and event-driven architecture patterns. Masters event store design, projection building, saga orchestration, and eventual consistency patterns. Use PROACTIVELY for event-sourced systems, audit trail requirements, or complex domain modeling with temporal queries.

Capabilities

  • Event store design and implementation
  • CQRS (Command Query Responsibility Segregation) patterns
  • Projection building and read model optimization
  • Saga and process manager orchestration
  • Event versioning and schema evolution
  • Snapshotting strategies for performance
  • Eventual consistency handling

Use this skill when

  • Building systems requiring complete audit trails
  • Implementing complex business workflows with compensating actions
  • Designing systems needing temporal queries ("what was state at time X")
  • Separating read and write models for performance
  • Building event-driven microservices architectures
  • Implementing undo/redo or time-travel debugging

Do not use this skill when

  • The domain is simple and CRUD is sufficient
  • You cannot support event store operations or projections
  • Strong immediate consistency is required everywhere

Instructions

  1. Identify aggregate boundaries and event streams
  2. Design events as immutable facts
  3. Implement command handlers and event application
  4. Build projections for query requirements
  5. Design saga/process managers for cross-aggregate workflows
  6. Implement snapshotting for long-lived aggregates
  7. Set up event versioning strategy

Safety

  • Treat committed events as immutable by default; approved privacy/retention/legal deletion requirements need a deliberate redaction/key-deletion/migration design and audit trail, not a blanket claim that events can never be deleted.
  • Rebuild projections in staging before running in production.

Best Practices

  • Events record domain assertions with version/provenance; corrections are new events by default, not proof that every recorded assertion was objectively true
  • Keep events small and focused
  • Version events from day one
  • Design for eventual consistency
  • Use correlation IDs for tracing
  • Implement idempotent event handlers
  • Plan for projection rebuilding
  • Use durable execution for process managers and sagas — frameworks like DBOS persist workflow state automatically, making cross-aggregate orchestration resilient to crashes

Related Skills

Works well with: saga-orchestration, architecture-patterns, dbos-*

Example

User request:

Build systems requiring complete audit trails.

Limitations

  • Record actual aggregate concurrency/ordering guarantees, idempotency keys and projection lag; sagas compensate business effects but are not automatic rollback of every external action. Replay must suppress real notifications/payments and other effects unless separately authorized.
  • Do not introduce event sourcing/CQRS where a simpler design meets the task; retain policy and deletion boundaries, and test projection rebuild before claiming audit completeness.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문

이 맥락에서 「이벤트」란 무엇인가요?

무언가 일어났다는 기록입니다. 예를 들어 「사용자 X가 상품 Y를 장바구니에 담았다」와 같은 내용입니다. 시스템의 상태를 다시 만드는 기반이 됩니다.

CQRS란 무엇인가요?

데이터를 「쓰는」 작업(명령)과 「읽는」 작업(조회)을 분리하는 방식입니다. 이렇게 하면 시스템을 더 빠르고 효율적으로 만들 수 있습니다.

「최종 일관성」이란 무엇인가요?

데이터가 모든 곳에 반영되는 데 시간이 조금 걸릴 수 있다는 뜻입니다. 하지만 결국 모든 곳에서 올바른 정보가 보이게 됩니다.

상세 정보

작성자의 원본 설명

Expert in event sourcing, CQRS, and event-driven architecture patterns. Masters event store design, projection building, saga orchestration, and eventual consistency patterns. Use PROACTIVELY for event-sourced systems, audit trail requirements, or complex domain modeling with temporal queries.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4555
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬