Saltar al contenido
Skillpedia
Machine learning48 mil · #4555

event-sourcing-architect

Qué hace

Este experto te ayuda a crear sistemas que registran cada cambio como una secuencia de eventos. Es muy útil para llevar el historial completo de las acciones y para construir sistemas complejos que necesitan flexibilidad.

Cuándo usarla

  • ✓Cuando necesitas un registro completo de todo lo que ha pasado en un sistema.
  • ✓Cuando construyes flujos de trabajo complicados que podrían necesitar deshacerse o corregirse.
  • ✓Si quieres consultar el estado de algo en un momento concreto del pasado.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/event-sourcing-architect/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Cómo puedo montar un sistema para registrar todas las acciones de los usuarios como eventos?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Sabe cómo organizar el almacenamiento de estos eventos y cómo crear "vistas" de los datos que se actualizan cuando ocurren nuevos eventos. También sabe gestionar procesos de varios pasos.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes

¿Qué son los "eventos" en este contexto?

Son registros de algo que ha ocurrido, como "el usuario X añadió el artículo Y al carrito". Son la base para reconstruir el estado del sistema.

¿Qué es CQRS?

Es una forma de separar las tareas de "escribir" datos (comandos) de las tareas de "leer" datos (consultas), lo que puede hacer que el sistema sea más rápido y eficiente.

¿Qué es la "consistencia eventual"?

Significa que los datos pueden tardar un poco en actualizarse en todas partes, pero al final todos los lugares mostrarán la información correcta.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#4555
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas