Event-driven architecture patterns with event sourcing, CQRS, and message-driven communication. Use when designing distributed systems, microservices communication, or systems requiring eventual consistency and scalability.
Provides expert guidance for designing event-driven systems with event sourcing, CQRS, and message-driven patterns. Use when building distributed microservices, implementing sagas for distributed transactions, or requiring eventual consistency and scalability.
/plugin marketplace add NickCrew/claude-cortex/plugin install nickcrew-claude-ctx-2@NickCrew/claude-cortexThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/best-practices.mdreferences/choreography-orchestration.mdreferences/cqrs.mdreferences/event-fundamentals.mdreferences/event-sourcing.mdreferences/eventual-consistency.mdreferences/message-brokers.mdreferences/saga-pattern.mdExpert guidance for designing, implementing, and operating event-driven systems with proven patterns for event sourcing, CQRS, message brokers, saga coordination, and eventual consistency management.
Events represent immutable facts that have occurred in the system. Use past tense naming (OrderCreated, PaymentProcessed) and include all necessary context.
Systems achieve consistency over time rather than immediately. Trade strong consistency for higher availability and scalability.
Services communicate through events without direct dependencies, enabling independent evolution and deployment.
Operations don't block waiting for responses, improving system responsiveness and resilience.
Design around what happened (events) rather than what to do (commands).
| Topic | Load reference |
|---|---|
| Event structure, types, and characteristics | skills/event-driven-architecture/references/event-fundamentals.md |
| Event sourcing pattern and implementation | skills/event-driven-architecture/references/event-sourcing.md |
| CQRS pattern with read/write separation | skills/event-driven-architecture/references/cqrs.md |
| Message brokers (RabbitMQ, Kafka, SQS/SNS) | skills/event-driven-architecture/references/message-brokers.md |
| Saga pattern for distributed transactions | skills/event-driven-architecture/references/saga-pattern.md |
| Choreography vs orchestration patterns | skills/event-driven-architecture/references/choreography-orchestration.md |
| Eventual consistency and conflict resolution | skills/event-driven-architecture/references/eventual-consistency.md |
| Best practices, anti-patterns, testing | skills/event-driven-architecture/references/best-practices.md |
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.